AnsweredAssumed Answered

i.mx6q dual channel lvds panel

Question asked by Eric Lee on Jun 1, 2015
Latest reply on Jul 16, 2015 by Biyong Sun

I am working on AUO dual-channel 1366x768 panels. The kernel version is 3.14.28. I pass the kernel parameters as follows.

video=mxcfb0:dev=ldb,LDB-WXGA,if=RGB24 ldb=spl0 fbmem=24M

 

The panel is black and not showing anything. (The backlight is on.)

The device tree file is as follows.

        mxcfb1: fb@0 {

                compatible = "fsl,mxc_sdc_fb";

                disp_dev = "ldb";

                interface_pix_fmt = "RGB666";

                default_bpp = <24>;

                int_clk = <0>;

                late_init = <0>;

                status = "okay";

        };

 

&ldb {

        status = "okay";

 

 

        lvds-channel@0 {

                fsl,data-mapping = "spwg";

                fsl,data-width = <18>;

                status = "okay";

 

 

                display-timings {

                        native-mode = <&timing0>;

                        timing0: hsd100pxn1 {

                                clock-frequency = <65000000>;

                                hactive = <1024>;

                                vactive = <768>;

                                hback-porch = <220>;

                                hfront-porch = <40>;

                                vback-porch = <21>;

                                vfront-porch = <7>;

                                hsync-len = <60>;

                                vsync-len = <10>;

                        };

                };

        };

 

 

        lvds-channel@1 {

                fsl,data-mapping = "spwg";

                fsl,data-width = <18>;

                primary;

                status = "okay";

 

 

                display-timings {

                        native-mode = <&timing1>;

                        timing1: hsd100pxn1 {

                                clock-frequency = <65000000>;

                                hactive = <1024>;

                                vactive = <768>;

                                hback-porch = <220>;

                                hfront-porch = <40>;

                                vback-porch = <21>;

                                vfront-porch = <7>;

                                hsync-len = <60>;

                                vsync-len = <10>;

                        };

                };

        };

};

 

Did I miss anything? I would like to assign lvds to ipu_id=1. However, it seems that the device tree in sabresd does not have this node. I am not sure if the kernel parameter LDB-WXGA correct or not. I also tried 1366x768M@60. The result are the same. The LCD_VDD is enabled. I can measure it is 5V. Thanks for your help.

-Eric

Outcomes