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