From: Pavel Machek <pavel@ucw.cz>
Date: Tue, 7 Jun 2016 07:10:04 +0000 (-0300)
Subject: [media] dt/bindings: device tree description for AD5820 camera auto-focus coil
X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=9887c8642d40f517cbf78e324b252305f1ba4b05;p=linux.git

[media] dt/bindings: device tree description for AD5820 camera auto-focus coil

Add documentation for ad5820 device tree binding.

Signed-off-by: Pavel Machek <pavel@denx.de>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
---

diff --git a/Documentation/devicetree/bindings/media/i2c/ad5820.txt b/Documentation/devicetree/bindings/media/i2c/ad5820.txt
new file mode 100644
index 0000000000000..5940ca11c021e
--- /dev/null
+++ b/Documentation/devicetree/bindings/media/i2c/ad5820.txt
@@ -0,0 +1,19 @@
+* Analog Devices AD5820 autofocus coil
+
+Required Properties:
+
+  - compatible: Must contain "adi,ad5820"
+
+  - reg: I2C slave address
+
+  - VANA-supply: supply of voltage for VANA pin
+
+Example:
+
+       ad5820: coil@c {
+               compatible = "adi,ad5820";
+               reg = <0x0c>;
+
+               VANA-supply = <&vaux4>;
+       };
+