summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/iio
diff options
context:
space:
mode:
authorMatt Ranostay <mranostay@gmail.com>2016-08-19 20:17:03 -0700
committerJonathan Cameron <jic23@kernel.org>2016-08-21 11:50:59 +0100
commit4d671b71beefbfc145b971a11e0c3cabde94b673 (patch)
treec29998e416ae46fc8afd3373e8b895b68441daeb /Documentation/devicetree/bindings/iio
parentadca058b56108eb3458165c6a9e5d78558be8b52 (diff)
downloadblackbird-op-linux-4d671b71beefbfc145b971a11e0c3cabde94b673.tar.gz
blackbird-op-linux-4d671b71beefbfc145b971a11e0c3cabde94b673.zip
iio: adc: ti-adc161s626: add support for TI 1-channel differential ADCs
Add support for Texas Instruments ADC141S626, and ADC161S626 chips. Signed-off-by: Matt Ranostay <mranostay@gmail.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/iio')
-rw-r--r--Documentation/devicetree/bindings/iio/adc/ti-adc161s626.txt16
1 files changed, 16 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/iio/adc/ti-adc161s626.txt b/Documentation/devicetree/bindings/iio/adc/ti-adc161s626.txt
new file mode 100644
index 000000000000..9ed2315781e4
--- /dev/null
+++ b/Documentation/devicetree/bindings/iio/adc/ti-adc161s626.txt
@@ -0,0 +1,16 @@
+* Texas Instruments ADC141S626 and ADC161S626 chips
+
+Required properties:
+ - compatible: Should be "ti,adc141s626" or "ti,adc161s626"
+ - reg: spi chip select number for the device
+
+Recommended properties:
+ - spi-max-frequency: Definition as per
+ Documentation/devicetree/bindings/spi/spi-bus.txt
+
+Example:
+adc@0 {
+ compatible = "ti,adc161s626";
+ reg = <0>;
+ spi-max-frequency = <4300000>;
+};
OpenPOWER on IntegriCloud