Kconfig 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  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_REGULATOR_COUPLER
  43. bool "MediaTek SoC Regulator Coupler" if COMPILE_TEST
  44. default ARCH_MEDIATEK
  45. depends on REGULATOR
  46. config MTK_MMSYS
  47. tristate "MediaTek MMSYS Support"
  48. default ARCH_MEDIATEK
  49. depends on HAS_IOMEM
  50. depends on MTK_CMDQ || MTK_CMDQ=n
  51. help
  52. Say yes here to add support for the MediaTek Multimedia
  53. Subsystem (MMSYS).
  54. config MTK_SVS
  55. tristate "MediaTek Smart Voltage Scaling(SVS)"
  56. depends on NVMEM_MTK_EFUSE && NVMEM
  57. help
  58. The Smart Voltage Scaling(SVS) engine is a piece of hardware
  59. which has several controllers(banks) for calculating suitable
  60. voltage to different power domains(CPU/GPU/CCI) according to
  61. chip process corner, temperatures and other factors. Then DVFS
  62. driver could apply SVS bank voltage to PMIC/Buck.
  63. config MTK_SOCINFO
  64. tristate "MediaTek SoC Information"
  65. default y
  66. depends on NVMEM_MTK_EFUSE
  67. select SOC_BUS
  68. help
  69. The MediaTek SoC Information (mtk-socinfo) driver provides
  70. information about the SoC to the userspace including the
  71. manufacturer name, marketing name and soc name.
  72. endmenu