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.

Problem of the OMAPL138 driver.

Other Parts Discussed in Thread: OMAPL138, DA8XX

Hi,

     I have a daughter board is connected to the L138 through J29, mainly to achieve LCD display and camera  input .Recently  I am debugging  the OMAPL138kernel, I meet the follow problem:

1、   Because the daughter board’s  LCD is 4’3 HSD043I9W1-A01, where I should modify the kernel driver to fit this kind of LCD?

2、    Does the OMAPL138 support 0V7670 camera driver? Or what kind of camera does the OMAPL138 support.

        Thanks in advance.

Ouyang

  • Hi,

    2、    Does the OMAPL138 support 0V7670 camera driver? Or what kind of camera does the OMAPL138 support.

    Yes, It will support.

    http://processors.wiki.ti.com/index.php/Demonstration_of_VPIF_raw_capture_using_MT9T031_sensor_on_AM18X/DA850/OMAP-L138_running_Linux

    1、   Because the daughter board’s  LCD is 4’3 HSD043I9W1-A01, where I should modify the kernel driver to fit this kind of LCD?

    The following files need to modify.

    linux-source/arch/arm/mach-davinci/devices-da8xx.c

    linux-source//drivers/video/da8xx-fb.c


    1) Add your new panel settings in this format in  da8xx-fb.c

    struct da8xx_panel {
        const char    name[25];    /* Full name <vendor>_<model> */
        unsigned short    width;
        unsigned short    height;
        int        hfp;        /* Horizontal front porch */
        int        hbp;        /* Horizontal back porch */
        int        hsw;        /* Horizontal Sync Pulse Width */
        int        vfp;        /* Vertical front porch */
        int        vbp;        /* Vertical back porch */
        int        vsw;        /* Vertical Sync Pulse Width */
        unsigned int    pxl_clk;    /* Pixel clock */
        unsigned char    invert_pxl_clk;    /* Invert Pixel clock */
    };

    2) Add your new panel's platform data  in devices-da8xx.c

  •       Thank for your prompt reply. I know it UI board support the MT9031,but i only have the ov7670 cmos camera .I will add the appropriate modifications.

    Ouyang,