From: Marijn Suijten Date: Tue, 5 May 2026 13:53:40 +0000 (+0200) Subject: drm/panel: Clean up SOFEF00 config dependencies X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=e87e2357292f80d10e1a43cb910454313a5cb448;p=thirdparty%2Fkernel%2Flinux.git drm/panel: Clean up SOFEF00 config dependencies 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 Reviewed-by: Casey Connolly Reviewed-by: David Heidelberg Signed-off-by: Marijn Suijten Signed-off-by: Neil Armstrong Link: https://patch.msgid.link/20260505-panel-clean-up-kconfig-dep-v2-1-9cc31d6e6919@ixit.cz --- diff --git a/drivers/gpu/drm/panel/Kconfig b/drivers/gpu/drm/panel/Kconfig index 71f427c45ac9..d7473c0bd819 100644 --- a/drivers/gpu/drm/panel/Kconfig +++ b/drivers/gpu/drm/panel/Kconfig @@ -1015,10 +1015,10 @@ config DRM_PANEL_SAMSUNG_S6E8FC0 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.