Skip to content

Commit

Permalink
[media] dt/bindings: device tree description for AD5820 camera auto-f…
Browse files Browse the repository at this point in the history
…ocus 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>
  • Loading branch information
Pavel Machek authored and Mauro Carvalho Chehab committed Aug 24, 2016
1 parent d0d4451 commit 9887c86
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions Documentation/devicetree/bindings/media/i2c/ad5820.txt
Original file line number Diff line number Diff line change
@@ -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>;
};

0 comments on commit 9887c86

Please sign in to comment.