Dual Channel 1920x1080 LVDS Support on i.MX6

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Dual Channel 1920x1080 LVDS Support on i.MX6

5,336件の閲覧回数
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>;
}; }; }; 

};

ラベル(3)
0 件の賞賛
返信
1 返信

4,320件の閲覧回数
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 件の賞賛
返信