This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

LCD 7" with AM335х EVMSK and linux kernel from SDK6.0

Other Parts Discussed in Thread: DA8XX

Hello, because of problem described in http://e2e.ti.com/support/arm/sitara_arm/f/791/t/353179.aspx I would like to connect LCD 7" touchscreen to AM335х EVMSK with linux from Sitara linux SDK 6.0 rather then SDK 7.0. Actually in SDK 7.0 there is a section with panel timings and resolution in am335-xevmsk.dts board file but in SDK 6.0 I can't found any timings in board-am335xevm.c. Where should I fix it?

  • Hi Tim,

    These are defined inside <linux_dir>/drivers/video/da8xx-fb.c:

    static struct da8xx_panel known_lcd_panels[] = {
        /* Sharp LCD035Q3DG01 */
        [0] = {
            .name = "Sharp_LCD035Q3DG01",
            .width = 320,
            .height = 240,
            .hfp = 8,
            .hbp = 6,
            .hsw = 0,
            .vfp = 2,
            .vbp = 2,
            .vsw = 0,
            .pxl_clk = 4608000,
            .invert_pxl_clk = 1,
        },
        /* Sharp LK043T1DG01 */
        [1] = {
            .name = "Sharp_LK043T1DG01",
            .width = 480,
            .height = 272,
            .hfp = 2,
            .hbp = 2,
            .hsw = 41,
            .vfp = 3,
            .vbp = 3,
            .vsw = 10,
            .pxl_clk = 7833600,
            .invert_pxl_clk = 0,
        },
        /* ThreeFive S9700RTWV35TR */
        [2] = {
            .name = "TFC_S9700RTWV35TR_01B",
            .width = 800,
            .height = 480,
            .hfp = 39,
            .hbp = 39,
            .hsw = 47,
            .vfp = 13,
            .vbp = 29,
            .vsw = 2,
            .pxl_clk = 30000000,
            .invert_pxl_clk = 0,
        },
        /* Newhaven Display */
        [3] = {
            .name = "NHD-4.3-ATXI#-T-1",
            .width = 480,
            .height = 272,
            .hfp = 8,
            .hbp = 43,
            .hsw = 4,
            .vfp = 4,
            .vbp = 12,
            .vsw = 10,
            .pxl_clk = 9000000,
            .invert_pxl_clk = 0,
        },
    };

    Best regards,
    Miroslav

  • Hi Tim,


    Also check out our board port lab for SDK 6.00, which shows how to enable an LCD from scratch: http://processors.wiki.ti.com/index.php/Sitara_Linux_Training:_Linux_Board_Port

    Regards,

    Josh