notro / fbtft

Linux Framebuffer drivers for small TFT LCD display modules. Development has moved to https://git.kernel.org/cgit/linux/kernel/git/gregkh/staging.git/tree/drivers/staging/fbtft?h=staging-testing
1.85k stars 496 forks source link

LGDP4524 supported ? #500

Closed craftcore closed 3 years ago

craftcore commented 6 years ago

i am struggling to get the FB driver working with this type of display and raspberry pi [https://www.aliexpress.com/item/2-0-3-3V-TFT-LCD-Touch-Screen-Breakout-Board-With-Touch-Pen-For-Arduino/32780151979.html] i can read the marking "driver IC LGDP4524" which should be somehow compatible to ili9325 except it only supports 176x220 resolution can you tell me if this driver can support it ? i tried with custom device command modprobe fbtft_device custom txbuflen=32768 name=fb_ili9325 buswidth=8 width=176 height=220 gpios=reset:4,dc:18,wr:17,cs:27,db00:23,db01:24,db02:10,db03:9,db04:25,db05:11,db06:8,db07:7 wired it right if i test it with con2fbmap 1 1 screen stays blank

notro commented 6 years ago

It is likely that you need to overrride the intialization sequence (register setting). See if you can find some example code for the display. Driver source code with default register settings: https://elixir.bootlin.com/linux/latest/source/drivers/staging/fbtft/fb_ili9325.c How to change using init= argument: https://github.com/notro/fbtft/wiki/fbtft_device

jpbbarros commented 4 years ago

i am struggling to get the FB driver working with this type of display and raspberry pi [https://www.aliexpress.com/item/2-0-3-3V-TFT-LCD-Touch-Screen-Breakout-Board-With-Touch-Pen-For-Arduino/32780151979.html] i can read the marking "driver IC LGDP4524" which should be somehow compatible to ili9325 except it only supports 176x220 resolution can you tell me if this driver can support it ? i tried with custom device command modprobe fbtft_device custom txbuflen=32768 name=fb_ili9325 buswidth=8 width=176 height=220 gpios=reset:4,dc:18,wr:17,cs:27,db00:23,db01:24,db02:10,db03:9,db04:25,db05:11,db06:8,db07:7 wired it right if i test it with con2fbmap 1 1 screen stays blank

Hello craftcore, managed to connect your display to the raspberry? I have an equal and needed information on how to connect (wiring scheme) and sample code in python. Could I get some information? Thank you, Best regards, João Barros

github-actions[bot] commented 3 years ago

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days.