linux/drivers/gpu/drm/rockchip/Kconfig
<<
>>
Prefs
   1# SPDX-License-Identifier: GPL-2.0-only
   2config DRM_ROCKCHIP
   3        tristate "DRM Support for Rockchip"
   4        depends on DRM && ROCKCHIP_IOMMU
   5        select DRM_GEM_CMA_HELPER
   6        select DRM_KMS_HELPER
   7        select DRM_PANEL
   8        select VIDEOMODE_HELPERS
   9        select DRM_ANALOGIX_DP if ROCKCHIP_ANALOGIX_DP
  10        select DRM_DW_HDMI if ROCKCHIP_DW_HDMI
  11        select DRM_DW_MIPI_DSI if ROCKCHIP_DW_MIPI_DSI
  12        select DRM_RGB if ROCKCHIP_RGB
  13        select SND_SOC_HDMI_CODEC if ROCKCHIP_CDN_DP && SND_SOC
  14        help
  15          Choose this option if you have a Rockchip soc chipset.
  16          This driver provides kernel mode setting and buffer
  17          management to userspace. This driver does not provide
  18          2D or 3D acceleration; acceleration is performed by other
  19          IP found on the SoC.
  20
  21if DRM_ROCKCHIP
  22
  23config ROCKCHIP_ANALOGIX_DP
  24        bool "Rockchip specific extensions for Analogix DP driver"
  25        help
  26          This selects support for Rockchip SoC specific extensions
  27          for the Analogix Core DP driver. If you want to enable DP
  28          on RK3288 or RK3399 based SoC, you should select this option.
  29
  30config ROCKCHIP_CDN_DP
  31        bool "Rockchip cdn DP"
  32        depends on EXTCON=y || (EXTCON=m && DRM_ROCKCHIP=m)
  33        help
  34          This selects support for Rockchip SoC specific extensions
  35          for the cdn DP driver. If you want to enable Dp on
  36          RK3399 based SoC, you should select this
  37          option.
  38
  39config ROCKCHIP_DW_HDMI
  40        bool "Rockchip specific extensions for Synopsys DW HDMI"
  41        help
  42          This selects support for Rockchip SoC specific extensions
  43          for the Synopsys DesignWare HDMI driver. If you want to
  44          enable HDMI on RK3288 or RK3399 based SoC, you should select
  45          this option.
  46
  47config ROCKCHIP_DW_MIPI_DSI
  48        bool "Rockchip specific extensions for Synopsys DW MIPI DSI"
  49        select GENERIC_PHY_MIPI_DPHY
  50        help
  51          This selects support for Rockchip SoC specific extensions
  52          for the Synopsys DesignWare HDMI driver. If you want to
  53          enable MIPI DSI on RK3288 or RK3399 based SoC, you should
  54          select this option.
  55
  56config ROCKCHIP_INNO_HDMI
  57        bool "Rockchip specific extensions for Innosilicon HDMI"
  58        help
  59          This selects support for Rockchip SoC specific extensions
  60          for the Innosilicon HDMI driver. If you want to enable
  61          HDMI on RK3036 based SoC, you should select this option.
  62
  63config ROCKCHIP_LVDS
  64        bool "Rockchip LVDS support"
  65        depends on DRM_ROCKCHIP
  66        depends on PINCTRL && OF
  67        help
  68          Choose this option to enable support for Rockchip LVDS controllers.
  69          Rockchip rk3288 SoC has LVDS TX Controller can be used, and it
  70          support LVDS, rgb, dual LVDS output mode. say Y to enable its
  71          driver.
  72
  73config ROCKCHIP_RGB
  74        bool "Rockchip RGB support"
  75        depends on DRM_ROCKCHIP
  76        depends on PINCTRL
  77        help
  78          Choose this option to enable support for Rockchip RGB output.
  79          Some Rockchip CRTCs, like rv1108, can directly output parallel
  80          and serial RGB format to panel or connect to a conversion chip.
  81          say Y to enable its driver.
  82
  83config ROCKCHIP_RK3066_HDMI
  84        bool "Rockchip specific extensions for RK3066 HDMI"
  85        depends on DRM_ROCKCHIP
  86        help
  87          This selects support for Rockchip SoC specific extensions
  88          for the RK3066 HDMI driver. If you want to enable
  89          HDMI on RK3066 based SoC, you should select this option.
  90endif
  91