0001 # SPDX-License-Identifier: GPL-2.0-only
0002 #
0003 # MediaTek SoC drivers
0004 #
0005 menu "MediaTek SoC drivers"
0006 depends on ARCH_MEDIATEK || COMPILE_TEST
0007
0008 config MTK_CMDQ
0009 tristate "MediaTek CMDQ Support"
0010 depends on ARCH_MEDIATEK || COMPILE_TEST
0011 select MAILBOX
0012 select MTK_CMDQ_MBOX
0013 select MTK_INFRACFG
0014 help
0015 Say yes here to add support for the MediaTek Command Queue (CMDQ)
0016 driver. The CMDQ is used to help read/write registers with critical
0017 time limitation, such as updating display configuration during the
0018 vblank.
0019
0020 config MTK_DEVAPC
0021 tristate "Mediatek Device APC Support"
0022 help
0023 Say yes here to enable support for Mediatek Device APC driver.
0024 This driver is mainly used to handle the violation which catches
0025 unexpected transaction.
0026 The violation information is logged for further analysis or
0027 countermeasures.
0028
0029 config MTK_INFRACFG
0030 bool "MediaTek INFRACFG Support"
0031 select REGMAP
0032 help
0033 Say yes here to add support for the MediaTek INFRACFG controller. The
0034 INFRACFG controller contains various infrastructure registers not
0035 directly associated to any device.
0036
0037 config MTK_PMIC_WRAP
0038 tristate "MediaTek PMIC Wrapper Support"
0039 depends on RESET_CONTROLLER
0040 select REGMAP
0041 help
0042 Say yes here to add support for MediaTek PMIC Wrapper found
0043 on different MediaTek SoCs. The PMIC wrapper is a proprietary
0044 hardware to connect the PMIC.
0045
0046 config MTK_SCPSYS
0047 bool "MediaTek SCPSYS Support"
0048 default ARCH_MEDIATEK
0049 select REGMAP
0050 select MTK_INFRACFG
0051 select PM_GENERIC_DOMAINS if PM
0052 help
0053 Say yes here to add support for the MediaTek SCPSYS power domain
0054 driver.
0055
0056 config MTK_SCPSYS_PM_DOMAINS
0057 bool "MediaTek SCPSYS generic power domain"
0058 default ARCH_MEDIATEK
0059 depends on PM
0060 select PM_GENERIC_DOMAINS
0061 select REGMAP
0062 help
0063 Say y here to enable power domain support.
0064 In order to meet high performance and low power requirements, the System
0065 Control Processor System (SCPSYS) has several power management related
0066 tasks in the system.
0067
0068 config MTK_MMSYS
0069 bool "MediaTek MMSYS Support"
0070 default ARCH_MEDIATEK
0071 depends on HAS_IOMEM
0072 help
0073 Say yes here to add support for the MediaTek Multimedia
0074 Subsystem (MMSYS).
0075
0076 config MTK_SVS
0077 tristate "MediaTek Smart Voltage Scaling(SVS)"
0078 depends on MTK_EFUSE && NVMEM
0079 help
0080 The Smart Voltage Scaling(SVS) engine is a piece of hardware
0081 which has several controllers(banks) for calculating suitable
0082 voltage to different power domains(CPU/GPU/CCI) according to
0083 chip process corner, temperatures and other factors. Then DVFS
0084 driver could apply SVS bank voltage to PMIC/Buck.
0085
0086 endmenu