Kconfig 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. # SPDX-License-Identifier: GPL-2.0-only
  2. config DRM_SUN4I
  3. tristate "DRM Support for Allwinner A10 Display Engine"
  4. depends on DRM && COMMON_CLK
  5. depends on ARCH_SUNXI || COMPILE_TEST
  6. select DRM_GEM_DMA_HELPER
  7. select DRM_KMS_HELPER
  8. select DRM_PANEL
  9. select REGMAP_MMIO
  10. select VIDEOMODE_HELPERS
  11. help
  12. Choose this option if you have an Allwinner SoC with a
  13. Display Engine. If M is selected the module will be called
  14. sun4i-drm.
  15. if DRM_SUN4I
  16. config DRM_SUN4I_HDMI
  17. tristate "Allwinner A10/A10s/A20/A31 HDMI Controller Support"
  18. depends on ARM || COMPILE_TEST
  19. select DRM_DISPLAY_HDMI_HELPER
  20. select DRM_DISPLAY_HDMI_STATE_HELPER
  21. select DRM_DISPLAY_HELPER
  22. default DRM_SUN4I
  23. help
  24. Choose this option if you have an Allwinner A10/A10s/A20/A31
  25. SoC with an HDMI controller.
  26. config DRM_SUN4I_HDMI_CEC
  27. bool "Allwinner A10/A10s/A20/A31 HDMI CEC Support"
  28. depends on DRM_SUN4I_HDMI
  29. select CEC_CORE
  30. select CEC_PIN
  31. help
  32. Choose this option if you have an Allwinner A10/A10s/A20/A31
  33. SoC with an HDMI controller and want to use CEC.
  34. config DRM_SUN4I_BACKEND
  35. tristate "Support for Allwinner A10 Display Engine Backend"
  36. depends on ARM || COMPILE_TEST
  37. default DRM_SUN4I
  38. help
  39. Choose this option if you have an Allwinner SoC with the
  40. original Allwinner Display Engine, which has a backend to
  41. do some alpha blending and feed graphics to TCON. If M is
  42. selected the module will be called sun4i-backend.
  43. config DRM_SUN6I_DSI
  44. tristate "Allwinner A31/A64 MIPI-DSI Controller Support"
  45. default DRM_SUN4I
  46. select CRC_CCITT
  47. select DRM_MIPI_DSI
  48. select RESET_CONTROLLER
  49. select PHY_SUN6I_MIPI_DPHY
  50. help
  51. Choose this option if you want have an Allwinner SoC with
  52. MIPI-DSI support. If M is selected the module will be called
  53. sun6i_mipi_dsi.
  54. config DRM_SUN8I_DW_HDMI
  55. tristate "Support for Allwinner version of DesignWare HDMI"
  56. depends on DRM_SUN4I
  57. default DRM_SUN4I
  58. select DRM_DW_HDMI
  59. help
  60. Choose this option if you have an Allwinner SoC with the
  61. DesignWare HDMI controller. SoCs that support HDMI and
  62. have a Display Engine 2.0 contain this controller. If M is
  63. selected the module will be called sun8i_dw_hdmi.
  64. config DRM_SUN8I_MIXER
  65. tristate "Support for Allwinner Display Engine 2.0 Mixer"
  66. default DRM_SUN4I
  67. help
  68. Choose this option if you have an Allwinner SoC with the
  69. Allwinner Display Engine 2.0, which has a mixer to do some
  70. graphics mixture and feed graphics to TCON, If M is
  71. selected the module will be called sun8i-mixer.
  72. config DRM_SUN8I_TCON_TOP
  73. tristate
  74. default DRM_SUN4I if DRM_SUN8I_MIXER!=n
  75. help
  76. TCON TOP is responsible for configuring display pipeline for
  77. HDMI, TVE and LCD.
  78. endif