Merge tag 'drm-next-20221122' of git://linuxtv.org/pinchartl/media into drm-next
[platform/kernel/linux-rpi.git] / drivers / gpu / drm / rcar-du / Kconfig
index 3a57d8d..b2bddbe 100644 (file)
@@ -42,13 +42,18 @@ config DRM_RCAR_LVDS
        select DRM_KMS_HELPER
        select DRM_PANEL
 
-config DRM_RCAR_MIPI_DSI
-       tristate "R-Car DU MIPI DSI Encoder Support"
-       depends on DRM && DRM_BRIDGE && OF
-       select DRM_MIPI_DSI
+config DRM_RCAR_USE_MIPI_DSI
+       bool "R-Car DU MIPI DSI Encoder Support"
+       depends on DRM_BRIDGE && OF
+       default DRM_RCAR_DU
        help
          Enable support for the R-Car Display Unit embedded MIPI DSI encoders.
 
+config DRM_RCAR_MIPI_DSI
+       def_tristate DRM_RCAR_DU
+       depends on DRM_RCAR_USE_MIPI_DSI
+       select DRM_MIPI_DSI
+
 config DRM_RZG2L_MIPI_DSI
        tristate "RZ/G2L MIPI DSI Encoder Support"
        depends on DRM && DRM_BRIDGE && OF