aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/iio/adc/ti-adc084s021.txt
diff options
context:
space:
mode:
authorMårten Lindahl <martenli@axis.com>2017-05-09 18:05:00 +0200
committerJonathan Cameron <jic23@kernel.org>2017-05-14 16:34:09 +0100
commitf98f3be84ec75e51d822bfe502cacaec3735f795 (patch)
treeb8e13a28f26ad8b7c566e66c74c04b750b3299cd /Documentation/devicetree/bindings/iio/adc/ti-adc084s021.txt
parentstaging: iio: meter: Fix the identations for proper alignments. (diff)
downloadlinux-dev-f98f3be84ec75e51d822bfe502cacaec3735f795.tar.xz
linux-dev-f98f3be84ec75e51d822bfe502cacaec3735f795.zip
dt-bindings: iio: adc: add driver for the ti-adc084s021 chip
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>
Diffstat (limited to 'Documentation/devicetree/bindings/iio/adc/ti-adc084s021.txt')
-rw-r--r--Documentation/devicetree/bindings/iio/adc/ti-adc084s021.txt19
1 files changed, 19 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/iio/adc/ti-adc084s021.txt b/Documentation/devicetree/bindings/iio/adc/ti-adc084s021.txt
new file mode 100644
index 000000000000..4259e50620bc
--- /dev/null
+++ b/Documentation/devicetree/bindings/iio/adc/ti-adc084s021.txt
@@ -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>;
+};