how to support lvds for imx6q   version 4.4.3_3.10.53_2014.04

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

how to support lvds for imx6q   version 4.4.3_3.10.53_2014.04

Jump to solution
1,313 Views
lifusong
Contributor IV

Dear All.

     during the uboot power on,we can light on the lvds,and see the freescale logo inside the lvds panel

but,I can't see any thing after kernel boot.,any body have good ideas?

 

I had modify the DTS struct.

hannstar_cabc{

   compatible = "hannstar,cabc";

   lvds0 {

  gpios = <&gpio2 21 GPIO_ACTIVE_HIGH>; //Set to GPIO_ACTIVE_LOW will enable the LVDS Power when registered mxc display driver ldb,but our HW DESGIN is output_high will enable LVDS.

   };

   lvds1 {

  gpios = <&gpio2 20 GPIO_ACTIVE_HIGH>;

   };

};

and enable the LDB

&ldb {

  status = "okay";

  lvds-channel@0 {

  crtc = "ipu2-di0";

  status = "okay";

  };

  lvds-channel@1 {

  crtc = "ipu2-di1";

  status = "okay";

  };

};

Original Attachment has been moved to: imx6qdl.dtsi.zip

Original Attachment has been moved to: log.txt.zip

Original Attachment has been moved to: imx6q-sabresd.dts.zip

Original Attachment has been moved to: imx6q.dtsi.zip

Original Attachment has been moved to: imx6qdl-sabresd.dtsi.zip

Labels (2)
0 Kudos
1 Solution
632 Views
lifusong
Contributor IV

Found the  reason,there boot kernel command default set mxcfb3:off,so remove this item.

the lvds can work fine.

View solution in original post

0 Kudos
2 Replies
632 Views
dennyzhou
Contributor II

Hi,

  About this configuration, you need to add a 'cabc-enable' here . And GPIO_ACTIVE_HIGH means the GPIO will output a HIGH to enable the power. If the 'cabc-enable' is not added here. It will reverse the logic. You can check the 'hannstart-cabc.c' of kermel.

  lvds0 {

  gpios = <&gpio2 21 GPIO_ACTIVE_HIGH>; //Set to GPIO_ACTIVE_LOW will enable the LVDS Power when registered mxc display driver ldb,but our HW DESGIN is output_high will enable LVDS.

  cabc-enable;

   };

BR//Denny

0 Kudos
633 Views
lifusong
Contributor IV

Found the  reason,there boot kernel command default set mxcfb3:off,so remove this item.

the lvds can work fine.

0 Kudos