Kconfig 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. # SPDX-License-Identifier: GPL-2.0-only
  2. #
  3. # MediaTek SoC drivers
  4. #
  5. menu "MediaTek SoC drivers"
  6. depends on ARCH_MEDIATEK || COMPILE_TEST
  7. config MTK_CMDQ
  8. tristate "MediaTek CMDQ Support"
  9. depends on ARCH_MEDIATEK || COMPILE_TEST
  10. select MAILBOX
  11. select MTK_CMDQ_MBOX
  12. select MTK_INFRACFG
  13. help
  14. Say yes here to add support for the MediaTek Command Queue (CMDQ)
  15. driver. The CMDQ is used to help read/write registers with critical
  16. time limitation, such as updating display configuration during the
  17. vblank.
  18. config MTK_DEVAPC
  19. tristate "Mediatek Device APC Support"
  20. help
  21. Say yes here to enable support for Mediatek Device APC driver.
  22. This driver is mainly used to handle the violation which catches
  23. unexpected transaction.
  24. The violation information is logged for further analysis or
  25. countermeasures.
  26. config MTK_INFRACFG
  27. bool "MediaTek INFRACFG Support"
  28. select REGMAP
  29. help
  30. Say yes here to add support for the MediaTek INFRACFG controller. The
  31. INFRACFG controller contains various infrastructure registers not
  32. directly associated to any device.
  33. config MTK_PMIC_WRAP
  34. tristate "MediaTek PMIC Wrapper Support"
  35. depends on RESET_CONTROLLER
  36. depends on OF
  37. select REGMAP
  38. help
  39. Say yes here to add support for MediaTek PMIC Wrapper found
  40. on different MediaTek SoCs. The PMIC wrapper is a proprietary
  41. hardware to connect the PMIC.
  42. config MTK_SCPSYS
  43. bool "MediaTek SCPSYS Support"
  44. default ARCH_MEDIATEK
  45. depends on OF
  46. select REGMAP
  47. select MTK_INFRACFG
  48. select PM_GENERIC_DOMAINS if PM
  49. help
  50. Say yes here to add support for the MediaTek SCPSYS power domain
  51. driver.
  52. config MTK_SCPSYS_PM_DOMAINS
  53. bool "MediaTek SCPSYS generic power domain"
  54. default ARCH_MEDIATEK
  55. depends on PM
  56. select PM_GENERIC_DOMAINS
  57. select REGMAP
  58. help
  59. Say y here to enable power domain support.
  60. In order to meet high performance and low power requirements, the System
  61. Control Processor System (SCPSYS) has several power management related
  62. tasks in the system.
  63. config MTK_MMSYS
  64. bool "MediaTek MMSYS Support"
  65. default ARCH_MEDIATEK
  66. depends on HAS_IOMEM
  67. help
  68. Say yes here to add support for the MediaTek Multimedia
  69. Subsystem (MMSYS).
  70. config MTK_SVS
  71. tristate "MediaTek Smart Voltage Scaling(SVS)"
  72. depends on NVMEM_MTK_EFUSE && NVMEM
  73. help
  74. The Smart Voltage Scaling(SVS) engine is a piece of hardware
  75. which has several controllers(banks) for calculating suitable
  76. voltage to different power domains(CPU/GPU/CCI) according to
  77. chip process corner, temperatures and other factors. Then DVFS
  78. driver could apply SVS bank voltage to PMIC/Buck.
  79. endmenu