]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
dt-bindings: iio: adc: add driver for the ti-adc084s021 chip
authorMårten Lindahl <martenli@axis.com>
Tue, 9 May 2017 16:05:00 +0000 (18:05 +0200)
committerJonathan Cameron <jic23@kernel.org>
Sun, 14 May 2017 15:34:09 +0000 (16:34 +0100)
This adds support for the Texas Instruments ADC084S021 ADC chip.

Signed-off-by: Mårten Lindahl <martenli@axis.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Documentation/devicetree/bindings/iio/adc/ti-adc084s021.txt [new file with mode: 0644]

diff --git a/Documentation/devicetree/bindings/iio/adc/ti-adc084s021.txt b/Documentation/devicetree/bindings/iio/adc/ti-adc084s021.txt
new file mode 100644 (file)
index 0000000..4259e50
--- /dev/null
@@ -0,0 +1,19 @@
+* Texas Instruments' ADC084S021
+
+Required properties:
+ - compatible        : Must be "ti,adc084s021"
+ - reg               : SPI chip select number for the device
+ - vref-supply       : The regulator supply for ADC reference voltage
+ - spi-cpol          : Per spi-bus bindings
+ - spi-cpha          : Per spi-bus bindings
+ - spi-max-frequency : Per spi-bus bindings
+
+Example:
+adc@0 {
+       compatible = "ti,adc084s021";
+       reg = <0>;
+       vref-supply = <&adc_vref>;
+       spi-cpol;
+       spi-cpha;
+       spi-max-frequency = <16000000>;
+};