i.MX6Q LVDS split mode outputs LVDS1 only

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

i.MX6Q LVDS split mode outputs LVDS1 only

跳至解决方案
9,558 次查看
torus1000
Contributor V

Hi,

I have 1920x1080 LVDS panel and modified device tree source (dtsi) of i.mx6q yocto L.3.10.53.
Then I tried ldb split mode (ldb=spl0) as following.

  U-Boot> setenv displayinfo video=mxcfb1:dev=ldb,if=RGB24 ldb=spl0 fbmem=24M
  ...
  U-Boot> boot
  ...

  Kernel command line: console=ttymxc0,115200 root=/dev/mmcblk1p2 rootwait rw
  video=mxcfb1:dev=ldb,if=RGB24 ldb=spl0 fbmem=24M
  ...


LVDS1 looked OK but LVDS0 (neither clock nor data) output nothing.

Can anyone help me to output both LVDS ports in split mode(2 ports for 1 panel)?

Actual fbset was as following...

  > fbset
  mode "960x1080-52"
      # D: 74.250 MHz, H: 60.861 kHz, V: 52.018 Hz
      geometry 960 1080 960 1088 16
      timings 13468 60 60 23 22 140 45
      rgba 5/11,6/5,5/0,0/0
  endmode

Thanks.

标签 (4)
1 解答
3,974 次查看
torus1000
Contributor V

Dear Saurabh and Guanqiong,

Freescale local FAE kindly sent us a patch as following.
After applying this patch, it worked.
It seems additional "split-mode;" line required to resolve my issue.

Hava a nice day!

//patch//
--- a/arch/arm/boot/dts/imx6qdl-sabresd.dtsi
+++ b/arch/arm/boot/dts/imx6qdl-sabresd.dtsi
@@ -505,46 +505,47 @@

&ldb {
  status = "okay";
+ split-mode;

  lvds-channel@0 {
   fsl,data-mapping = "spwg";
...

在原帖中查看解决方案

5 回复数
3,974 次查看
joanxie
NXP TechSupport
NXP TechSupport

did you add your lvds to the ldb.c? pls refer to the link as below:

Re: i.MX6 Dual LVDS Support

0 项奖励
回复
3,975 次查看
torus1000
Contributor V

Dear Saurabh and Guanqiong,

Freescale local FAE kindly sent us a patch as following.
After applying this patch, it worked.
It seems additional "split-mode;" line required to resolve my issue.

Hava a nice day!

//patch//
--- a/arch/arm/boot/dts/imx6qdl-sabresd.dtsi
+++ b/arch/arm/boot/dts/imx6qdl-sabresd.dtsi
@@ -505,46 +505,47 @@

&ldb {
  status = "okay";
+ split-mode;

  lvds-channel@0 {
   fsl,data-mapping = "spwg";
...

3,974 次查看
osmarfrisonjun1
Contributor III

Hello,

How do I do to apply this changes to a new .sdcard?

Thanks.

0 项奖励
回复
3,974 次查看
saurabh206
Senior Contributor III

Hi Torus

Thanks for posting the solution.

Saurabh

3,974 次查看
saurabh206
Senior Contributor III

Hi

Torus

You need to add display information to struct fb_videomode ldb_modedb according to your resolution.

Can you try to verify ldb driver and dtb file initialization?

Why you have selected video=mxcfb1 ? You can use video=mxcfb0 with dtb setting.

Thanks

Saurabh

0 项奖励
回复