xref: /openbmc/linux/drivers/soc/mediatek/Kconfig (revision 8a5aaf97)
1#
2# MediaTek SoC drivers
3#
4menu "MediaTek SoC drivers"
5	depends on ARCH_MEDIATEK || COMPILE_TEST
6
7config MTK_CMDQ
8	tristate "MediaTek CMDQ Support"
9	depends on ARCH_MEDIATEK || COMPILE_TEST
10	select MAILBOX
11	select MTK_CMDQ_MBOX
12	select MTK_INFRACFG
13	help
14	  Say yes here to add support for the MediaTek Command Queue (CMDQ)
15	  driver. The CMDQ is used to help read/write registers with critical
16	  time limitation, such as updating display configuration during the
17	  vblank.
18
19config MTK_INFRACFG
20	bool "MediaTek INFRACFG Support"
21	select REGMAP
22	help
23	  Say yes here to add support for the MediaTek INFRACFG controller. The
24	  INFRACFG controller contains various infrastructure registers not
25	  directly associated to any device.
26
27config MTK_PMIC_WRAP
28	tristate "MediaTek PMIC Wrapper Support"
29	depends on RESET_CONTROLLER
30	select REGMAP
31	help
32	  Say yes here to add support for MediaTek PMIC Wrapper found
33	  on different MediaTek SoCs. The PMIC wrapper is a proprietary
34	  hardware to connect the PMIC.
35
36config MTK_SCPSYS
37	bool "MediaTek SCPSYS Support"
38	default ARCH_MEDIATEK
39	select REGMAP
40	select MTK_INFRACFG
41	select PM_GENERIC_DOMAINS if PM
42	help
43	  Say yes here to add support for the MediaTek SCPSYS power domain
44	  driver.
45
46endmenu
47