Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: iio: adc: Add AXP803 compatible

The AXP803 compatible was introduced recently with a fallback to the
AXP813, but it was never documented.

Cc: Jonathan Cameron <jic23@kernel.org>
Cc: Lars-Peter Clausen <lars@metafoo.de>
Cc: Peter Meerwald-Stadler <pmeerw@pmeerw.net>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Acked-by: Chen-Yu Tsai <wens@csie.org>
Acked-by: Jernej Skrabec <jernej.skrabec@siol.net>
Acked-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Link: https://lore.kernel.org/r/20210114113538.1233933-2-maxime@cerno.tech

+8 -4
+8 -4
Documentation/devicetree/bindings/iio/adc/x-powers,axp209-adc.yaml
··· 46 46 47 47 properties: 48 48 compatible: 49 - enum: 50 - - x-powers,axp209-adc 51 - - x-powers,axp221-adc 52 - - x-powers,axp813-adc 49 + oneOf: 50 + - const: x-powers,axp209-adc 51 + - const: x-powers,axp221-adc 52 + - const: x-powers,axp813-adc 53 + 54 + - items: 55 + - const: x-powers,axp803-adc 56 + - const: x-powers,axp813-adc 53 57 54 58 "#io-channel-cells": 55 59 const: 1