Browse Source

dt-bindings: media: Document OmniVision OV1063x driver

Device Tree bindings for the OmniVision OV1063x sensor driver.

Signed-off-by: Benoit Parrot <bparrot@ti.com>
Benoit Parrot 7 years ago
parent
commit
e0d3c89a55
2 changed files with 57 additions and 0 deletions
  1. 50 0
      Documentation/devicetree/bindings/media/i2c/ov1063x.txt
  2. 7 0
      MAINTAINERS

+ 50 - 0
Documentation/devicetree/bindings/media/i2c/ov1063x.txt

@@ -0,0 +1,50 @@
+* OmniVision 8/10 bit digital camera
+
+The Omnivision digital camera is a 720p camera which is configurable at 8/10bit
+YUYV output and can be configured for various resolutions.
+
+Required Properties:
+- compatible : Must be one of the following
+  - "ovti,ov10633": For OV10633 camera
+  - "ovti,ov10635": For OV10635 camera
+- clocks: reference to the xvclk input clock.
+- clock-names: should be "xvclk".
+
+Optional Properties:
+- reset-gpios: reference to the GPIO connected to the reset pin, if any.
+- powerdown-gpios: reference to the GPIO connected to the pwdn pin, if any.
+- mux-gpios : A list of gpios with active high/low flags for enabling the
+              sensor. This may contain gpios for power, board muxes, etc.
+              Driver would set all of them as specified by the active
+              high/low flag
+
+  There are no custom optional properties supported for this device.
+  Although all the endpoint properties documented in
+  Documentation/devicetree/bindings/media/video-interfaces.txt are supported.
+
+Example:
+
+	&i2c2 {
+		...
+		...
+		ovcamera@30 {
+			compatible = "ovti,ov10635";
+			reg = <0x30>;
+
+			clocks = <&clk_ov10635>;
+			clock-names = "xvclk";
+
+			mux-gpios = <&pcf_hdmi 3 GPIO_ACTIVE_LOW>;
+			reset-gpios = <&gpio4 17 GPIO_ACTIVE_HIGH>;
+			powerdown-gpios = <&gpio5 11 GPIO_ACTIVE_HIGH>;
+
+			port {
+				onboard_cam: endpoint {
+					hsync-active = <1>;
+					vsync-active = <1>;
+					pclk-sample = <1>;
+				};
+			};
+		};
+		...
+	};

+ 7 - 0
MAINTAINERS

@@ -10690,6 +10690,13 @@ M:	Harald Welte <laforge@gnumonks.org>
 S:	Maintained
 F:	drivers/char/pcmcia/cm4040_cs.*
 
+OMNIVISION OV1063x SENSOR DRIVER
+M:	Benoit Parrot <bparrot@ti.com>
+L:	linux-media@vger.kernel.org
+T:	git git://linuxtv.org/media_tree.git
+S:	Maintained
+F:	Documentation/devicetree/bindings/media/i2c/ov1063x.txt
+
 OMNIVISION OV13858 SENSOR DRIVER
 M:	Sakari Ailus <sakari.ailus@linux.intel.com>
 L:	linux-media@vger.kernel.org