]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
drm/panel: Clean up SOFEF00 config dependencies
authorMarijn Suijten <marijn.suijten@somainline.org>
Tue, 5 May 2026 13:53:40 +0000 (15:53 +0200)
committerNeil Armstrong <neil.armstrong@linaro.org>
Tue, 5 May 2026 14:00:01 +0000 (16:00 +0200)
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>
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://patch.msgid.link/20260505-panel-clean-up-kconfig-dep-v2-1-9cc31d6e6919@ixit.cz
drivers/gpu/drm/panel/Kconfig

index 71f427c45ac9d991ea347019f980fc6de56beca7..d7473c0bd819edc3a6a4badfd2546aac84cda1cf 100644 (file)
@@ -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.