notro / tinydrm

Discontinued. Out of tree tinydrm modules
https://github.com/notro/tinydrm/wiki
99 stars 27 forks source link

how to use the driver EE0350BT on ili9488 screen? #21

Closed GreenFeanor closed 3 years ago

GreenFeanor commented 4 years ago

hi, and thank you for all this content. on my side I try to make work an ili9488 screen in DPI via the driver EE0350BT on Raspian Buster (4.19).

info: on I start on these: https://github.com/notro/tinydrm/issues/17 https://github.com/notro/tinydrm/pull/9/commits/690032b23dd235fb82eb0a343388b5a61f3fd292

But I can’t find any files concerning this EE0350BT driver. See technical sheet if necessary: https://drive.google.com/file/d/1z0sa2pZ5k_1co56-s-dZ_UERXpwmQ-ln/view?usp=sharing

notro commented 4 years ago

I assume you mean DBI and not DPI. That datasheet doesn't contain the controller init sequence that's necessary to make it work. All MIPI DBI compatible controllers are basically the same except for how to setup the controller. Without that you can't make it work. All the mipi_dbi_command() calls in the *_enable() function sets up the controller.

GreenFeanor commented 4 years ago

No, I mean DPI. there is the full datasheet of the screen: ili9488_dataheet

I saw some code to init the screen with command and parameters. But I don't understand what pin I have to use for the init. The datasheet is too vague for me about the DPI.

notro commented 4 years ago

Ok, DPI is not supported by these drivers, it needs a graphics controller. For instance this is the code that handles DPI on the Raspbery Pi: https://elixir.bootlin.com/linux/latest/source/drivers/gpu/drm/vc4/vc4_dpi.c