* [PATCH RESEND 1/4] drm/panel: Clean up SOFEF00 config dependencies
2026-04-22 9:48 [PATCH RESEND 0/4] drm/panel: Small Kconfig cleanup David Heidelberg via B4 Relay
@ 2026-04-22 9:48 ` David Heidelberg via B4 Relay
2026-04-22 9:48 ` [PATCH RESEND 2/4] drm/panel: Clean up S6E3FC2X01 " David Heidelberg via B4 Relay
` (2 subsequent siblings)
3 siblings, 0 replies; 8+ messages in thread
From: David Heidelberg via B4 Relay @ 2026-04-22 9:48 UTC (permalink / raw)
To: Neil Armstrong, Jessica Zhang, Maarten Lankhorst, Maxime Ripard,
Thomas Zimmermann, David Airlie, Simona Vetter, Dmitry Baryshkov,
Dzmitry Sankouski, Sam Ravnborg
Cc: Casey Connolly, marijn.suijten, dri-devel, linux-kernel,
phone-devel, David Heidelberg
From: Marijn Suijten <marijn.suijten@somainline.org>
As per the config name this Display IC features a DSI command-mode
interface (or the command to switch to video mode is not
known/documented) and does not use any of the video-mode helper
utilities, hence should not select VIDEOMODE_HELPERS. In addition it
uses devm_gpiod_get() and related functions from GPIOLIB.
Fixes: 5933baa36e26 ("drm/panel/samsung-sofef00: Add panel for OnePlus 6/T devices")
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Reviewed-by: Casey Connolly <casey.connolly@linaro.org>
Reviewed-by: David Heidelberg <david@ixit.cz>
Signed-off-by: Marijn Suijten <marijn.suijten@somainline.org>
---
drivers/gpu/drm/panel/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/panel/Kconfig b/drivers/gpu/drm/panel/Kconfig
index 79264f7bbd0e2..2fd3222ba2e3b 100644
--- a/drivers/gpu/drm/panel/Kconfig
+++ b/drivers/gpu/drm/panel/Kconfig
@@ -904,20 +904,20 @@ config DRM_PANEL_SAMSUNG_S6E8AA5X01_AMS561RA01
help
Say Y here if you want to enable support for Samsung AMS561RA01
panel, which uses Samsung's S6E8AA5X01 controller. The panel has a
~5.6 inch AMOLED display, and the controller is driven by the MIPI
DSI protocol with 4 lanes.
config DRM_PANEL_SAMSUNG_SOFEF00
tristate "Samsung SOFEF00 DSI panel controller"
+ depends on GPIOLIB
depends on OF
depends on DRM_MIPI_DSI
depends on BACKLIGHT_CLASS_DEVICE
- select VIDEOMODE_HELPERS
help
Say Y or M here if you want to enable support for the Samsung AMOLED
panel SOFEF00 DDIC and connected panel.
Currently supported panels:
Samsung AMS628NW01 (found in OnePlus 6, 1080x2280@60Hz)
config DRM_PANEL_SEIKO_43WVF1G
--
2.53.0
^ permalink raw reply [flat|nested] 8+ messages in thread* [PATCH RESEND 2/4] drm/panel: Clean up S6E3FC2X01 config dependencies
2026-04-22 9:48 [PATCH RESEND 0/4] drm/panel: Small Kconfig cleanup David Heidelberg via B4 Relay
2026-04-22 9:48 ` [PATCH RESEND 1/4] drm/panel: Clean up SOFEF00 config dependencies David Heidelberg via B4 Relay
@ 2026-04-22 9:48 ` David Heidelberg via B4 Relay
2026-04-24 9:32 ` Neil Armstrong
2026-04-22 9:48 ` [PATCH RESEND 3/4] drm/panel: Clean up S6E3HA2 config dependencies and fill help text David Heidelberg via B4 Relay
2026-04-22 9:48 ` [PATCH RESEND 4/4] drm/panel: Enable GPIOLIB for panels which uses functions from it David Heidelberg via B4 Relay
3 siblings, 1 reply; 8+ messages in thread
From: David Heidelberg via B4 Relay @ 2026-04-22 9:48 UTC (permalink / raw)
To: Neil Armstrong, Jessica Zhang, Maarten Lankhorst, Maxime Ripard,
Thomas Zimmermann, David Airlie, Simona Vetter, Dmitry Baryshkov,
Dzmitry Sankouski, Sam Ravnborg
Cc: Casey Connolly, marijn.suijten, dri-devel, linux-kernel,
phone-devel, David Heidelberg
From: David Heidelberg <david@ixit.cz>
As per the config name this Display IC features a DSI command-mode
interface (or the command to switch to video mode is not
known/documented) and does not use any of the video-mode helper
utilities, hence should not select VIDEOMODE_HELPERS. In addition it
uses devm_gpiod_get() and related functions from GPIOLIB.
Fixes: 88148c30ef26 ("drm/panel: Add Samsung S6E3FC2X01 DDIC with AMS641RW panel")
Signed-off-by: David Heidelberg <david@ixit.cz>
---
drivers/gpu/drm/panel/Kconfig | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/panel/Kconfig b/drivers/gpu/drm/panel/Kconfig
index 2fd3222ba2e3b..a81ea7755c03f 100644
--- a/drivers/gpu/drm/panel/Kconfig
+++ b/drivers/gpu/drm/panel/Kconfig
@@ -825,20 +825,19 @@ config DRM_PANEL_SAMSUNG_S6D7AA0
tristate "Samsung S6D7AA0 MIPI-DSI video mode panel controller"
depends on OF
depends on BACKLIGHT_CLASS_DEVICE
select DRM_MIPI_DSI
select VIDEOMODE_HELPERS
config DRM_PANEL_SAMSUNG_S6E3FC2X01
tristate "Samsung S6E3FC2X01 DSI panel controller"
- depends on OF
+ depends on OF && GPIOLIB
depends on DRM_MIPI_DSI
depends on BACKLIGHT_CLASS_DEVICE
- select VIDEOMODE_HELPERS
help
Say Y or M here if you want to enable support for the
Samsung S6E3FC2 DDIC and connected MIPI DSI panel.
Currently supported panels:
Samsung AMS641RW (found in the OnePlus 6T smartphone)
config DRM_PANEL_SAMSUNG_S6E3HA2
--
2.53.0
^ permalink raw reply [flat|nested] 8+ messages in thread* Re: [PATCH RESEND 2/4] drm/panel: Clean up S6E3FC2X01 config dependencies
2026-04-22 9:48 ` [PATCH RESEND 2/4] drm/panel: Clean up S6E3FC2X01 " David Heidelberg via B4 Relay
@ 2026-04-24 9:32 ` Neil Armstrong
2026-04-25 14:57 ` David Heidelberg
0 siblings, 1 reply; 8+ messages in thread
From: Neil Armstrong @ 2026-04-24 9:32 UTC (permalink / raw)
To: david, Jessica Zhang, Maarten Lankhorst, Maxime Ripard,
Thomas Zimmermann, David Airlie, Simona Vetter, Dmitry Baryshkov,
Dzmitry Sankouski, Sam Ravnborg
Cc: Casey Connolly, marijn.suijten, dri-devel, linux-kernel, phone-devel
On 4/22/26 11:48, David Heidelberg via B4 Relay wrote:
> From: David Heidelberg <david@ixit.cz>
>
> As per the config name this Display IC features a DSI command-mode
> interface (or the command to switch to video mode is not
> known/documented) and does not use any of the video-mode helper
> utilities, hence should not select VIDEOMODE_HELPERS. In addition it
> uses devm_gpiod_get() and related functions from GPIOLIB.
>
> Fixes: 88148c30ef26 ("drm/panel: Add Samsung S6E3FC2X01 DDIC with AMS641RW panel")
> Signed-off-by: David Heidelberg <david@ixit.cz>
> ---
> drivers/gpu/drm/panel/Kconfig | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/drivers/gpu/drm/panel/Kconfig b/drivers/gpu/drm/panel/Kconfig
> index 2fd3222ba2e3b..a81ea7755c03f 100644
> --- a/drivers/gpu/drm/panel/Kconfig
> +++ b/drivers/gpu/drm/panel/Kconfig
> @@ -825,20 +825,19 @@ config DRM_PANEL_SAMSUNG_S6D7AA0
> tristate "Samsung S6D7AA0 MIPI-DSI video mode panel controller"
> depends on OF
> depends on BACKLIGHT_CLASS_DEVICE
> select DRM_MIPI_DSI
> select VIDEOMODE_HELPERS
>
> config DRM_PANEL_SAMSUNG_S6E3FC2X01
> tristate "Samsung S6E3FC2X01 DSI panel controller"
> - depends on OF
> + depends on OF && GPIOLIB
Why OF && GPIOLIB and not on separate depends ?
> depends on DRM_MIPI_DSI
> depends on BACKLIGHT_CLASS_DEVICE
> - select VIDEOMODE_HELPERS
> help
> Say Y or M here if you want to enable support for the
> Samsung S6E3FC2 DDIC and connected MIPI DSI panel.
> Currently supported panels:
>
> Samsung AMS641RW (found in the OnePlus 6T smartphone)
>
> config DRM_PANEL_SAMSUNG_S6E3HA2
>
^ permalink raw reply [flat|nested] 8+ messages in thread* Re: [PATCH RESEND 2/4] drm/panel: Clean up S6E3FC2X01 config dependencies
2026-04-24 9:32 ` Neil Armstrong
@ 2026-04-25 14:57 ` David Heidelberg
2026-05-05 13:28 ` Neil Armstrong
0 siblings, 1 reply; 8+ messages in thread
From: David Heidelberg @ 2026-04-25 14:57 UTC (permalink / raw)
To: Neil Armstrong, Jessica Zhang, Maarten Lankhorst, Maxime Ripard,
Thomas Zimmermann, David Airlie, Simona Vetter, Dmitry Baryshkov,
Dzmitry Sankouski, Sam Ravnborg
Cc: Casey Connolly, marijn.suijten, dri-devel, linux-kernel, phone-devel
...
>> tristate "Samsung S6E3FC2X01 DSI panel controller"
>> - depends on OF
>> + depends on OF && GPIOLIB
>
> Why OF && GPIOLIB and not on separate depends ?
No particular reason, is the multi-line syntax preferred?
David
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH RESEND 2/4] drm/panel: Clean up S6E3FC2X01 config dependencies
2026-04-25 14:57 ` David Heidelberg
@ 2026-05-05 13:28 ` Neil Armstrong
0 siblings, 0 replies; 8+ messages in thread
From: Neil Armstrong @ 2026-05-05 13:28 UTC (permalink / raw)
To: David Heidelberg, Jessica Zhang, Maarten Lankhorst,
Maxime Ripard, Thomas Zimmermann, David Airlie, Simona Vetter,
Dmitry Baryshkov, Dzmitry Sankouski, Sam Ravnborg
Cc: Casey Connolly, marijn.suijten, dri-devel, linux-kernel, phone-devel
On 4/25/26 16:57, David Heidelberg wrote:
> ...
>>> tristate "Samsung S6E3FC2X01 DSI panel controller"
>>> - depends on OF
>>> + depends on OF && GPIOLIB
>>
>> Why OF && GPIOLIB and not on separate depends ?
>
> No particular reason, is the multi-line syntax preferred?
Since OF & GPIOLIB are not strictly related, yeah please split them
Thanks,
Neil
>
> David
^ permalink raw reply [flat|nested] 8+ messages in thread
* [PATCH RESEND 3/4] drm/panel: Clean up S6E3HA2 config dependencies and fill help text
2026-04-22 9:48 [PATCH RESEND 0/4] drm/panel: Small Kconfig cleanup David Heidelberg via B4 Relay
2026-04-22 9:48 ` [PATCH RESEND 1/4] drm/panel: Clean up SOFEF00 config dependencies David Heidelberg via B4 Relay
2026-04-22 9:48 ` [PATCH RESEND 2/4] drm/panel: Clean up S6E3FC2X01 " David Heidelberg via B4 Relay
@ 2026-04-22 9:48 ` David Heidelberg via B4 Relay
2026-04-22 9:48 ` [PATCH RESEND 4/4] drm/panel: Enable GPIOLIB for panels which uses functions from it David Heidelberg via B4 Relay
3 siblings, 0 replies; 8+ messages in thread
From: David Heidelberg via B4 Relay @ 2026-04-22 9:48 UTC (permalink / raw)
To: Neil Armstrong, Jessica Zhang, Maarten Lankhorst, Maxime Ripard,
Thomas Zimmermann, David Airlie, Simona Vetter, Dmitry Baryshkov,
Dzmitry Sankouski, Sam Ravnborg
Cc: Casey Connolly, marijn.suijten, dri-devel, linux-kernel,
phone-devel, David Heidelberg
From: David Heidelberg <david@ixit.cz>
As per the config name this Display IC features a DSI command-mode
interface (or the command to switch to video mode is not
known/documented) and does not use any of the video-mode helper
utilities, hence should not select VIDEOMODE_HELPERS. In addition it
uses devm_gpiod_get() and related functions from GPIOLIB.
Fixes: 779679d3c164 ("drm/panel: Add support for S6E3HA8 panel driver")
Signed-off-by: David Heidelberg <david@ixit.cz>
---
drivers/gpu/drm/panel/Kconfig | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/panel/Kconfig b/drivers/gpu/drm/panel/Kconfig
index a81ea7755c03f..4e7b4808f6e7c 100644
--- a/drivers/gpu/drm/panel/Kconfig
+++ b/drivers/gpu/drm/panel/Kconfig
@@ -844,21 +844,27 @@ config DRM_PANEL_SAMSUNG_S6E3HA2
tristate "Samsung S6E3HA2 DSI video mode panel"
depends on OF
depends on DRM_MIPI_DSI
depends on BACKLIGHT_CLASS_DEVICE
select VIDEOMODE_HELPERS
config DRM_PANEL_SAMSUNG_S6E3HA8
tristate "Samsung S6E3HA8 DSI video mode panel"
- depends on OF
+ depends on OF && GPIOLIB
depends on DRM_MIPI_DSI
depends on BACKLIGHT_CLASS_DEVICE
select DRM_DISPLAY_DSC_HELPER
- select VIDEOMODE_HELPERS
+ help
+ Say Y or M here if you want to enable support for the
+ Samsung S6E3HA8 DDIC and connected MIPI DSI panel.
+ Currently supported panels:
+
+ Samsung AMB577PX01 (found in the Samsung S9 smartphone)
+
config DRM_PANEL_SAMSUNG_S6E63J0X03
tristate "Samsung S6E63J0X03 DSI command mode panel"
depends on OF
depends on DRM_MIPI_DSI
depends on BACKLIGHT_CLASS_DEVICE
select VIDEOMODE_HELPERS
--
2.53.0
^ permalink raw reply [flat|nested] 8+ messages in thread* [PATCH RESEND 4/4] drm/panel: Enable GPIOLIB for panels which uses functions from it
2026-04-22 9:48 [PATCH RESEND 0/4] drm/panel: Small Kconfig cleanup David Heidelberg via B4 Relay
` (2 preceding siblings ...)
2026-04-22 9:48 ` [PATCH RESEND 3/4] drm/panel: Clean up S6E3HA2 config dependencies and fill help text David Heidelberg via B4 Relay
@ 2026-04-22 9:48 ` David Heidelberg via B4 Relay
3 siblings, 0 replies; 8+ messages in thread
From: David Heidelberg via B4 Relay @ 2026-04-22 9:48 UTC (permalink / raw)
To: Neil Armstrong, Jessica Zhang, Maarten Lankhorst, Maxime Ripard,
Thomas Zimmermann, David Airlie, Simona Vetter, Dmitry Baryshkov,
Dzmitry Sankouski, Sam Ravnborg
Cc: Casey Connolly, marijn.suijten, dri-devel, linux-kernel,
phone-devel, David Heidelberg
From: David Heidelberg <david@ixit.cz>
These panels used on sdm845 devices are using GPIOLIB functions,
ensure it's enabled.
Signed-off-by: David Heidelberg <david@ixit.cz>
---
drivers/gpu/drm/panel/Kconfig | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/drivers/gpu/drm/panel/Kconfig b/drivers/gpu/drm/panel/Kconfig
index 4e7b4808f6e7c..3e819b4b23962 100644
--- a/drivers/gpu/drm/panel/Kconfig
+++ b/drivers/gpu/drm/panel/Kconfig
@@ -102,17 +102,17 @@ config DRM_PANEL_BOE_TV101WUM_LL2
depends on DRM_MIPI_DSI
depends on BACKLIGHT_CLASS_DEVICE
help
Say Y here if you want to support for BOE TV101WUM-LL2
WUXGA PANEL DSI Video Mode panel
config DRM_PANEL_EBBG_FT8719
tristate "EBBG FT8719 panel driver"
- depends on OF
+ depends on OF && GPIOLIB
depends on DRM_MIPI_DSI
depends on BACKLIGHT_CLASS_DEVICE
help
Say Y here if you want to enable support for the EBBG FT8719
video mode panel. Mainly found on Xiaomi Poco F1 mobile phone.
The panel has a resolution of 1080x2246. It provides a MIPI DSI
interface to the host.
@@ -427,17 +427,17 @@ config DRM_PANEL_LG_LG4573
depends on OF && SPI
select VIDEOMODE_HELPERS
help
Say Y here if you want to enable support for LG4573 RGB panel.
To compile this driver as a module, choose M here.
config DRM_PANEL_LG_SW43408
tristate "LG SW43408 panel"
- depends on OF
+ depends on OF && GPIOLIB
depends on DRM_MIPI_DSI
depends on BACKLIGHT_CLASS_DEVICE
select DRM_DISPLAY_DSC_HELPER
select DRM_DISPLAY_HELPER
help
Say Y here if you want to enable support for LG sw43408 panel.
The panel has a 1080x2160@60Hz resolution and uses 24 bit RGB per
pixel. It provides a MIPI DSI interface to the host and has a
@@ -531,27 +531,27 @@ config DRM_PANEL_NOVATEK_NT36523
depends on BACKLIGHT_CLASS_DEVICE
help
Say Y here if you want to enable support for the panels built
around the Novatek NT36523 display controller, such as some
Boe panels used in Xiaomi Mi Pad 5 and 5 Pro tablets.
config DRM_PANEL_NOVATEK_NT36672A
tristate "Novatek NT36672A DSI panel"
- depends on OF
+ depends on OF && GPIOLIB
depends on DRM_MIPI_DSI
depends on BACKLIGHT_CLASS_DEVICE
help
Say Y here if you want to enable support for the panels built
around the Novatek NT36672A display controller, such as some
Tianma panels used in a few Xiaomi Poco F1 mobile phones.
config DRM_PANEL_NOVATEK_NT36672E
tristate "Novatek NT36672E DSI panel"
- depends on OF
+ depends on OF && GPIOLIB
depends on DRM_MIPI_DSI
depends on BACKLIGHT_CLASS_DEVICE
help
Say Y here if you want to enable support for Novatek NT36672E DSI Video Mode
LCD panel module. The panel has a resolution of 1080x2408 and uses 24 bit
RGB per pixel.
config DRM_PANEL_NOVATEK_NT37801
@@ -1177,17 +1177,17 @@ config DRM_PANEL_VISIONOX_R66451
select DRM_DISPLAY_DSC_HELPER
select DRM_DISPLAY_HELPER
help
Say Y here if you want to enable support for Visionox
R66451 1080x2340 AMOLED DSI panel.
config DRM_PANEL_VISIONOX_RM69299
tristate "Visionox RM69299"
- depends on OF
+ depends on OF && GPIOLIB
depends on DRM_MIPI_DSI
depends on BACKLIGHT_CLASS_DEVICE
help
Say Y here if you want to enable support for Visionox
RM69299 DSI Video Mode panel.
config DRM_PANEL_VISIONOX_RM692E5
tristate "Visionox RM692E5"
--
2.53.0
^ permalink raw reply [flat|nested] 8+ messages in thread