Skip to content

Commit

Permalink
drm/panel: Add driver for Samsung AMS497EE01 panel
Browse files Browse the repository at this point in the history
This patch adds support for Samsung's AMOLED AMS497EE01 panel with an
EA8061V controller. The driver is mostly based on the driver for
s6e3fa2 and s6e63m0, with data taken from the downstream android
kernel for the device with codename a500f.

The panel is used in the msm8916 Samsung Galaxy A5U (EUR) devices, for
which there is already partial support in the mainline kernel.

Signed-off-by: Henrik Grimler <[email protected]>
  • Loading branch information
Grimler91 committed Jul 16, 2023
1 parent 690256f commit 24c1cc5
Show file tree
Hide file tree
Showing 6 changed files with 979 additions and 274 deletions.
1 change: 1 addition & 0 deletions arch/arm64/configs/msm8916_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,7 @@ CONFIG_DRM_MSM=m
# CONFIG_DRM_MSM_DSI_7NM_PHY is not set
# CONFIG_DRM_MSM_HDMI is not set
CONFIG_DRM_PANEL_SIMPLE=m
CONFIG_DRM_PANEL_SAMSUNG_EA8061V_AMS497EE01=m
CONFIG_DRM_PANEL_SAMSUNG_S6E88A0_AMS452EF01=m
CONFIG_DRM_PANEL_MSM8916_GENERATED=m
CONFIG_DRM_DISPLAY_CONNECTOR=m
Expand Down
7 changes: 7 additions & 0 deletions drivers/gpu/drm/panel/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -536,6 +536,13 @@ config DRM_PANEL_SAMSUNG_DB7430
DB7430 DPI display controller used in such devices as the
LMS397KF04 480x800 DPI panel.

config DRM_PANEL_SAMSUNG_EA8061V_AMS497EE01
tristate "Samsung AMS497EE01 panel with EA8061V DSI video mode controller"
depends on OF
depends on DRM_MIPI_DSI
depends on BACKLIGHT_CLASS_DEVICE
select VIDEOMODE_HELPERS

config DRM_PANEL_SAMSUNG_S6D16D0
tristate "Samsung S6D16D0 DSI video mode panel"
depends on OF
Expand Down
1 change: 1 addition & 0 deletions drivers/gpu/drm/panel/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ obj-$(CONFIG_DRM_PANEL_RAYDIUM_RM68200) += panel-raydium-rm68200.o
obj-$(CONFIG_DRM_PANEL_RONBO_RB070D30) += panel-ronbo-rb070d30.o
obj-$(CONFIG_DRM_PANEL_SAMSUNG_ATNA33XC20) += panel-samsung-atna33xc20.o
obj-$(CONFIG_DRM_PANEL_SAMSUNG_DB7430) += panel-samsung-db7430.o
obj-$(CONFIG_DRM_PANEL_SAMSUNG_EA8061V_AMS497EE01) += panel-samsung-ea8061v-ams497ee01.o
obj-$(CONFIG_DRM_PANEL_SAMSUNG_LD9040) += panel-samsung-ld9040.o
obj-$(CONFIG_DRM_PANEL_SAMSUNG_S6D16D0) += panel-samsung-s6d16d0.o
obj-$(CONFIG_DRM_PANEL_SAMSUNG_S6D27A1) += panel-samsung-s6d27a1.o
Expand Down
1 change: 0 additions & 1 deletion drivers/gpu/drm/panel/msm8916-generated/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ obj-$(CONFIG_DRM_PANEL_MOTOROLA_OSPREY_INX) += panel-motorola-osprey-inx.o
obj-$(CONFIG_DRM_PANEL_MOTOROLA_SURNIA_BOE) += panel-motorola-surnia-boe.o
obj-$(CONFIG_DRM_PANEL_MOTOROLA_SURNIA_INX) += panel-motorola-surnia-inx.o
obj-$(CONFIG_DRM_PANEL_SAMSUNG_EA8061_AMS549BU19_ID400418) += panel-samsung-ea8061-ams549bu19-id400418.o
obj-$(CONFIG_DRM_PANEL_SAMSUNG_EA8061V_AMS497EE01) += panel-samsung-ea8061v-ams497ee01.o
obj-$(CONFIG_DRM_PANEL_SAMSUNG_HX8389C_GH9607501A) += panel-samsung-hx8389c-gh9607501a.o
obj-$(CONFIG_DRM_PANEL_SAMSUNG_NT51017_B4P096WX5VP09) += panel-samsung-nt51017-b4p096wx5vp09.o
obj-$(CONFIG_DRM_PANEL_SAMSUNG_S6288A0) += panel-samsung-s6288a0.o
Expand Down

This file was deleted.

Loading

0 comments on commit 24c1cc5

Please sign in to comment.