]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
ARM: dts: imx6q-icore-ofcap12: Switch LVDS timings from panel-simple
authorJagan Teki <jagan@amarulasolutions.com>
Mon, 26 Mar 2018 08:05:53 +0000 (13:35 +0530)
committerShawn Guo <shawnguo@kernel.org>
Wed, 18 Apr 2018 02:51:34 +0000 (10:51 +0800)
Switch to use koe_tx31d200vm0baa LVDS timings from
panel-simple instead hard coding the same in dts.

Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx6q-icore-ofcap12.dts
arch/arm/boot/dts/imx6qdl-icore.dtsi

index 9e230f56c5fb74ff601df8c6e4c42116ba215e09..6e27c8143f82157e8e0d98becd3805d857cca9bd 100644 (file)
 / {
        model = "Engicam i.CoreM6 Quad/Dual OpenFrame Capacitive touch 12 Kit";
        compatible = "engicam,imx6-icore", "fsl,imx6q";
+
+       panel {
+               compatible = "koe,tx31d200vm0baa";
+               backlight = <&backlight_lvds>;
+
+               port {
+                       panel_in: endpoint {
+                               remote-endpoint = <&lvds0_out>;
+                       };
+               };
+       };
 };
 
 &ldb {
        status = "okay";
 
        lvds-channel@0 {
-               fsl,data-mapping = "spwg";
-               fsl,data-width = <18>;
+               reg = <0>;
                status = "okay";
 
-               display-timings {
-                       native-mode = <&timing0>;
-                       timing0: timing0 {
-                               clock-frequency = <46800000>;
-                               hactive = <1280>;
-                               vactive = <480>;
-                               hback-porch = <353>;
-                               hfront-porch = <47>;
-                               vback-porch = <39>;
-                               vfront-porch = <4>;
-                               hsync-len = <8>;
-                               vsync-len = <2>;
+               port@4 {
+                       reg = <4>;
+
+                       lvds0_out: endpoint {
+                               remote-endpoint = <&panel_in>;
                        };
                };
        };
index b3a463a5908b590b356f3d95f59c77211bd8bb63..1bce85c3376b8529741d50d87899d8e13a15894c 100644 (file)
@@ -49,7 +49,7 @@
                reg = <0x10000000 0x80000000>;
        };
 
-       backlight {
+       backlight_lvds: backlight-lvds {
                compatible = "pwm-backlight";
                pwms = <&pwm3 0 100000>;
                brightness-levels = <0 4 8 16 32 64 128 255>;