Documentation / devicetree / bindings / iio / adc / ti-ads124s08.txt


Based on kernel version 5.10.1. Page generated on 2020-12-14 21:14 EST.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 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>;
};