diff options
author | Charles-Antoine Couret <charles-antoine.couret@essensium.com> | 2018-10-22 23:02:43 +0200 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2018-11-03 10:44:34 +0100 |
commit | 80fc9c457e99a6f568a56743dcd8ad8851723f5f (patch) | |
tree | 459a79339e7055ab3239c61e4459fc3563b5150e /Documentation | |
parent | iio:adc:ad7949: Add AD7949 ADC driver family (diff) | |
download | linux-80fc9c457e99a6f568a56743dcd8ad8851723f5f.tar.xz linux-80fc9c457e99a6f568a56743dcd8ad8851723f5f.zip |
dt-bindings: iio: adc: Add AD7949 device tree bindings in documentation
Description how to invoke ad7949 driver from device tree file.
Signed-off-by: Charles-Antoine Couret <charles-antoine.couret@essensium.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/devicetree/bindings/iio/adc/ad7949.txt | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/iio/adc/ad7949.txt b/Documentation/devicetree/bindings/iio/adc/ad7949.txt new file mode 100644 index 000000000000..c7f5057356b1 --- /dev/null +++ b/Documentation/devicetree/bindings/iio/adc/ad7949.txt @@ -0,0 +1,16 @@ +* Analog Devices AD7949/AD7682/AD7689 + +Required properties: + - compatible: Should be one of + * "adi,ad7949" + * "adi,ad7682" + * "adi,ad7689" + - reg: spi chip select number for the device + - vref-supply: The regulator supply for ADC reference voltage + +Example: +adc@0 { + compatible = "adi,ad7949"; + reg = <0>; + vref-supply = <&vdd_supply>; +}; |