[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20260106154446.2735701-2-dario.binacchi@amarulasolutions.com>
Date: Tue, 6 Jan 2026 16:43:14 +0100
From: Dario Binacchi <dario.binacchi@...rulasolutions.com>
To: linux-kernel@...r.kernel.org
Cc: linux-amarula@...rulasolutions.com,
Dario Binacchi <dario.binacchi@...rulasolutions.com>,
David Airlie <airlied@...il.com>,
Jessica Zhang <jesszhan0024@...il.com>,
Maarten Lankhorst <maarten.lankhorst@...ux.intel.com>,
Maxime Ripard <mripard@...nel.org>,
Michael Walle <mwalle@...nel.org>,
Neil Armstrong <neil.armstrong@...aro.org>,
Simona Vetter <simona@...ll.ch>,
Thomas Zimmermann <tzimmermann@...e.de>,
dri-devel@...ts.freedesktop.org
Subject: [PATCH 1/3] drm/panel: ilitek-ili9806e: prepare for multiple bus support
This change clarifies that the current implementation is specific to the
MIPI-DSI interface. By separating the core config from the DSI-specific
one, we prepare the driver for future support of other buses (like
SPI) while maintaining backward compatibility through the default
assignment in Kconfig.
Signed-off-by: Dario Binacchi <dario.binacchi@...rulasolutions.com>
---
MAINTAINERS | 2 +-
drivers/gpu/drm/panel/Kconfig | 10 +++++++++-
drivers/gpu/drm/panel/Makefile | 2 +-
...l-ilitek-ili9806e.c => panel-ilitek-ili9806e-dsi.c} | 2 +-
4 files changed, 12 insertions(+), 4 deletions(-)
rename drivers/gpu/drm/panel/{panel-ilitek-ili9806e.c => panel-ilitek-ili9806e-dsi.c} (99%)
diff --git a/MAINTAINERS b/MAINTAINERS
index a0dd762f5648..40a77e5fd2fd 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -7909,7 +7909,7 @@ F: drivers/gpu/drm/panel/panel-ilitek-ili9805.c
DRM DRIVER FOR ILITEK ILI9806E PANELS
M: Michael Walle <mwalle@...nel.org>
S: Maintained
-F: drivers/gpu/drm/panel/panel-ilitek-ili9806e.c
+F: drivers/gpu/drm/panel/panel-ilitek-ili9806e-dsi.c
DRM DRIVER FOR JADARD JD9365DA-H3 MIPI-DSI LCD PANELS
M: Jagan Teki <jagan@...eble.ai>
diff --git a/drivers/gpu/drm/panel/Kconfig b/drivers/gpu/drm/panel/Kconfig
index 7a83804fedca..9ab72f3ab32e 100644
--- a/drivers/gpu/drm/panel/Kconfig
+++ b/drivers/gpu/drm/panel/Kconfig
@@ -260,12 +260,20 @@ config DRM_PANEL_ILITEK_ILI9805
config DRM_PANEL_ILITEK_ILI9806E
tristate "Ilitek ILI9806E-based panels"
depends on OF
- depends on DRM_MIPI_DSI
depends on BACKLIGHT_CLASS_DEVICE
help
Say Y if you want to enable support for panels based on the
Ilitek ILI9806E controller.
+config DRM_PANEL_ILITEK_ILI9806E_DSI
+ tristate "Ilitek ILI9806E DSI panel"
+ depends on DRM_MIPI_DSI
+ depends on DRM_PANEL_ILITEK_ILI9806E
+ default DRM_PANEL_ILITEK_ILI9806E
+ help
+ Say Y here if you want to be able to access the Ilitek
+ ILI9806E panel using DSI.
+
config DRM_PANEL_ILITEK_ILI9881C
tristate "Ilitek ILI9881C-based panels"
depends on OF
diff --git a/drivers/gpu/drm/panel/Makefile b/drivers/gpu/drm/panel/Makefile
index b9562a6fdcb3..00071a983242 100644
--- a/drivers/gpu/drm/panel/Makefile
+++ b/drivers/gpu/drm/panel/Makefile
@@ -26,7 +26,7 @@ obj-$(CONFIG_DRM_PANEL_HYDIS_HV101HD1) += panel-hydis-hv101hd1.o
obj-$(CONFIG_DRM_PANEL_ILITEK_IL9322) += panel-ilitek-ili9322.o
obj-$(CONFIG_DRM_PANEL_ILITEK_ILI9341) += panel-ilitek-ili9341.o
obj-$(CONFIG_DRM_PANEL_ILITEK_ILI9805) += panel-ilitek-ili9805.o
-obj-$(CONFIG_DRM_PANEL_ILITEK_ILI9806E) += panel-ilitek-ili9806e.o
+obj-$(CONFIG_DRM_PANEL_ILITEK_ILI9806E_DSI) += panel-ilitek-ili9806e-dsi.o
obj-$(CONFIG_DRM_PANEL_ILITEK_ILI9881C) += panel-ilitek-ili9881c.o
obj-$(CONFIG_DRM_PANEL_ILITEK_ILI9882T) += panel-ilitek-ili9882t.o
obj-$(CONFIG_DRM_PANEL_INNOLUX_EJ030NA) += panel-innolux-ej030na.o
diff --git a/drivers/gpu/drm/panel/panel-ilitek-ili9806e.c b/drivers/gpu/drm/panel/panel-ilitek-ili9806e-dsi.c
similarity index 99%
rename from drivers/gpu/drm/panel/panel-ilitek-ili9806e.c
rename to drivers/gpu/drm/panel/panel-ilitek-ili9806e-dsi.c
index 18aa6222b0c5..e02e28b67e29 100644
--- a/drivers/gpu/drm/panel/panel-ilitek-ili9806e.c
+++ b/drivers/gpu/drm/panel/panel-ilitek-ili9806e-dsi.c
@@ -561,5 +561,5 @@ module_mipi_dsi_driver(ili9806e_dsi_driver);
MODULE_AUTHOR("Gunnar Dibbern <gunnar.dibbern@....dlh.de>");
MODULE_AUTHOR("Michael Walle <mwalle@...nel.org>");
-MODULE_DESCRIPTION("Ilitek ILI9806E Controller Driver");
+MODULE_DESCRIPTION("Ilitek ILI9806E LCD DSI Controller Driver");
MODULE_LICENSE("GPL");
--
2.43.0
Powered by blists - more mailing lists