Dual Channel 1920x1080 LVDS Support on i.MX6

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Dual Channel 1920x1080 LVDS Support on i.MX6

3,381 Views
cwatkin
Contributor I

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>;
}; }; }; 

};

Labels (3)
0 Kudos
1 Reply

2,365 Views
igorpadykov
NXP Employee
NXP Employee

Hi Chris

dts example with "split-mode" can be found on

linux-imx6/imx6qdl-eo.dtsi at boundary-imx_4.9.x_2.0.0_ga · boundarydevices/linux-imx6 · GitHub 

960 x 1080 resolution right now seems due to record "hactive = <960>".

For understanding how it works may be useful to check

https://community.nxp.com/thread/320994 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos