summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/iio
diff options
context:
space:
mode:
authorAdam Thomson <Adam.Thomson.Opensource@diasemi.com>2015-02-18 14:08:30 +0000
committerSebastian Reichel <sre@kernel.org>2015-02-25 21:05:26 +0100
commitadcf30bf832bb87d9b44d067b50ac7ed13c99528 (patch)
tree6fba41c1b95991e335c68588657c43c77a8ee691 /Documentation/devicetree/bindings/iio
parented5f07b3d3d4344f917658a7f62cf62ccb19cb07 (diff)
downloadtalos-obmc-linux-adcf30bf832bb87d9b44d067b50ac7ed13c99528.tar.gz
talos-obmc-linux-adcf30bf832bb87d9b44d067b50ac7ed13c99528.zip
iio: da9150: Add DT binding documentation for GPADC
Signed-off-by: Adam Thomson <Adam.Thomson.Opensource@diasemi.com> Acked-by: Jonathan Cameron <jic23@kernel.org> Signed-off-by: Sebastian Reichel <sre@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/iio')
-rw-r--r--Documentation/devicetree/bindings/iio/adc/da9150-gpadc.txt16
1 files changed, 16 insertions, 0 deletions
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>;
+ };
OpenPOWER on IntegriCloud