video: hx8394: Add panel driver for hannstar,hsd060bhw4
PATCH 1/1 video: hx8394: Add panel driver for hannstar,hsd060bhw4
From: Ondrej Jirman <[email protected]>
The driver is for panels based on the Himax HX8394 controller, such as the HannStar HSD060BHW4 720x1440 TFT LCD panel that uses a MIPI-DSI interface. This panel is used in Pinephone Pro.
Signed-off-by Ondrej Jirman <[email protected]>
Cc Anatolij Gustschin <[email protected]>
--- drivers/video/Kconfig | 8 ++ drivers/video/Makefile | 1 + drivers/video/himax-hx8394.c | 237 +++++++++++++++++++++++++++++++++++ 3 files changed, 246 insertions(+) create mode 100644 drivers/video/himax-hx8394.c
drivers/video/Kconfig +8 -0
@@ -477,6 +477,14 @@ config VIDEO_LCD_ENDEAVORU using the same DSI command sequence. The panel has a 720x1280 resolution and uses 24 bit RGB per pixel. +config VIDEO_LCD_HIMAX_HX8394 + bool "Himax HX8394 DSI LCD panel support" + depends on PANEL && BACKLIGHT + select VIDEO_MIPI_DSI + help + Say Y here if you want to enable support for Himax HX8394 + dsi 4dl panel. + config VIDEO_LCD_ORISETECH_OTM8009A bool "OTM8009A DSI LCD panel support" select VIDEO_MIPI_DSI
drivers/video/Makefile +1 -0
@@ -54,6 +54,7 @@ obj-$(CONFIG_VIDEO_IPUV3) += imx/ obj-$(CONFIG_VIDEO_IVYBRIDGE_IGD) += ivybridge_igd.o obj-$(CONFIG_VIDEO_LCD_ANX9804) += anx9804.o obj-$(CONFIG_VIDEO_LCD_ENDEAVORU) += endeavoru-panel.o +obj-$(CONFIG_VIDEO_LCD_HIMAX_HX8394) += himax-hx8394.o obj-$(CONFIG_VIDEO_LCD_HITACHI_TX18D42VM) += hitachi_tx18d42vm_lcd.o obj-$(CONFIG_VIDEO_LCD_ORISETECH_OTM8009A) += orisetech_otm8009a.o obj-$(CONFIG_VIDEO_LCD_RAYDIUM_RM68200) += raydium-rm68200.o
drivers/video/himax-hx8394.c new file +237 -0
237 lines not on this page · raw message
Signature · 1 line
2.40.1
Quoted 6 lines · On Thu, 25 May 2023 14:34:35 +0200 Ondřej Jirman [email protected] wrote:
From: Ondrej Jirman <[email protected]>
The driver is for panels based on the Himax HX8394 controller, such as the HannStar HSD060BHW4 720x1440 TFT LCD panel that uses a MIPI-DSI interface. This panel is used in Pinephone Pro.
Quoted 8 lines
Signed-off-by Ondrej Jirman <[email protected]>Cc Anatolij Gustschin <[email protected]>--- drivers/video/Kconfig | 8 ++ drivers/video/Makefile | 1 + drivers/video/himax-hx8394.c | 237 +++++++++++++++++++++++++++++++++++ 3 files changed, 246 insertions(+) create mode 100644 drivers/video/himax-hx8394.c
applied to u-boot-video/master, thanks!
--
Anatolij