From: Angelo Compagnucci Date: Sun, 8 Mar 2015 13:36:58 +0000 (+0100) Subject: iio: ti-adc128s052: Add DT binding documentation X-Git-Tag: v5.15~16002^2~138^2~102^2~19 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d24fc643b5cfb4fdb0d1bd569e1a2e128c0bf311;p=platform%2Fkernel%2Flinux-starfive.git iio: ti-adc128s052: Add DT binding documentation Adding binding documentation for Texas Instruments' ADC128S052 ADC chip. Signed-off-by: Angelo Compagnucci Signed-off-by: Jonathan Cameron --- diff --git a/Documentation/devicetree/bindings/iio/adc/ti-adc128s052.txt b/Documentation/devicetree/bindings/iio/adc/ti-adc128s052.txt new file mode 100644 index 0000000..42ca7de --- /dev/null +++ b/Documentation/devicetree/bindings/iio/adc/ti-adc128s052.txt @@ -0,0 +1,18 @@ +* Texas Instruments' ADC128S052 ADC chip + +Required properties: + - compatible: Should be "ti,adc128s052" + - reg: spi chip select number for the device + - vref-supply: The regulator supply for ADC reference voltage + +Recommended properties: + - spi-max-frequency: Definition as per + Documentation/devicetree/bindings/spi/spi-bus.txt + +Example: +adc@0 { + compatible = "ti,adc128s052"; + reg = <0>; + vref-supply = <&vdd_supply>; + spi-max-frequency = <1000000>; +};