drivers: display: ili9xxx: generalize ILI display driver
Make driver generic for multiple ILI displays. The adopted strategy is to share all driver code except register initialization, which has been found to have some specific registers/values depending on the controller. The driver has been adjusted to support multiple compatibles. Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
This commit is contained in:
parent
df51a8a5c7
commit
acb0cd65ca
13 changed files with 735 additions and 629 deletions
|
@ -7,10 +7,14 @@ zephyr_sources_ifdef(CONFIG_SSD16XX ssd16xx.c)
|
|||
zephyr_sources_ifdef(CONFIG_SDL_DISPLAY display_sdl.c)
|
||||
zephyr_sources_ifdef(CONFIG_DUMMY_DISPLAY display_dummy.c)
|
||||
zephyr_sources_ifdef(CONFIG_FRAMEBUF_DISPLAY display_framebuf.c)
|
||||
zephyr_sources_ifdef(CONFIG_ILI9340 display_ili9340.c)
|
||||
zephyr_sources_ifdef(CONFIG_ST7789V display_st7789v.c)
|
||||
zephyr_sources_ifdef(CONFIG_GD7965 gd7965.c)
|
||||
|
||||
if (CONFIG_ILI9XXX)
|
||||
zephyr_sources(display_ili9xxx.c)
|
||||
endif()
|
||||
zephyr_sources_ifdef(CONFIG_ILI9340 display_ili9340.c)
|
||||
|
||||
zephyr_sources_ifdef(CONFIG_MICROBIT_DISPLAY
|
||||
mb_display.c
|
||||
mb_font.c
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue