[PATCHv2] device tree description for AD5820 camera auto-focus coil
Pavel Machek
pavel at ucw.cz
Tue Jun 7 00:10:04 PDT 2016
Add documentation for ad5820 device tree binding.
Signed-off-by: Pavel Machek <pavel at denx.de>
Acked-by: Sakari Ailus <sakari.ailus at linux.intel.com>
Acked-by: Rob Herring <robh at kernel.org>
---
v2: Fixed nit in example, added acks.
diff --git a/Documentation/devicetree/bindings/media/i2c/ad5820.txt b/Documentation/devicetree/bindings/media/i2c/ad5820.txt
new file mode 100644
index 0000000..fb70ca5
--- /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 at c {
+ compatible = "adi,ad5820";
+ reg = <0x0c>;
+
+ VANA-supply = <&vaux4>;
+ };
+
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
More information about the linux-arm-kernel
mailing list