summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree
diff options
context:
space:
mode:
authorPavel Machek <pavel@ucw.cz>2016-06-07 04:10:04 -0300
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2016-08-24 07:44:23 -0300
commit9887c8642d40f517cbf78e324b252305f1ba4b05 (patch)
tree5a2e611e301e1d7e60c06816ddfc7db8f7721bfa /Documentation/devicetree
parentd0d44516f8e989392d1fa545ae58ea6694743db9 (diff)
downloadlinux-9887c8642d40f517cbf78e324b252305f1ba4b05.tar.gz
linux-9887c8642d40f517cbf78e324b252305f1ba4b05.tar.bz2
linux-9887c8642d40f517cbf78e324b252305f1ba4b05.zip
[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>
Diffstat (limited to 'Documentation/devicetree')
-rw-r--r--Documentation/devicetree/bindings/media/i2c/ad5820.txt19
1 files changed, 19 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/media/i2c/ad5820.txt b/Documentation/devicetree/bindings/media/i2c/ad5820.txt
new file mode 100644
index 000000000000..5940ca11c021
--- /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>;
+ };
+