AnsweredAssumed Answered

Dual Channel 1920x1080 LVDS Support on i.MX6

Question asked by Chris Watkin on Nov 16, 2018
Latest reply on Nov 21, 2018 by igorpadykov

I am trying to add a 1920 x 1080 LVDS display, using both LVDS channels, on a i.MX6 SOM. I have been unable to find a guide or reference that explains how to use the parameters in the display data sheet in order to set up the timing parameters for dual channel LVDS. The display is at 960 x 1080 resolution right now.

 

Display model: AUO-P320HVN03 (Data sheet attached)

 

My device tree is set up as follows:

 

&mxcfb1 {
interface_pix_fmt = "RGB24";
compatible = "fsl,mxc_sdc_fb";
};

&ldb {
status = "okay";
split-mode;
lvds-channel@0 {
fsl,data-mapping = "spwg";
fsl,data-width = <24>;
primary;
status = "okay";
display-timings {
timing01: AUO-P320HVN03 {
clock-frequency = <74250000>;
hactive = <960>;
hsync-len = <140>;
hback-porch = <0>;
hfront-porch = <0>;
vactive = <1080>;
vsync-len = <45>;
vback-porch = <0>;
vfront-porch = <0>;
}; }; };
lvds-channel@1 {
fsl,data-mapping = "spwg";
fsl,data-width = <24>;
primary;
status = "okay";
display-timings {
timing02: AUO-P320HVN03 {
clock-frequency = <74250000>;
hactive = <960>;
hsync-len = <140>;
hback-porch = <0>;
hfront-porch = <0>;
vactive = <1080>;
vsync-len = <45>;
vback-porch = <0>;
vfront-porch = <0>;
}; }; }; 

};

Outcomes