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.

AM335X Display

Other Parts Discussed in Thread: DA8XX

Hi All,

we had designed a board based on AM335X core board and got our board booting successfully but as per our requirements we are using 18-bit display with 240X320 resolution

Where can i change the settings for my display to work.

Thnaks in advance,

Rajeev battu

  • Hi All,

    I had solved this problem long back but bit late in posting solution,

    This should be done in kernel, following is the path,

    drivers/video/da8xx-fb.c

    In the structure static struct da8xx_panel known_lcd_panels[ ]

    Following structure will enable the default display which is shipped with AM335x SH_EVM

           [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,
            },

    You can replace your display properties here or you can create a new structure with customized display parameters

    like hsync.vsync, clock, etc.

    The same struct name should be called from amm335x_board.c file in stucture  NHD_480272MF_ATXI_pdata


    struct da8xx_lcdc_platform_data  NHD_480272MF_ATXI_pdata = {
            .manu_name              = "NHD",
            .controller_data        = &lcd_cfg,
            .type                   = "ONYX-3.5-16-bit",   // customized    display settings   
    //      .type                   = "NEC-4.1-24-bit",   //Default EVM display
    };

    path for board file in kernel is  arch/arm/mach-omap2/board-am335xevm.c

    Regards,

    Rajeev.Battu

  • I am using a LCD monitor screen KWH050TG08-F01 800x480.
    I did the procedures mentioned above, with the correct parameters for my display, but it still doesn't work.
    The LCD monitor screen show a left image that takes up less than 50% of the screen appears in the upper corner. I have problem with resolution. < http://goo.gl/UZYIR6 >
    The following are my modifications:

    linux-3.2.0-psp04.06.00.11/drivers/video/da8xx-fb.c

    //"KWH050TG08-F01"
    [5] = {
    .name = "KWH050TG08-F01",
    .width = 800,
    .height = 480,
    .hfp = 40,
    .hbp = 40,
    .hsw = 48,
    .vfp = 13, 
    .vbp = 32,
    .vsw = 3,

    .pxl_clk = 35000000,

    .invert_pxl_clk = 0,

    ________________________________

    linux-3.2.0-psp04.06.00.11/arch/arm/mach-omap2/board-am335xevm.c

    static struct lcd_ctrl_config wise_lcd_cfg = {
    &wise_panel,
    .ac_bias = 255,
    .ac_bias_intrpt = 0,
    .dma_burst_sz = 16,
    .bpp = 16,
    .fdd = 0x80,
    .tft_alt_mode = 0,
    .stn_565_mode = 0,
    .mono_8bit_mode = 0,
    .invert_line_clock = 1,
    .invert_frm_clock = 1,
    .sync_edge = 0,
    .sync_ctrl = 1,
    .raster_order = 0,
    };

    struct da8xx_lcdc_platform_data wiselcd43_pdata = {
    .manu_name = "WiseLCD",
    .controller_data = &wise_lcd_cfg,
    .type = "KWH050TG08-F01",
    };

    ______________________________________

    Could you please share the information with me?