From: David Heidelberg <[email protected]>

These panels used on sdm845 devices are using GPIOLIB functions,
ensure it's enabled.

Signed-off-by: David Heidelberg <[email protected]>
---
 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



Reply via email to