video: add ChipWealth CH13726A AMOLED panel driver
PATCH 1/1 video: add ChipWealth CH13726A AMOLED panel driver
Add support for AMOLED panels based on the ChipWealth CH13726A MIPI DSI display driver IC.
The driver configures the MIPI DSI interface for 4 data lanes in RGB888 video mode, performs the panel reset sequence, sends the vendor-specific initialization commands required by the controller, and enables the panel using the standard MIPI DCS Sleep Out and Display On commands.
This driver is based on an earlier implementation by Pratham Malaviya.
Signed-off-by Advait Dhamorikar <[email protected]>
--- drivers/video/Kconfig | 8 ++ drivers/video/Makefile | 1 + drivers/video/chipwealth-ch13726a.c | 193 ++++++++++++++++++++++++++++ 3 files changed, 202 insertions(+) create mode 100644 drivers/video/chipwealth-ch13726a.c
drivers/video/Kconfig +8 -0
@@ -533,6 +533,14 @@ config VIDEO_BCM2835 that same resolution (or as near as possible) and 32bpp depth, so that U-Boot can access it with full colour depth. +config VIDEO_AMOLED_CHIPWEALTH_CH13726A + bool "ChipWealth CH13726A AMOLED panel support" + depends on VIDEO + select VIDEO_MIPI_DSI + help + Say Y here if you want to enable support for AMOLED panels + based on the ChipWealth CH13726A MIPI DSI display driver IC. + config VIDEO_LCD_ENDEAVORU tristate "Endeavoru 720x1280 DSI video mode panel" depends on PANEL && BACKLIGHT
drivers/video/Makefile +1 -0
@@ -55,6 +55,7 @@ obj-$(CONFIG_VIDEO_DW_HDMI) += dw_hdmi.o obj-$(CONFIG_VIDEO_DW_MIPI_DSI) += dw_mipi_dsi.o obj-$(CONFIG_VIDEO_EFI) += efi.o obj-y += imx/ +obj-$(CONFIG_VIDEO_AMOLED_CHIPWEALTH_CH13726A) += chipwealth-ch13726a.o obj-$(CONFIG_VIDEO_IVYBRIDGE_IGD) += ivybridge_igd.o obj-$(CONFIG_VIDEO_LCD_PANEL_EDP_4_LANE_1620M_VIA_ANX9804) += anx9804.o obj-$(CONFIG_VIDEO_LCD_ENDEAVORU) += endeavoru-panel.o
drivers/video/chipwealth-ch13726a.c new file +193 -0
193 lines not on this page · raw message
Signature · 1 line
2.43.0