From: David Heidelberg <[email protected]>

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 <[email protected]>
---
 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
@@ -849,11 +849,17 @@ config DRM_PANEL_SAMSUNG_S6E3HA2
 
 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"

-- 
2.51.0



Reply via email to