Kconfig 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  1. # SPDX-License-Identifier: GPL-2.0-only
  2. config DRM_ROCKCHIP
  3. tristate "DRM Support for Rockchip"
  4. depends on DRM && ROCKCHIP_IOMMU
  5. select DRM_GEM_DMA_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 GENERIC_PHY if ROCKCHIP_DW_MIPI_DSI
  13. select GENERIC_PHY_MIPI_DPHY if ROCKCHIP_DW_MIPI_DSI
  14. select SND_SOC_HDMI_CODEC if ROCKCHIP_CDN_DP && SND_SOC
  15. help
  16. Choose this option if you have a Rockchip soc chipset.
  17. This driver provides kernel mode setting and buffer
  18. management to userspace. This driver does not provide
  19. 2D or 3D acceleration; acceleration is performed by other
  20. IP found on the SoC.
  21. if DRM_ROCKCHIP
  22. config ROCKCHIP_VOP
  23. bool "Rockchip VOP driver"
  24. default y
  25. help
  26. This selects support for the VOP driver. You should enable it
  27. on older SoCs.
  28. config ROCKCHIP_VOP2
  29. bool "Rockchip VOP2 driver"
  30. help
  31. This selects support for the VOP2 driver. The VOP2 hardware is
  32. first found on the RK3568.
  33. config ROCKCHIP_ANALOGIX_DP
  34. bool "Rockchip specific extensions for Analogix DP driver"
  35. depends on ROCKCHIP_VOP
  36. select DRM_DISPLAY_HELPER
  37. select DRM_DISPLAY_DP_HELPER
  38. help
  39. This selects support for Rockchip SoC specific extensions
  40. for the Analogix Core DP driver. If you want to enable DP
  41. on RK3288 or RK3399 based SoC, you should select this option.
  42. config ROCKCHIP_CDN_DP
  43. bool "Rockchip cdn DP"
  44. depends on EXTCON=y || (EXTCON=m && DRM_ROCKCHIP=m)
  45. select DRM_DISPLAY_HELPER
  46. select DRM_DISPLAY_DP_HELPER
  47. help
  48. This selects support for Rockchip SoC specific extensions
  49. for the cdn DP driver. If you want to enable Dp on
  50. RK3399 based SoC, you should select this
  51. option.
  52. config ROCKCHIP_DW_HDMI
  53. bool "Rockchip specific extensions for Synopsys DW HDMI"
  54. help
  55. This selects support for Rockchip SoC specific extensions
  56. for the Synopsys DesignWare HDMI driver. If you want to
  57. enable HDMI on RK3288 or RK3399 based SoC, you should select
  58. this option.
  59. config ROCKCHIP_DW_MIPI_DSI
  60. bool "Rockchip specific extensions for Synopsys DW MIPI DSI"
  61. select GENERIC_PHY_MIPI_DPHY
  62. help
  63. This selects support for Rockchip SoC specific extensions
  64. for the Synopsys DesignWare dsi driver. If you want to
  65. enable MIPI DSI on RK3288 or RK3399 based SoC, you should
  66. select this option.
  67. config ROCKCHIP_INNO_HDMI
  68. bool "Rockchip specific extensions for Innosilicon HDMI"
  69. select DRM_DISPLAY_HDMI_HELPER
  70. select DRM_DISPLAY_HDMI_STATE_HELPER
  71. select DRM_DISPLAY_HELPER
  72. help
  73. This selects support for Rockchip SoC specific extensions
  74. for the Innosilicon HDMI driver. If you want to enable
  75. HDMI on RK3036 based SoC, you should select this option.
  76. config ROCKCHIP_LVDS
  77. bool "Rockchip LVDS support"
  78. depends on DRM_ROCKCHIP
  79. depends on PINCTRL && OF
  80. select DRM_DISPLAY_HELPER
  81. select DRM_BRIDGE_CONNECTOR
  82. help
  83. Choose this option to enable support for Rockchip LVDS controllers.
  84. Rockchip rk3288 SoC has LVDS TX Controller can be used, and it
  85. support LVDS, rgb, dual LVDS output mode. say Y to enable its
  86. driver.
  87. config ROCKCHIP_RGB
  88. bool "Rockchip RGB support"
  89. depends on DRM_ROCKCHIP
  90. depends on PINCTRL
  91. select DRM_DISPLAY_HELPER
  92. select DRM_BRIDGE_CONNECTOR
  93. help
  94. Choose this option to enable support for Rockchip RGB output.
  95. Some Rockchip CRTCs, like rv1108, can directly output parallel
  96. and serial RGB format to panel or connect to a conversion chip.
  97. say Y to enable its driver.
  98. config ROCKCHIP_RK3066_HDMI
  99. bool "Rockchip specific extensions for RK3066 HDMI"
  100. depends on DRM_ROCKCHIP
  101. help
  102. This selects support for Rockchip SoC specific extensions
  103. for the RK3066 HDMI driver. If you want to enable
  104. HDMI on RK3066 based SoC, you should select this option.
  105. endif