xref: /linux-6.15/drivers/soc/mediatek/Kconfig (revision 928296ea)
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_INFRACFG
21	bool "MediaTek INFRACFG Support"
22	select REGMAP
23	help
24	  Say yes here to add support for the MediaTek INFRACFG controller. The
25	  INFRACFG controller contains various infrastructure registers not
26	  directly associated to any device.
27
28config MTK_PMIC_WRAP
29	tristate "MediaTek PMIC Wrapper Support"
30	depends on RESET_CONTROLLER
31	select REGMAP
32	help
33	  Say yes here to add support for MediaTek PMIC Wrapper found
34	  on different MediaTek SoCs. The PMIC wrapper is a proprietary
35	  hardware to connect the PMIC.
36
37config MTK_SCPSYS
38	bool "MediaTek SCPSYS Support"
39	default ARCH_MEDIATEK
40	select REGMAP
41	select MTK_INFRACFG
42	select PM_GENERIC_DOMAINS if PM
43	help
44	  Say yes here to add support for the MediaTek SCPSYS power domain
45	  driver.
46
47config MTK_SCPSYS_PM_DOMAINS
48	bool "MediaTek SCPSYS generic power domain"
49	default ARCH_MEDIATEK
50	depends on PM
51	select PM_GENERIC_DOMAINS
52	select REGMAP
53	help
54	  Say y here to enable power domain support.
55	  In order to meet high performance and low power requirements, the System
56	  Control Processor System (SCPSYS) has several power management related
57	  tasks in the system.
58
59config MTK_MMSYS
60	bool "MediaTek MMSYS Support"
61	default ARCH_MEDIATEK
62	help
63	  Say yes here to add support for the MediaTek Multimedia
64	  Subsystem (MMSYS).
65
66endmenu
67