From b3a4218081e5fd1ed1117e33257abcf5252c3bcf Mon Sep 17 00:00:00 2001 From: David Lechner Date: Wed, 11 Oct 2023 17:07:43 -0500 Subject: [PATCH] dt-bindings: iio: adc: adi,pulsar: add ad7944, ad7985, ad7986 This adds compatible strings for the AD7944, AD7985, and AD7986 chips. Signed-off-by: David Lechner --- .../bindings/iio/adc/adi,pulsar.yaml | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/Documentation/devicetree/bindings/iio/adc/adi,pulsar.yaml b/Documentation/devicetree/bindings/iio/adc/adi,pulsar.yaml index f8161f6c303e35..7a2d54af5326eb 100644 --- a/Documentation/devicetree/bindings/iio/adc/adi,pulsar.yaml +++ b/Documentation/devicetree/bindings/iio/adc/adi,pulsar.yaml @@ -13,11 +13,14 @@ description: | Analog Devices PulSAR family Analog to Digital Converters with SPI support https://www.analog.com/en/products/ad7988-5.html https://www.analog.com/en/products/ad7988-1.html + https://www.analog.com/en/products/ad7986.html + https://www.analog.com/en/products/ad7985.html https://www.analog.com/en/products/ad7984.html https://www.analog.com/en/products/ad7983.html https://www.analog.com/en/products/ad7982.html https://www.analog.com/en/products/ad7980.html https://www.analog.com/en/products/ad7949.html + https://www.analog.com/en/products/ad7944.html https://www.analog.com/en/products/ad7946.html https://www.analog.com/en/products/ad7942.html https://www.analog.com/en/products/ad7699.html @@ -45,12 +48,15 @@ properties: enum: - adi,pulsar,ad7988-5 - adi,pulsar,ad7988-1 + - adi,pulsar,ad7986 + - adi,pulsar,ad7985 - adi,pulsar,ad7984 - adi,pulsar,ad7983 - adi,pulsar,ad7982 - adi,pulsar,ad7980 - adi,pulsar,ad7949 - adi,pulsar,ad7946 + - adi,pulsar,ad7944 - adi,pulsar,ad7942 - adi,pulsar,ad7699 - adi,pulsar,ad7693 @@ -104,6 +110,12 @@ properties: vref-supply: description: Voltage regulator for the reference voltage. + turbo-gpios: + maxItems: 1 + description: + GPIO used to enable the turbo mode. This mode is used to increase the + sampling rate of the ADC at the expense of power consumption. + patternProperties: "^channel@([0-8])$": type: object @@ -165,6 +177,18 @@ allOf: required: - adi,single-channel + - if: + properties: + compatible: + contains: + enum: + - adi,pulsar,ad7986 + - adi,pulsar,ad7985 + - adi,pulsar,ad7944 + then: + required: + - turbo-gpios + required: - compatible - reg