Skip to content

Commit df401fa

Browse files
z3ntusuperna9999
authored andcommitted
drm/panel: Add driver for DJN HX83112B LCD panel
Add support for the 2160x1080 LCD panel from DJN (98-03057-6598B-I) bundled with a HX83112B driver IC, as found on the Fairphone 3 smartphone. Reviewed-by: Dmitry Baryshkov <[email protected]> Signed-off-by: Luca Weiss <[email protected]> Signed-off-by: Neil Armstrong <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 54bd139 commit df401fa

File tree

3 files changed

+441
-0
lines changed

3 files changed

+441
-0
lines changed

drivers/gpu/drm/panel/Kconfig

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,16 @@ config DRM_PANEL_HIMAX_HX83112A
193193
Say Y here if you want to enable support for Himax HX83112A-based
194194
display panels, such as the one found in the Fairphone 4 smartphone.
195195

196+
config DRM_PANEL_HIMAX_HX83112B
197+
tristate "Himax HX83112B-based DSI panel"
198+
depends on OF
199+
depends on DRM_MIPI_DSI
200+
depends on BACKLIGHT_CLASS_DEVICE
201+
select DRM_KMS_HELPER
202+
help
203+
Say Y here if you want to enable support for Himax HX83112B-based
204+
display panels, such as the one found in the Fairphone 3 smartphone.
205+
196206
config DRM_PANEL_HIMAX_HX8394
197207
tristate "HIMAX HX8394 MIPI-DSI LCD panels"
198208
depends on OF

drivers/gpu/drm/panel/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ obj-$(CONFIG_DRM_PANEL_FEIYANG_FY07024DI26A30D) += panel-feiyang-fy07024di26a30d
2020
obj-$(CONFIG_DRM_PANEL_HIMAX_HX8279) += panel-himax-hx8279.o
2121
obj-$(CONFIG_DRM_PANEL_HIMAX_HX83102) += panel-himax-hx83102.o
2222
obj-$(CONFIG_DRM_PANEL_HIMAX_HX83112A) += panel-himax-hx83112a.o
23+
obj-$(CONFIG_DRM_PANEL_HIMAX_HX83112B) += panel-himax-hx83112b.o
2324
obj-$(CONFIG_DRM_PANEL_HIMAX_HX8394) += panel-himax-hx8394.o
2425
obj-$(CONFIG_DRM_PANEL_ILITEK_IL9322) += panel-ilitek-ili9322.o
2526
obj-$(CONFIG_DRM_PANEL_ILITEK_ILI9341) += panel-ilitek-ili9341.o

0 commit comments

Comments
 (0)