Skip to content

Commit

Permalink
iio: ti-ads124s08: Add DT binding documentation
Browse files Browse the repository at this point in the history
Adding binding documentation for Texas Instruments ADS124S08
and ADS124S06 ADC.

S08 is a 12 channel ADC
S06 is a 6 channel ADC

Datesheet can be found here:
http://www.ti.com/lit/gpn/ads124s08

Signed-off-by: Dan Murphy <dmurphy@ti.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
  • Loading branch information
Dan Murphy authored and Jonathan Cameron committed Jan 12, 2019
1 parent 78accae commit 49ad817
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions Documentation/devicetree/bindings/iio/adc/ti-ads124s08.txt
Original file line number Diff line number Diff line change
@@ -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>;
};

0 comments on commit 49ad817

Please sign in to comment.