diff options
author | Maxime Ripard | 2021-01-14 12:35:21 +0100 |
---|---|---|
committer | Maxime Ripard | 2021-01-18 10:13:15 +0100 |
commit | dcd80eaf74ef781ee6e2585622d7b4956c47bb9a (patch) | |
tree | 316294c6c0a8f221b293f39e1d6c06473ab8bedc /Documentation/devicetree/bindings/iio | |
parent | e0ab5bf98208294f7fb39d8ce3746eaf39d38dfe (diff) |
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
Diffstat (limited to 'Documentation/devicetree/bindings/iio')
-rw-r--r-- | Documentation/devicetree/bindings/iio/adc/x-powers,axp209-adc.yaml | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/Documentation/devicetree/bindings/iio/adc/x-powers,axp209-adc.yaml b/Documentation/devicetree/bindings/iio/adc/x-powers,axp209-adc.yaml index 5ccbb1f81960..e759a5da708d 100644 --- a/Documentation/devicetree/bindings/iio/adc/x-powers,axp209-adc.yaml +++ b/Documentation/devicetree/bindings/iio/adc/x-powers,axp209-adc.yaml @@ -46,10 +46,14 @@ description: | properties: compatible: - enum: - - x-powers,axp209-adc - - x-powers,axp221-adc - - x-powers,axp813-adc + oneOf: + - const: x-powers,axp209-adc + - const: x-powers,axp221-adc + - const: x-powers,axp813-adc + + - items: + - const: x-powers,axp803-adc + - const: x-powers,axp813-adc "#io-channel-cells": const: 1 |