Kconfig 2.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  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_DVFSRC
  27. tristate "MediaTek DVFSRC Support"
  28. depends on ARCH_MEDIATEK
  29. help
  30. Say yes here to add support for the MediaTek Dynamic Voltage
  31. and Frequency Scaling Resource Collector (DVFSRC): a HW
  32. IP found on many MediaTek SoCs, which is responsible for
  33. collecting DVFS requests from various SoC IPs, other than
  34. software, and performing bandwidth scaling to provide the
  35. best achievable performance-per-watt.
  36. config MTK_INFRACFG
  37. bool "MediaTek INFRACFG Support"
  38. select REGMAP
  39. help
  40. Say yes here to add support for the MediaTek INFRACFG controller. The
  41. INFRACFG controller contains various infrastructure registers not
  42. directly associated to any device.
  43. config MTK_PMIC_WRAP
  44. tristate "MediaTek PMIC Wrapper Support"
  45. depends on RESET_CONTROLLER
  46. depends on OF
  47. select REGMAP
  48. help
  49. Say yes here to add support for MediaTek PMIC Wrapper found
  50. on different MediaTek SoCs. The PMIC wrapper is a proprietary
  51. hardware to connect the PMIC.
  52. config MTK_REGULATOR_COUPLER
  53. bool "MediaTek SoC Regulator Coupler" if COMPILE_TEST
  54. default ARCH_MEDIATEK
  55. depends on REGULATOR
  56. config MTK_MMSYS
  57. tristate "MediaTek MMSYS Support"
  58. default ARCH_MEDIATEK
  59. depends on HAS_IOMEM
  60. depends on MTK_CMDQ || MTK_CMDQ=n
  61. help
  62. Say yes here to add support for the MediaTek Multimedia
  63. Subsystem (MMSYS).
  64. config MTK_SVS
  65. tristate "MediaTek Smart Voltage Scaling(SVS)"
  66. depends on NVMEM_MTK_EFUSE && NVMEM
  67. help
  68. The Smart Voltage Scaling(SVS) engine is a piece of hardware
  69. which has several controllers(banks) for calculating suitable
  70. voltage to different power domains(CPU/GPU/CCI) according to
  71. chip process corner, temperatures and other factors. Then DVFS
  72. driver could apply SVS bank voltage to PMIC/Buck.
  73. config MTK_SOCINFO
  74. tristate "MediaTek SoC Information"
  75. default y
  76. depends on NVMEM_MTK_EFUSE
  77. select SOC_BUS
  78. help
  79. The MediaTek SoC Information (mtk-socinfo) driver provides
  80. information about the SoC to the userspace including the
  81. manufacturer name, marketing name and soc name.
  82. endmenu