Kconfig 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  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_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. if DRM_ROCKCHIP
  21. config ROCKCHIP_ANALOGIX_DP
  22. bool "Rockchip specific extensions for Analogix DP driver"
  23. help
  24. This selects support for Rockchip SoC specific extensions
  25. for the Analogix Core DP driver. If you want to enable DP
  26. on RK3288 or RK3399 based SoC, you should select this option.
  27. config ROCKCHIP_CDN_DP
  28. bool "Rockchip cdn DP"
  29. depends on EXTCON=y || (EXTCON=m && DRM_ROCKCHIP=m)
  30. help
  31. This selects support for Rockchip SoC specific extensions
  32. for the cdn DP driver. If you want to enable Dp on
  33. RK3399 based SoC, you should select this
  34. option.
  35. config ROCKCHIP_DW_HDMI
  36. bool "Rockchip specific extensions for Synopsys DW HDMI"
  37. help
  38. This selects support for Rockchip SoC specific extensions
  39. for the Synopsys DesignWare HDMI driver. If you want to
  40. enable HDMI on RK3288 or RK3399 based SoC, you should select
  41. this option.
  42. config ROCKCHIP_DW_MIPI_DSI
  43. bool "Rockchip specific extensions for Synopsys DW MIPI DSI"
  44. select GENERIC_PHY_MIPI_DPHY
  45. help
  46. This selects support for Rockchip SoC specific extensions
  47. for the Synopsys DesignWare HDMI driver. If you want to
  48. enable MIPI DSI on RK3288 or RK3399 based SoC, you should
  49. select this option.
  50. config ROCKCHIP_INNO_HDMI
  51. bool "Rockchip specific extensions for Innosilicon HDMI"
  52. help
  53. This selects support for Rockchip SoC specific extensions
  54. for the Innosilicon HDMI driver. If you want to enable
  55. HDMI on RK3036 based SoC, you should select this option.
  56. config ROCKCHIP_LVDS
  57. bool "Rockchip LVDS support"
  58. depends on DRM_ROCKCHIP
  59. depends on PINCTRL && OF
  60. help
  61. Choose this option to enable support for Rockchip LVDS controllers.
  62. Rockchip rk3288 SoC has LVDS TX Controller can be used, and it
  63. support LVDS, rgb, dual LVDS output mode. say Y to enable its
  64. driver.
  65. config ROCKCHIP_RGB
  66. bool "Rockchip RGB support"
  67. depends on DRM_ROCKCHIP
  68. depends on PINCTRL
  69. help
  70. Choose this option to enable support for Rockchip RGB output.
  71. Some Rockchip CRTCs, like rv1108, can directly output parallel
  72. and serial RGB format to panel or connect to a conversion chip.
  73. say Y to enable its driver.
  74. config ROCKCHIP_RK3066_HDMI
  75. bool "Rockchip specific extensions for RK3066 HDMI"
  76. depends on DRM_ROCKCHIP
  77. help
  78. This selects support for Rockchip SoC specific extensions
  79. for the RK3066 HDMI driver. If you want to enable
  80. HDMI on RK3066 based SoC, you should select this option.
  81. endif