staging: fbtft: Add support for ili9163 controller
Subsystems (2)
PATCH 1/1 staging: fbtft: Add support for ili9163 controller
Driver for ili9163-based displays (for example: Nokia 5110)
Signed-off-by Kozhevnikov Anatoly <[email protected]>
--- drivers/staging/fbtft/Kconfig | 6 + drivers/staging/fbtft/Makefile | 1 + drivers/staging/fbtft/fb_ili9163.c | 303 +++++++++++++++++++++++++++++++++++ drivers/staging/fbtft/fbtft_device.c | 18 +++ 4 files changed, 328 insertions(+) create mode 100644 drivers/staging/fbtft/fb_ili9163.c
drivers/staging/fbtft/Kconfig +6 -0
@@ -38,6 +38,12 @@ config FB_TFT_HX8353D help Generic Framebuffer support for HX8353D +config FB_TFT_ILI9163 + tristate "FB driver for the ILI9163 LCD Controller" + depends on FB_TFT + help + Generic Framebuffer support for ILI9163 + config FB_TFT_ILI9320 tristate "FB driver for the ILI9320 LCD Controller" depends on FB_TFT
drivers/staging/fbtft/Makefile +1 -0
@@ -8,6 +8,7 @@ obj-$(CONFIG_FB_TFT_BD663474) += fb_bd663474.o obj-$(CONFIG_FB_TFT_HX8340BN) += fb_hx8340bn.o obj-$(CONFIG_FB_TFT_HX8347D) += fb_hx8347d.o obj-$(CONFIG_FB_TFT_HX8353D) += fb_hx8353d.o +obj-$(CONFIG_FB_TFT_ILI9163) += fb_ili9163.o obj-$(CONFIG_FB_TFT_ILI9320) += fb_ili9320.o obj-$(CONFIG_FB_TFT_ILI9325) += fb_ili9325.o obj-$(CONFIG_FB_TFT_ILI9340) += fb_ili9340.o
drivers/staging/fbtft/fb_ili9163.c new file +303 -0
303 lines not on this page · raw message
drivers/staging/fbtft/fbtft_device.c +18 -0
@@ -676,6 +676,24 @@ static struct fbtft_device_display displays[] = { } } }, { + .name = "nokia5110", + .spi = &(struct spi_board_info ) { + .modalias ="fb_ili9163" , + .max_speed_hz =12000000 , + .mode =SPI_MODE_0 , + .platform_data = &(struct fbtft_platform_data ) { + .display = { + .buswidth =8 , + .backlight =1 , + }, + .bgr = true, + .gpios = (const struct fbtft_gpio []) { + {}, + }, + } + } + }, { + .name = "piscreen", .spi = &(struct spi_board_info ) { .modalias ="fb_ili9486" ,
Signature · 1 line
2.3.3