AnsweredAssumed Answered

1440x900 Double LVDS Screen Shake Up And Down

Question asked by leavs lee on Aug 3, 2016
Latest reply on Aug 4, 2016 by igorpadykov


hi, my 1440x900 double lvds lcd's screen shake up and down when i touch the touchscreen or use mouse to click, just like this:

http://uploadgif.55.la/upload/temp/2016/08/04/12/806014675.gif

 

the follow is my environment:

board: imx6qsabresd customized board

lcd: CHIMEI M190CGE

OS: Android 4.3 (Kernel 3.0.35)

 

the follow is my change for kernel to support the lcd:

v.png

**********************************************

CHIMEI190 LCD

**********************************************

1.vi drivers/video/mxc/ldb.c

static struct fb_videomode ldb_modedb[] = {

        /*leavs add for chipsee lvds*/

............

        {

         "LDB-WXGA+", 60, 1440, 900, 8620,

         60, 60,

         20, 20,

         40, 12,

         0,

         FB_VMODE_NONINTERLACED,

         FB_MODE_IS_DETAILED,},

 

 

..............

}

 

2.vi arch/arm/mach-mx6/board-mx6q_sabresd.c

static struct ipuv3_fb_platform_data sabresd_fb_data[] =

{

  ............

  { /*Add For LDB-HDTVBOE215*/

                .disp_dev = "ldb",

                .interface_pix_fmt = IPU_PIX_FMT_RGB24,

                .mode_str = "LDB-WXGA+",

                .default_bpp = 32,

                .int_clk = false,

                .late_init = false,

        },

  .............

}

 

3.u-boot

displayArgs=video=mxcfb0:dev=ldb,LDB-WXGA+,if=RGB24,bpp=32 ldb=spl0 video=mxcfb1:off video=mxcfb2:off fbmem=48M

 

**********************************************

CHIMEI190 LCD PWM4

**********************************************

1.vi <kernel_imx>/arch/arm/mach-mx6/clock.c

#ifdef CONFIG_MX6_CLK_FOR_BOOTUI_TRANS

                        /*

                         * We use pwm1 to drive LVDS panel pwm backlight

                         * to support bootloader splashimage by default,

                         * so we need to enable the clock to keep the

                         * backlight on.

                         */

                        (machine_is_mx6q_sabresd() ?

                        //(3 << MXC_CCM_CCGRx_CG8_OFFSET) : 0) | /* pwm1_clk */

                        (3 << MXC_CCM_CCGRx_CG11_OFFSET) : 0) | /* pwm4_clk */

#endif

 

i think the change is right, i had drived the 5" 7" 10" 12" 15" 21.5" LCD, but the 19" which has 1440x900 is not ok, who can help me? looking forward to your reply.

Outcomes