Merge tag 'backport/v3.14.24-ltsi-rc1/phy-rcar-gen2-usb-to-v3.15' into backport/v3...
[platform/adaptation/renesas_rcar/renesas_kernel.git] / drivers / gpu / drm / rcar-du / Kconfig
index d8e835a..c96f608 100644 (file)
@@ -1,10 +1,12 @@
 config DRM_RCAR_DU
        tristate "DRM Support for R-Car Display Unit"
        depends on DRM && ARM
+       depends on ARCH_SHMOBILE || COMPILE_TEST
        select DRM_KMS_HELPER
        select DRM_KMS_CMA_HELPER
        select DRM_GEM_CMA_HELPER
        select DRM_KMS_FB_HELPER
+       select VIDEOMODE_HELPERS
        help
          Choose this option if you have an R-Car chipset.
          If M is selected the module will be called rcar-du-drm.
@@ -12,6 +14,7 @@ config DRM_RCAR_DU
 config DRM_RCAR_LVDS
        bool "R-Car DU LVDS Encoder Support"
        depends on DRM_RCAR_DU
+       depends on ARCH_R8A7790 || ARCH_R8A7791 || COMPILE_TEST
        help
          Enable support the R-Car Display Unit embedded LVDS encoders
          (currently only on R8A7790).