Kconfig 2.7 KB

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