diff options
author | Charles-Antoine Couret <charles-antoine.couret@essensium.com> | 2018-10-23 00:02:43 +0300 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2018-11-03 12:44:34 +0300 |
commit | 80fc9c457e99a6f568a56743dcd8ad8851723f5f (patch) | |
tree | 459a79339e7055ab3239c61e4459fc3563b5150e /Documentation/devicetree/bindings/iio/adc | |
parent | 7f40e0614317f20ac07b5aa5cec2eb43737e28d6 (diff) | |
download | linux-80fc9c457e99a6f568a56743dcd8ad8851723f5f.tar.xz |
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/devicetree/bindings/iio/adc')
-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>; +}; |