drm/rockchip: select hdmi codec when enable inno_hdmi
[firefly-linux-kernel-4.4.55.git] / drivers / gpu / drm / rockchip / Kconfig
index d4c6a89b548ec2bc3b3d460c9a81acc214175b30..94283b2152d25800bc07d287a51618e4fe060e59 100644 (file)
@@ -1,7 +1,6 @@
 config DRM_ROCKCHIP
        tristate "DRM Support for Rockchip"
-       depends on BROKEN
-       depends on DRM && ROCKCHIP_IOMMU
+       depends on DRM && IOMMU_DMA
        depends on RESET_CONTROLLER
        select DRM_KMS_HELPER
        select DRM_KMS_FB_HELPER
@@ -17,6 +16,15 @@ config DRM_ROCKCHIP
          2D or 3D acceleration; acceleration is performed by other
          IP found on the SoC.
 
+config ROCKCHIP_DRM_RGA
+       tristate "Rockchip RGA support"
+       depends on DRM_ROCKCHIP
+       help
+         Choose this option to enable support for Rockchip RGA.
+         Rockchip RGA is a kind of hardware 2D accelerator, and it support
+         solid roration, scaling, color format transform, say Y to enable its
+         driver
+
 config ROCKCHIP_DW_HDMI
         tristate "Rockchip specific extensions for Synopsys DW HDMI"
         depends on DRM_ROCKCHIP
@@ -45,3 +53,21 @@ config ROCKCHIP_ANALOGIX_DP
          This selects support for Rockchip SoC specific extensions
          for the Analogix Core DP driver. If you want to enable DP
          on RK3288 based SoC, you should selet this option.
+
+config ROCKCHIP_INNO_HDMI
+       tristate "Rockchip specific extensions for Innosilicon HDMI"
+       depends on DRM_ROCKCHIP
+       select SND_SOC_HDMI_CODEC
+       help
+         This selects support for Rockchip SoC specific extensions
+         for the Innosilicon HDMI driver. If you want to enable
+         HDMI on RK3036 based SoC, you should select this option.
+
+config ROCKCHIP_LVDS
+       tristate "Rockchip LVDS support"
+       depends on DRM_ROCKCHIP
+       help
+         Choose this option to enable support for Rockchip LVDS controllers.
+         Rockchip rk3288 SoC has LVDS TX Controller can be used, and it
+         support LVDS, rgb, dual LVDS output mode. say Y to enable its
+         driver.