Re: [PATCHv2] device tree description for AD5820 camera auto-focus coil

2016-06-09 Thread Sakari Ailus
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 
> Acked-by: Sakari Ailus 
> Acked-by: Rob Herring 

Thanks!

I've replaced the patch in my tree, will send a pull req later.

-- 
Cheers,

Sakari Ailus
e-mail: sakari.ai...@iki.fi XMPP: sai...@retiisi.org.uk
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[PATCHv2] device tree description for AD5820 camera auto-focus coil

2016-06-07 Thread Pavel Machek

Add documentation for ad5820 device tree binding.

Signed-off-by: Pavel Machek 
Acked-by: Sakari Ailus 
Acked-by: Rob Herring 

---

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 000..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@c {
+   compatible = "adi,ad5820";
+   reg = <0x0c>;
+
+   VANA-supply = <>;
+   };
+


-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) 
http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html