summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorOliver Brown <oliver.brown@freescale.com>2013-09-06 13:23:51 -0500
committerJason Liu <r64343@freescale.com>2013-10-30 09:55:36 +0800
commitf9e3909551d6de0ac22a64d2fe53c358a66a1465 (patch)
tree7c259a5c0f160c3f9969f1be01f17d541abf6171 /Documentation
parent28d583d007be8f67fc3fc037d14bddf003c9e6e1 (diff)
ENGR00278652-3 [ARM]: documentation for MIPI CSI2 driver
Added documentation for MIPI CSI2. Signed-off-by: Oliver Brown <oliver.brown@freescale.com>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/devicetree/bindings/video/fsl,mipi-csi2.txt42
1 files changed, 42 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/video/fsl,mipi-csi2.txt b/Documentation/devicetree/bindings/video/fsl,mipi-csi2.txt
new file mode 100644
index 000000000000..4b502809fc2d
--- /dev/null
+++ b/Documentation/devicetree/bindings/video/fsl,mipi-csi2.txt
@@ -0,0 +1,42 @@
+* Freescale MIPI CSI2 Controller for i.MX6DQ/i.MX6SDL
+
+Required properties for mipi csi2 controller:
+- compatible: should be "fsl,imx6q-mipi-csi2"
+- reg: <base addr, range> contains mipi csi2 register base address and range
+- interrupts: <type num flag> where type is a interrupt type, num is the
+ interrupt number and flag is a field that level/trigger information for
+ the interrupt.
+- clocks: the clock sources that mipi csi2 depends on.
+- clock-names: the name is related to the clock source one by one.
+- status: should be set to "disable".
+
+Required properties for mipi csi2 on specified board:
+- ipu_id: ipu id which mipi csi2 connected to.
+ should be 0 or 1 for i.MX6DQ; should be 0 for i.MX6SDL
+- csi_id: csi id which mipi csi2 connected to.
+ should be 0 or 1 for i.MX6DQ/i.MX6SDL
+- v_channel: virtual channel which send to MIPI CSI2 controller
+ should keep consistent with the input MIPI signal.
+- lanes: data lanes of input MIPI signal. The maximum data lanes is 4.
+ should keep consistent with the input MIPI signal.
+- status: should be set to "okay".
+
+Examples:
+for SOC imx6qdl.dtsi:
+ mipi_csi@021dc000 {
+ compatible = "fsl,imx6q-mipi-csi2";
+ reg = <0x021dc000 0x4000>;
+ interrupts = <0 100 0x04>, <0 101 0x04>;
+ clocks = <&clks 138>, <&clks 53>;
+ clock-names = "dphy_clk", "pixel_clk";
+ status = "disabled";
+ };
+
+for board imx6qdl-sabresd.dtsi:
+ mipi_csi@021dc000 {
+ status = "okay";
+ ipu_id = <0>;
+ csi_id = <1>;
+ v_channel = <0>;
+ lanes = <2>;
+ };