Kconfig 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  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. default DRM_SUN4I
  20. help
  21. Choose this option if you have an Allwinner A10/A10s/A20/A31
  22. SoC with an HDMI controller.
  23. config DRM_SUN4I_HDMI_CEC
  24. bool "Allwinner A10/A10s/A20/A31 HDMI CEC Support"
  25. depends on DRM_SUN4I_HDMI
  26. select CEC_CORE
  27. select CEC_PIN
  28. help
  29. Choose this option if you have an Allwinner A10/A10s/A20/A31
  30. SoC with an HDMI controller and want to use CEC.
  31. config DRM_SUN4I_BACKEND
  32. tristate "Support for Allwinner A10 Display Engine Backend"
  33. depends on ARM || COMPILE_TEST
  34. default DRM_SUN4I
  35. help
  36. Choose this option if you have an Allwinner SoC with the
  37. original Allwinner Display Engine, which has a backend to
  38. do some alpha blending and feed graphics to TCON. If M is
  39. selected the module will be called sun4i-backend.
  40. config DRM_SUN6I_DSI
  41. tristate "Allwinner A31/A64 MIPI-DSI Controller Support"
  42. default DRM_SUN4I
  43. select CRC_CCITT
  44. select DRM_MIPI_DSI
  45. select RESET_CONTROLLER
  46. select PHY_SUN6I_MIPI_DPHY
  47. help
  48. Choose this option if you want have an Allwinner SoC with
  49. MIPI-DSI support. If M is selected the module will be called
  50. sun6i_mipi_dsi.
  51. config DRM_SUN8I_DW_HDMI
  52. tristate "Support for Allwinner version of DesignWare HDMI"
  53. depends on DRM_SUN4I
  54. default DRM_SUN4I
  55. select DRM_DW_HDMI
  56. help
  57. Choose this option if you have an Allwinner SoC with the
  58. DesignWare HDMI controller. SoCs that support HDMI and
  59. have a Display Engine 2.0 contain this controller. If M is
  60. selected the module will be called sun8i_dw_hdmi.
  61. config DRM_SUN8I_MIXER
  62. tristate "Support for Allwinner Display Engine 2.0 Mixer"
  63. default DRM_SUN4I
  64. help
  65. Choose this option if you have an Allwinner SoC with the
  66. Allwinner Display Engine 2.0, which has a mixer to do some
  67. graphics mixture and feed graphics to TCON, If M is
  68. selected the module will be called sun8i-mixer.
  69. config DRM_SUN8I_TCON_TOP
  70. tristate
  71. default DRM_SUN4I if DRM_SUN8I_MIXER!=n
  72. help
  73. TCON TOP is responsible for configuring display pipeline for
  74. HDMI, TVE and LCD.
  75. endif