]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commitdiff
display in dts
authorJiří Matěják <jiri.matejak@fel.cvut.cz>
Thu, 3 May 2018 18:46:51 +0000 (20:46 +0200)
committerJiří Matěják <jiri.matejak@fel.cvut.cz>
Wed, 9 May 2018 17:03:29 +0000 (19:03 +0200)
board/advantech/imx6q-rsb4411-a1/merica-terminal.dts

index de03817c9cc5a9b879230916c67f77a33853e186..7ac98486d337944c4c4ceaf52fbdc6caa19a9ce6 100755 (executable)
 
 &ldb {
        status = "okay";
+       split-mode; /* dual-channel setting */
+
+       lvds-channel@0 {
+               fsl,data-mapping = "spwg";
+               fsl,data-width = <24>;
+               crtc = "ipu2-di0";
+               primary;
+               status = "okay";
+
+               display-timings {
+                       native-mode = <&timingauo>;
+
+            timingauo: b101uan021 {
+                               clock-frequency = <170000000>;
+                               hactive = <1920>;
+                               vactive = <1200>;
+                               hback-porch = <0>;
+                               hfront-porch = <0>;
+                               vback-porch = <0>;
+                               vfront-porch = <0>;
+                               hsync-len = <138>;
+                               vsync-len = <12>;
+            };
+
+               };
+       };
+
+       lvds-channel@1 {
+               fsl,data-mapping = "spwg";
+               fsl,data-width = <24>;
+               crtc = "ipu1-di1";
+               /* crtc = "ipu1-di0"; */ /* dual-channel setting */
+               status = "okay";
+/*
+               display-timings {
+                       native-mode = <&timing01>;
+                       timing01: g070vw01v0 {
+                               clock-frequency = <29500000>;
+                               hactive = <800>;
+                               vactive = <480>;
+                               hback-porch = <96>;
+                               hfront-porch = <24>;
+                               vback-porch = <3>;
+                               vfront-porch = <10>;
+                               hsync-len = <72>;
+                               vsync-len = <7>;
+                       };
+
+                       //SI Test panel
+                       timing11: g150xgel04 {
+                               clock-frequency = <63500000>;
+                               hactive = <1024>;
+                               vactive = <768>;
+                               hback-porch = <152>;
+                               hfront-porch = <48>;
+                               vback-porch = <3>;
+                               vfront-porch = <23>;
+                               hsync-len = <104>;
+                               vsync-len = <4>;
+                       };
+
+                       timing21:g150xgel05 {
+                               clock-frequency = <65000000>;
+                               hactive = <1024>;
+                               vactive = <768>;
+                               hback-porch = <220>;
+                               hfront-porch = <40>;
+                               vback-porch = <21>;
+                               vfront-porch = <7>;
+                               hsync-len = <60>;
+                               vsync-len = <10>;
+                       };
+               };
+*/
+       };
 };
 
 &mxcfb1 {