Hello,
I am working on a project using Variscite's Dart mx8m mini board and have to interface a LCD which has
Make:- YOURI
Model:- ET020HV03-OT
LCD Driver IC :- ST7796S
I am going to use yocto version ZEUS (Kernel version 5.4.3) and MIPI DSI to interface LCD to imx board.
What are the steps that I should follow to get my LCD working? Because I am new to linux and have very minimal idea about it.
Do I have to write some custom driver code for LCD and if yes, can I get some reference for it?
Also if there is any document that can be helpful please suggest.
Thanks
Thanks Igor
I have been provided initialization sequence for the LCD by vendor. When I went through the ST7796s driver's datasheet and matched the sequence I found out that
1.VFP (Vertical front porch):- 0x08
2.VBP (Vertical back porch):- 0x08
3.HBP (Horizontal Back porch):- 0x64
have been set in the sequence by using the command BPC(B5): Blanking Porch Control but didn't get Horizontal front porch value, hsync_len and vsync_len.
I am taking reference from below link to calculate the pixel clock :-
Also I have got the table below, can I take Horizontal front porch value, hsync_len and vsync_len from this table. Which values should I take ? Please suggest.
Thanks.
Hi purendra_singh
for new MIPI-DSI lcd one can start with imx8mm-evk-rm67191.dts
add specific for that lcd initialization in driver : struct cmd_set_entry manufacturer_cmd_set[],
timings in struct drm_display_mode default_mode
Best regards
igor