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 - adding new panel with SVGA resolution

Hi,


I have an am335x board with 24bit lvds serializer and would like to connect a new LCD panel (auo-g084sn05-v9) to it. I am aware that I have to add a new panel to da8xx-fb.c and also make sure in the board file that it is initialized and that pinmux settings are correct. I also know how to set the timings from the datasheet, but is there anything else that needs to be set in the driver?

All examples I could find are for 800x480 resolution, but mine is 800x600. The thing that bothers me the most is that I noticed in the board file (where panel type is initialized) and also from the LCDC driver that panel_type enumeration is used from da-8xx-fb.h and there is no SVGA type:

enum panel_type {
    QVGA = 0,
    WVGA,
};

Regards,

Georgije

  • Hi,

    There is no limitation about SVGA resolution on the hardware side, so you shouldn't have a problem adding it to the panel_type enum and then adding the logic to support it in the da8xx-fb driver.

    For example this check in the lcd_init() function:

        if ((QVGA != cfg->p_disp_panel->panel_type) &&
                (WVGA != cfg->p_disp_panel->panel_type))
            return -EINVAL;

    Best regards,
    Miroslav