]> git.karo-electronics.de Git - linux-beck.git/commitdiff
[media] media: mt9m111: add device-tree documentation
authorRobert Jarzmik <robert.jarzmik@free.fr>
Sat, 21 Jun 2014 22:19:55 +0000 (19:19 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Wed, 30 Jul 2014 22:25:02 +0000 (19:25 -0300)
Add device-tree bindings documentation for the Micron mt9m111 image
sensor.

Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Documentation/devicetree/bindings/media/i2c/mt9m111.txt [new file with mode: 0644]

diff --git a/Documentation/devicetree/bindings/media/i2c/mt9m111.txt b/Documentation/devicetree/bindings/media/i2c/mt9m111.txt
new file mode 100644 (file)
index 0000000..ed5a334
--- /dev/null
@@ -0,0 +1,28 @@
+Micron 1.3Mp CMOS Digital Image Sensor
+
+The Micron MT9M111 is a CMOS active pixel digital image sensor with an active
+array size of 1280H x 1024V. It is programmable through a simple two-wire serial
+interface.
+
+Required Properties:
+- compatible: value should be "micron,mt9m111"
+
+For further reading on port node refer to
+Documentation/devicetree/bindings/media/video-interfaces.txt.
+
+Example:
+
+       i2c_master {
+               mt9m111@5d {
+                       compatible = "micron,mt9m111";
+                       reg = <0x5d>;
+
+                       remote = <&pxa_camera>;
+                       port {
+                               mt9m111_1: endpoint {
+                                       bus-width = <8>;
+                                       remote-endpoint = <&pxa_camera>;
+                               };
+                       };
+               };
+       };