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.

Need TFT LCD Driver support

Other Parts Discussed in Thread: AM1808, DA8XX, OMAPL138

Hi All,

I have just started with AM1808 board. I have kernel source. I am looking for Linux driver for graphics TFT LCD. Please let me know where can I find. 

Excisting TFT LCD using here as SHARP- LQ043T1DG01. My LCD has Innolux  AT050TN33 controller IC.

I can able to see the Sharp LCD kernal drivers. I just want to know the modifications from existing to customized Linux driver. Anyone can suggest the steps and rules. What are the changes/modifications has to be done. 

I found these files located in kernbal tree: 

o <kernel_tree>linux-03.20.00.11/drivers/video/da8xx-fb.c

o <kernel_tree>linux-03.20.00.11/include/video/da8xx-fb.h

o <kernel_tree>linux-03.20.00.11/include/linux/fb.h

o <kernel_tree>linux-03.20.00.11/arch/arm/mach-davinci/board-da850-evm.c

o <kernel_tree>linux-03.20.00.11/arch/arm/mach-davinci/devices-da8xx.c

o <kernel_tree>linux-03.20.00.11/arch/arm/mach-davinci/da850.c

o <kernel_tree>linux-03.20.00.11/arch/arm/mach-davinci/include/mac/hardware.h

o <kernel_tree>linux-03.20.00.11/arch/arm/mach-davinci/include/mac/da8xx.h

 

Regards,

