AnsweredAssumed Answered

Dual lvds separate output  on i.MX6d with kernel 3.14.28

Question asked by Xiongwei Huang on Oct 28, 2015
Latest reply on Nov 5, 2015 by alejandrolozano

Hello all

I have out custom board with 2 lvds output

while I try to get these ports work with separate mode, the second port failed

and with dual-mode setting in  dts file , two panel work ok,no hardware issure

And from kernel 3.14.28, double lvds issue

I dont get the information about how to set the dts file and bootcmd

and my bootcommand is

setenv bootargs 'console=ttymxc1,115200 root=/dev/mmcblk2p1 rootwait rw video=mxcfb0:dev=ldb,if=RGB24,bpp=32 video=mxcfb1:dev=ldb,if=RGB24,bpp=32'

and I got an error of

ldb ldb.13: LVDS channel1 is already used

in kernel dmesg log .

 

my dts file config is

&ldb {

  status = "okay";

 

 

  lvds-channel@0 {

  crtc = "ipu1-di0";

  fsl,data-mapping = "spwg";

  fsl,data-width = <24>;

  primary;

  status = "okay";

 

 

  display-timings {

  native-mode = <&timing0>;

  timing0: at080tn64 {

  clock-frequency = <51200000>;

  hactive = <1024>;

  vactive = <600>;

  hback-porch = <50>;

  hfront-porch = <220>;

  vback-porch = <23>;

  vfront-porch = <12>;

  hsync-len = <50>;

  vsync-len = <5>;

  };

  };

  };

 

 

  lvds-channel@1 {

  crtc = "ipu2-di1";

  fsl,data-mapping = "spwg";

  fsl,data-width = <18>;

  status = "okay";

 

 

  display-timings {

  native-mode = <&timing1>;

  timing1: at080tn64 {

  clock-frequency = <51200000>;

  hactive = <1024>;

  vactive = <600>;

  hback-porch = <50>;

  hfront-porch = <220>;

  vback-porch = <23>;

  vfront-porch = <12>;

  hsync-len = <50>;

  vsync-len = <5>;

  };

  };

  };

   

};

 

Can you give me some suggest of how to set dual lvds out with separate mode in kernel 3.14.28 ?

 

 

regards

xiongwei

Outcomes