All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] media: soc_camera: pxa_camera documentation device-tree support
@ 2014-06-15 20:17 ` Robert Jarzmik
  0 siblings, 0 replies; 6+ messages in thread
From: Robert Jarzmik @ 2014-06-15 20:17 UTC (permalink / raw)
  To: g.liakhovetski-Mmb7MZpHnFY, devicetree-u79uwXL29TY76Z2rM5mHXA
  Cc: linux-media-u79uwXL29TY76Z2rM5mHXA, Robert Jarzmik

Add documentation for pxa_camera host interface.

Signed-off-by: Robert Jarzmik <robert.jarzmik-GANU6spQydw@public.gmane.org>
---
 .../devicetree/bindings/media/pxa-camera.txt       | 40 ++++++++++++++++++++++
 1 file changed, 40 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/media/pxa-camera.txt

diff --git a/Documentation/devicetree/bindings/media/pxa-camera.txt b/Documentation/devicetree/bindings/media/pxa-camera.txt
new file mode 100644
index 0000000..568b63b
--- /dev/null
+++ b/Documentation/devicetree/bindings/media/pxa-camera.txt
@@ -0,0 +1,40 @@
+Marvell PXA camera host interface
+
+Required properties:
+ - compatible: Should be "mrvl,pxa_camera"
+ - reg: register base and size
+ - interrupts: the interrupt number
+ - any required generic properties defined in video-interfaces.txt
+
+Optional properties:
+ - mclk_10khz: host interface is driving MCLK, and MCLK rate is mclk_10khz *
+   10000 Hz.
+
+Example:
+
+	pxa_camera: pxa_camera@50000000 {
+		compatible = "mrvl,pxa_camera";
+		reg = <0x50000000 0x1000>;
+		interrupts = <33>;
+
+		clocks = <&pxa2xx_clks 24>;
+		clock-names = "camera";
+		status = "okay";
+
+		mclk_10khz = <5000>;
+
+		port {
+			#address-cells = <1>;
+			#size-cells = <0>;
+
+			/* Parallel bus endpoint */
+			qci: endpoint@0 {
+				reg = <0>;		/* Local endpoint # */
+				remote-endpoint = <&mt9m111_1>;
+				bus-width = <8>;	/* Used data lines */
+				hsync-active = <0>;	/* Active low */
+				vsync-active = <0>;	/* Active low */
+				pclk-sample = <1>;	/* Rising */
+			};
+		};
+	};
-- 
2.0.0.rc2

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-06-19 19:12 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-06-15 20:17 [PATCH 1/2] media: soc_camera: pxa_camera documentation device-tree support Robert Jarzmik
2014-06-15 20:17 ` Robert Jarzmik
2014-06-15 20:17 ` [PATCH 2/2] media: soc_camera: pxa_camera " Robert Jarzmik
2014-06-19  8:16   ` Guennadi Liakhovetski
2014-06-19 19:12     ` Robert Jarzmik
2014-06-19  7:39 ` [PATCH 1/2] media: soc_camera: pxa_camera documentation " Guennadi Liakhovetski

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.