xref: /openbmc/linux/drivers/soc/mediatek/Kconfig (revision cea0f76a)
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_MMSYS
48	bool "MediaTek MMSYS Support"
49	default ARCH_MEDIATEK
50	help
51	  Say yes here to add support for the MediaTek Multimedia
52	  Subsystem (MMSYS).
53
54endmenu
55