summaryrefslogtreecommitdiffstats
path: root/dts/Bindings/iio/adc/ti-ads124s08.txt
diff options
context:
space:
mode:
Diffstat (limited to 'dts/Bindings/iio/adc/ti-ads124s08.txt')
-rw-r--r--dts/Bindings/iio/adc/ti-ads124s08.txt25
1 files changed, 25 insertions, 0 deletions
diff --git a/dts/Bindings/iio/adc/ti-ads124s08.txt b/dts/Bindings/iio/adc/ti-ads124s08.txt
new file mode 100644
index 0000000000..ecf807bb32
--- /dev/null
+++ b/dts/Bindings/iio/adc/ti-ads124s08.txt
@@ -0,0 +1,25 @@
+* Texas Instruments' ads124s08 and ads124s06 ADC chip
+
+Required properties:
+ - compatible :
+ "ti,ads124s08"
+ "ti,ads124s06"
+ - reg : spi chip select number for the device
+
+Recommended properties:
+ - spi-max-frequency : Definition as per
+ Documentation/devicetree/bindings/spi/spi-bus.txt
+ - spi-cpha : Definition as per
+ Documentation/devicetree/bindings/spi/spi-bus.txt
+
+Optional properties:
+ - reset-gpios : GPIO pin used to reset the device.
+
+Example:
+adc@0 {
+ compatible = "ti,ads124s08";
+ reg = <0>;
+ spi-max-frequency = <1000000>;
+ spi-cpha;
+ reset-gpios = <&gpio1 16 GPIO_ACTIVE_LOW>;
+};