From: Mårten Lindahl Date: Tue, 9 May 2017 16:05:00 +0000 (+0200) Subject: dt-bindings: iio: adc: add driver for the ti-adc084s021 chip X-Git-Tag: v4.13-rc1~184^2~262^2~22 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=f98f3be84ec75e51d822bfe502cacaec3735f795;p=karo-tx-linux.git dt-bindings: iio: adc: add driver for the ti-adc084s021 chip This adds support for the Texas Instruments ADC084S021 ADC chip. Signed-off-by: Mårten Lindahl Acked-by: Rob Herring Signed-off-by: Jonathan Cameron --- diff --git a/Documentation/devicetree/bindings/iio/adc/ti-adc084s021.txt b/Documentation/devicetree/bindings/iio/adc/ti-adc084s021.txt new file mode 100644 index 000000000000..4259e50620bc --- /dev/null +++ b/Documentation/devicetree/bindings/iio/adc/ti-adc084s021.txt @@ -0,0 +1,19 @@ +* Texas Instruments' ADC084S021 + +Required properties: + - compatible : Must be "ti,adc084s021" + - reg : SPI chip select number for the device + - vref-supply : The regulator supply for ADC reference voltage + - spi-cpol : Per spi-bus bindings + - spi-cpha : Per spi-bus bindings + - spi-max-frequency : Per spi-bus bindings + +Example: +adc@0 { + compatible = "ti,adc084s021"; + reg = <0>; + vref-supply = <&adc_vref>; + spi-cpol; + spi-cpha; + spi-max-frequency = <16000000>; +};