]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
drm/panel: Enable GPIOLIB for panels which uses functions from it
authorDavid Heidelberg <david@ixit.cz>
Tue, 5 May 2026 13:53:43 +0000 (15:53 +0200)
committerNeil Armstrong <neil.armstrong@linaro.org>
Tue, 5 May 2026 14:02:44 +0000 (16:02 +0200)
These panels used on sdm845 devices are using GPIOLIB functions,
ensure it's enabled.

Signed-off-by: David Heidelberg <david@ixit.cz>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://patch.msgid.link/20260505-panel-clean-up-kconfig-dep-v2-4-9cc31d6e6919@ixit.cz
drivers/gpu/drm/panel/Kconfig

index 89b50adf7be767ac055f79baf025b63b80e5d62c..b0e9b92e2c8466589f0faa7ccd1d13fb76979742 100644 (file)
@@ -118,6 +118,7 @@ config DRM_PANEL_CHIPWEALTH_CH13726A
 
 config DRM_PANEL_EBBG_FT8719
        tristate "EBBG FT8719 panel driver"
+       depends on GPIOLIB
        depends on OF
        depends on DRM_MIPI_DSI
        depends on BACKLIGHT_CLASS_DEVICE
@@ -368,7 +369,8 @@ config DRM_PANEL_JADARD_JD9365DA_H3
 
 config DRM_PANEL_JDI_LPM102A188A
        tristate "JDI LPM102A188A DSI panel"
-       depends on OF && GPIOLIB
+       depends on GPIOLIB
+       depends on OF
        depends on DRM_MIPI_DSI
        depends on BACKLIGHT_CLASS_DEVICE
        help
@@ -483,6 +485,7 @@ config DRM_PANEL_LG_LG4573
 
 config DRM_PANEL_LG_SW43408
        tristate "LG SW43408 panel"
+       depends on GPIOLIB
        depends on OF
        depends on DRM_MIPI_DSI
        depends on BACKLIGHT_CLASS_DEVICE
@@ -618,6 +621,7 @@ config DRM_PANEL_NOVATEK_NT36523
 
 config DRM_PANEL_NOVATEK_NT36672A
        tristate "Novatek NT36672A DSI panel"
+       depends on GPIOLIB
        depends on OF
        depends on DRM_MIPI_DSI
        depends on BACKLIGHT_CLASS_DEVICE
@@ -628,6 +632,7 @@ config DRM_PANEL_NOVATEK_NT36672A
 
 config DRM_PANEL_NOVATEK_NT36672E
        tristate "Novatek NT36672E DSI panel"
+       depends on GPIOLIB
        depends on OF
        depends on DRM_MIPI_DSI
        depends on BACKLIGHT_CLASS_DEVICE
@@ -765,7 +770,8 @@ config DRM_PANEL_RAYDIUM_RM692E5
 
 config DRM_PANEL_RAYDIUM_RM69380
        tristate "Raydium RM69380-based DSI panel"
-       depends on OF && GPIOLIB
+       depends on GPIOLIB
+       depends on OF
        depends on DRM_MIPI_DSI
        depends on BACKLIGHT_CLASS_DEVICE
        help
@@ -1290,6 +1296,7 @@ config DRM_PANEL_VISIONOX_R66451
 
 config DRM_PANEL_VISIONOX_RM69299
        tristate "Visionox RM69299"
+       depends on GPIOLIB
        depends on OF
        depends on DRM_MIPI_DSI
        depends on BACKLIGHT_CLASS_DEVICE