Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a1513641 authored by Sean Nyekjaer's avatar Sean Nyekjaer Committed by Jonathan Cameron
Browse files

iio: ti-ads8688: Add DT binding documentation



Adding binding documentation for Texas Instruments ADS8688 ADC.

Signed-off-by: default avatarSean Nyekjaer <sean.nyekjaer@prevas.dk>
Reviewed-by: default avatarMartin Hundebøll <martin.hundeboll@prevas.dk>
Acked-by: default avatarRob Herring <robh@kernel.org>
Signed-off-by: default avatarJonathan Cameron <jic23@kernel.org>
parent 3e87e783
Loading
Loading
Loading
Loading
+20 −0
Original line number Diff line number Diff line
* Texas Instruments' ADS8684 and ADS8688 ADC chip

Required properties:
 - compatible: Should be "ti,ads8684" or "ti,ads8688"
 - reg: spi chip select number for the device

Recommended properties:
 - spi-max-frequency: Definition as per
		Documentation/devicetree/bindings/spi/spi-bus.txt

Optional properties:
 - vref-supply: The regulator supply for ADC reference voltage

Example:
adc@0 {
	compatible = "ti,ads8688";
	reg = <0>;
	vref-supply = <&vdd_supply>;
	spi-max-frequency = <1000000>;
};