drm/rockchip: select hdmi codec when enable inno_hdmi
[firefly-linux-kernel-4.4.55.git] / drivers / gpu / drm / rockchip / Kconfig
index 35215f6867d3d040c1646ba9c30425bcadacfa25..94283b2152d25800bc07d287a51618e4fe060e59 100644 (file)
@@ -1,6 +1,6 @@
 config DRM_ROCKCHIP
        tristate "DRM Support for Rockchip"
 config DRM_ROCKCHIP
        tristate "DRM Support for Rockchip"
-       depends on DRM && ROCKCHIP_IOMMU
+       depends on DRM && IOMMU_DMA
        depends on RESET_CONTROLLER
        select DRM_KMS_HELPER
        select DRM_KMS_FB_HELPER
        depends on RESET_CONTROLLER
        select DRM_KMS_HELPER
        select DRM_KMS_FB_HELPER
@@ -16,6 +16,15 @@ config DRM_ROCKCHIP
          2D or 3D acceleration; acceleration is performed by other
          IP found on the SoC.
 
          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
 config ROCKCHIP_DW_HDMI
         tristate "Rockchip specific extensions for Synopsys DW HDMI"
         depends on DRM_ROCKCHIP
@@ -25,3 +34,40 @@ config ROCKCHIP_DW_HDMI
          for the Synopsys DesignWare HDMI driver. If you want to
          enable HDMI on RK3288 based SoC, you should selet this
          option.
          for the Synopsys DesignWare HDMI driver. If you want to
          enable HDMI on RK3288 based SoC, you should selet this
          option.
+
+config ROCKCHIP_DW_MIPI_DSI
+       tristate "Rockchip specific extensions for Synopsys DW MIPI DSI"
+       depends on DRM_ROCKCHIP
+       select DRM_MIPI_DSI
+       help
+        This selects support for Rockchip SoC specific extensions
+        for the Synopsys DesignWare HDMI driver. If you want to
+        enable MIPI DSI on RK3288 based SoC, you should selet this
+        option.
+
+config ROCKCHIP_ANALOGIX_DP
+       tristate "Rockchip specific extensions for Analogix DP driver"
+       depends on DRM_ROCKCHIP
+       select DRM_ANALOGIX_DP
+       help
+         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.