Francis

  • If you are looking to interface new LCD panel to your board, you may want to check these:
    drivers/video/omap/lcd_omap3evm.c
    drivers/video/omap2/displays/panel-sharp-ls037v7dw01.c
    arch/arm/mach-omap2/board-omap3evm.c

    (I haven't checked to see if board-da850-evm.c has similar example, but based on your query I assume it doesn't)

  • Hi Sanjeev

    Thanks for your reply

    I am using AM1808 EVM which is supporting Davinci drivers. Our board is OMAPL138 supported architecture.OMAP2 architecture is different.

    In AM1808 EVM development board existing TFT LCD using here as SHARP- LQ043T1DG01. My new LCD interface has Innolux AT050TN33.

    I want to develop new LCD driver. Both data sheets looks same but pin configuration slightly will vary. Also the timing and synchronization is different.

    I just want to know the modification and changes.

     

    Regards,

    Francis

     

  • Francis,

    The files I pointed should indicate the changes for the panel driver. Other than the hook-up with the board, panel drivers are quite generic and don't depend on any processor.

    It appears you are looking for specific changes that need to be done when using an interface different than the one provided with the EVM.

    You have the datasheets for both the panels. You will need to make the appropriate changes yourself... unless someone (on these forums) is already using the specific panel and can share the driver/changes with you.

  •  

    I am new to this LCD driver development running on linux and would appreciate anyone share the same driver source.

    Please share it.

    Thanks

    Francis

  • Hi Sanjeev,

    Can i have the same panel driver with changes.

    Thanks

    francis

  • Francis,

    I am quite not sure about OMAPL138 or AM1808 driver status, but I believe Fbdev driver should have been supported already. Please refer to the Arago repository for latest releases- http://arago-project.org/git/projects/?p=linux-davinci.git;a=summary, refer to history of  "drivers/video/".

     

    From your LCD panel perspective, you have to change the LCD configuration to your LCD panel timing parameter.

     

    Thanks,

    Vaibhav

  • Hi,

    I made a changes in LCD configuration and LCD panel timing parameter. But i am not sure with these changes driver will work or not.

    What i am using the LCD Panel doesn't have VSYNC and HSYNC supported signals. It is having DE(data enable signal) and clock. Remaining the same pin configuration of Sharp - LQ043T1DG01. Herewith I have attached the timing control diagram. Can you give me a driver source according to this logic.

    Innolux LCD Pin configuration

    1 VLED- P Power for LED backlight cathode
    2 VLED+ P Power for LED backlight anode
    3 GND P Power ground
    4 VDD P Power voltage
    5 R0 I Red data (LSB)
    6 R1 I Red data
    7 R2 I Red data
    8 R3 I Red data
    9 R4 I Red data
    10 R5 I Red data
    11 R6 I Red data
    12 R7 I Red data (MSB)
    13 G0 I Green data (LSB)
    14 G1 I Green data
    15 G2 I Green data
    16 G3 I Green data
    17 G4 I Green data
    18 G5 I Green data
    19 G6 I Green data

    20 G7 I Green data (MSB)
    21 B0 I Blue data (LSB)
    22 B1 I Blue data
    23 B2 I Blue data
    24 B3 I Blue data
    25 B4 I Blue data
    26 B5 I Blue data
    27 B6 I Blue data
    28 B7 I Blue data (MSB)
    29 GND P Power ground
    30 CLK I Pixel clock
    31 DISP I Display on/off
    32 NC - No Connection
    33 NC - No Connection
    34 DE I Data Enable
    35 NC - No Connection
    36 GND P Power ground
    37 X1 I/O Right electrode – differential analog
    38 Y1 I/O Bottom electrode – differential analog
    39 X2 I/O Left electrode – differential analog
    40 Y2 I/O Top electrode – differential analog

    Timing Diagram

    Thanks,

    Francis

     

  • Francis,

    You have to write the driver on your own, I can help you in your understanding and other issues (upto certain extent). Neither I have readily available driver source for your panel to share with you nor I have a bandwidth to write a driver for you.

    Thanks,

    Vaibhav

  •  

    Can you help me to share the readily available driver source for Innolux panel.

    Thanks

    Francis 

  • Hi Vaibhav,

     

    Can you please share the readily available panel driver source.

     

    Thanks

    francis

  • Francis,

    I do not have anything extra or more than what Sanjeev has shared with you before. Few additional pointers,

    You have to refer to the existing OMAPL138/AM1808 driver (which I believe "drivers/video/da8xx-fb.c") and try to understand how panel timing parameters are hooked up OR being used,  and do same thing for you panel driver. It should be pretty easy to do.

     

    Thanks,

    Vaibhav

  • Hi,

    I made a changes in LCD panel timing parameter (linux/drivers/video/da8xx-fb.c and Board, device files also) . Can i have some more information needs to add it here.

    Existing LCD used here as Sharp - LQ043T1DG01, My customized LCD is  Innolux - AT050TN33

    What i am using the LCD Panel( Innolux - AT050TN33) doesn't have VSYNC and HSYNC supported signals. It is having DE(data enable signal) and clock.  Remaining the same pin configuration of Sharp - LQ043T1DG01.

    But existing driver have HSYNC & VSYNC. How to change & where to change the driver modifications according with our customized panel.

    Can you give me suggestions to write a driver source code according to this logic.

    Thanks,
    Kumar
  • hi all,

    I am working on the innoluc at07083 LCd display

    I am using the panda board Es and  Expantion board with LCD pannel innolux_at07083

    please any one tell the procedures to follow for interfacing and files tree to modify the code

    source code flow for interfacing the innolux lcd display to panda board Es

    and help me to understand the OMAP4460 interface with LCD pannel

    Thanks ,

    raj

  • Hello, i have the same LCD panel as you(Innolux - AT050TN33), could you help me with working with it?
    Thanks,

    Alexander

  • Hi Alex,

    You have to change your customised LCD timing parameters under /drivers/video/da8xx-fb.c, which has mentioned the timing values under your LCD datsheet. Also you need to define the platform driver under board-da850-evm.c

    Which platform you are working, SO that according to your board need to define all the platform definitions.

    Thanks,

    Francis

  • Hi Francis,

    Thanks, i'll try.

    But i have another question, is it needed to use some board-controller between lcd and my debug board, or i must connect lcd directly to particular pins on debug board?

    P.S. My board is Bluetechnix eval-bf5xx and processor Blackfin bf537e

    Thanks, Alex

  • Hi Alex,


    Your board must have LCD controller support required. That too it require 18/24 bit support.

    lets share your processor datasheet, i will confirm whether it have TFT LCD support or not..


    Thanks,

    Francis

  • Hi,
    So, processor's datasheet's here http://datasheets.bluetechnix.at/goto/CM-BF537E/CM-BF537_HUM_V3.pdf
    and here's board's datasheet if needed http://datasheets.bluetechnix.at/goto/EVAL-BF5xx/archive/V3.x/EVAL-BF5xx_HardwareUserManual_V3.1.pdf
    And if doesn't support 18/24 bit transfer, i won't use the lowest bits. like R0, R1, G0, B0, B1