]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ENGR00278652-2 [ARM]: dts add MIPI CSI support for sabresd and sabreauto
authorOliver Brown <oliver.brown@freescale.com>
Mon, 9 Sep 2013 18:58:14 +0000 (13:58 -0500)
committerJason Liu <r64343@freescale.com>
Wed, 30 Oct 2013 01:55:36 +0000 (09:55 +0800)
Added MIPI CIS2 Device Tree support for SabreSD and SabreAuto.

Signed-off-by: Oliver Brown <oliver.brown@freescale.com>
arch/arm/boot/dts/imx6qdl-sabreauto.dtsi
arch/arm/boot/dts/imx6qdl-sabresd.dtsi
arch/arm/boot/dts/imx6qdl.dtsi

index c166e70e4238ac91fe870d9bc0e989a03942d29d..9ab4743b887201e03e68e0e25a5acf928c2b6651 100644 (file)
        status = "okay";
 };
 
+&mipi {
+       status = "okay";
+       ipu_id = <0>;
+       csi_id = <1>;
+       v_channel = <0>;
+       lanes = <1>;
+};
+
 &pcie {
        status = "okay";
 };
index e7c20d645efeaf074d83110f97c81128890b0326..3be61d0d500c44b64e99dc203e6b001b5529a50d 100644 (file)
        status = "okay";
 };
 
+&mipi_csi {
+       status = "okay";
+       ipu_id = <0>;
+       csi_id = <1>;
+       v_channel = <0>;
+       lanes = <2>;
+};
+
 &mipi_dsi {
        dev_id = <0>;
        disp_id = <0>;
index abf9aec721110efa583798aea835e17aee3f1cfb..eec7d65da3aa85d3b22aebe70b00a50f8465a92a 100644 (file)
                                status = "disabled";
                        };
 
-                       mipi@021dc000 { /* MIPI-CSI */
+                       mipi_csi: mipi_csi@021dc000 {
+                               compatible = "fsl,imx6q-mipi-csi2";
                                reg = <0x021dc000 0x4000>;
+                               interrupts = <0 100 0x04>, <0 101 0x04>;
+                               clocks = <&clks 138>, <&clks 53>;
+                               /* Note: clks 138 is hsi_tx, however, the dphy_c
+                                * hsi_tx and pll_refclk use the same clk gate.
+                                * In current clk driver, open/close clk gate do
+                                * use hsi_tx for a temporary debug purpose.
+                                */
+                               clock-names = "dphy_clk", "pixel_clk";
+                               status = "disabled";
                        };
 
                        vdoa@021e4000 {