82 lines · plain
1# SPDX-License-Identifier: GPL-2.0-only2#3# MediaTek SoC drivers4#5menu "MediaTek SoC drivers"6 depends on ARCH_MEDIATEK || COMPILE_TEST7 8config MTK_CMDQ9 tristate "MediaTek CMDQ Support"10 depends on ARCH_MEDIATEK || COMPILE_TEST11 select MAILBOX12 select MTK_CMDQ_MBOX13 select MTK_INFRACFG14 help15 Say yes here to add support for the MediaTek Command Queue (CMDQ)16 driver. The CMDQ is used to help read/write registers with critical17 time limitation, such as updating display configuration during the18 vblank.19 20config MTK_DEVAPC21 tristate "Mediatek Device APC Support"22 help23 Say yes here to enable support for Mediatek Device APC driver.24 This driver is mainly used to handle the violation which catches25 unexpected transaction.26 The violation information is logged for further analysis or27 countermeasures.28 29config MTK_INFRACFG30 bool "MediaTek INFRACFG Support"31 select REGMAP32 help33 Say yes here to add support for the MediaTek INFRACFG controller. The34 INFRACFG controller contains various infrastructure registers not35 directly associated to any device.36 37config MTK_PMIC_WRAP38 tristate "MediaTek PMIC Wrapper Support"39 depends on RESET_CONTROLLER40 depends on OF41 select REGMAP42 help43 Say yes here to add support for MediaTek PMIC Wrapper found44 on different MediaTek SoCs. The PMIC wrapper is a proprietary45 hardware to connect the PMIC.46 47config MTK_REGULATOR_COUPLER48 bool "MediaTek SoC Regulator Coupler" if COMPILE_TEST49 default ARCH_MEDIATEK50 depends on REGULATOR51 52config MTK_MMSYS53 tristate "MediaTek MMSYS Support"54 default ARCH_MEDIATEK55 depends on HAS_IOMEM56 depends on MTK_CMDQ || MTK_CMDQ=n57 help58 Say yes here to add support for the MediaTek Multimedia59 Subsystem (MMSYS).60 61config MTK_SVS62 tristate "MediaTek Smart Voltage Scaling(SVS)"63 depends on NVMEM_MTK_EFUSE && NVMEM64 help65 The Smart Voltage Scaling(SVS) engine is a piece of hardware66 which has several controllers(banks) for calculating suitable67 voltage to different power domains(CPU/GPU/CCI) according to68 chip process corner, temperatures and other factors. Then DVFS69 driver could apply SVS bank voltage to PMIC/Buck.70 71config MTK_SOCINFO72 tristate "MediaTek SoC Information"73 default y74 depends on NVMEM_MTK_EFUSE75 select SOC_BUS76 help77 The MediaTek SoC Information (mtk-socinfo) driver provides78 information about the SoC to the userspace including the79 manufacturer name, marketing name and soc name.80 81endmenu82