From: Adam Thomson Date: Wed, 18 Feb 2015 14:08:30 +0000 (+0000) Subject: iio: da9150: Add DT binding documentation for GPADC X-Git-Tag: firefly_0821_release~176^2~2007^2~59^2 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=adcf30bf832bb87d9b44d067b50ac7ed13c99528;p=firefly-linux-kernel-4.4.55.git iio: da9150: Add DT binding documentation for GPADC Signed-off-by: Adam Thomson Acked-by: Jonathan Cameron Signed-off-by: Sebastian Reichel --- diff --git a/Documentation/devicetree/bindings/iio/adc/da9150-gpadc.txt b/Documentation/devicetree/bindings/iio/adc/da9150-gpadc.txt new file mode 100644 index 000000000000..c07228da92ac --- /dev/null +++ b/Documentation/devicetree/bindings/iio/adc/da9150-gpadc.txt @@ -0,0 +1,16 @@ +Dialog Semiconductor DA9150 IIO GPADC bindings + +Required properties: +- compatible: "dlg,da9150-gpadc" for DA9150 IIO GPADC +- #io-channel-cells: Should be set to <1> + (See Documentation/devicetree/bindings/iio/iio-bindings.txt for further info) + +For further information on GPADC channels, see device datasheet. + + +Example: + + gpadc: da9150-gpadc { + compatible = "dlg,da9150-gpadc"; + #io-channel-cells = <1>; + };