[PATCHv2] device tree description for AD5820 camera auto-focus coil
Commit Message
Add documentation for ad5820 device tree binding.
Signed-off-by: Pavel Machek <pavel@denx.de>
Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Acked-by: Rob Herring <robh@kernel.org>
---
v2: Fixed nit in example, added acks.
Comments
On Tue, Jun 07, 2016 at 09:10:04AM +0200, Pavel Machek wrote:
>
> Add documentation for ad5820 device tree binding.
>
> Signed-off-by: Pavel Machek <pavel@denx.de>
> Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com>
> Acked-by: Rob Herring <robh@kernel.org>
Thanks!
I've replaced the patch in my tree, will send a pull req later.
new file mode 100644
@@ -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>;
+ };
+