xref: /openbmc/linux/drivers/soc/mediatek/Kconfig (revision 13032709)
1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only
21f022d84SFlora Fu#
31f022d84SFlora Fu# MediaTek SoC drivers
41f022d84SFlora Fu#
531d7b359SSean Wangmenu "MediaTek SoC drivers"
631d7b359SSean Wang	depends on ARCH_MEDIATEK || COMPILE_TEST
731d7b359SSean Wang
8576f1b4bSHoulong Weiconfig MTK_CMDQ
9576f1b4bSHoulong Wei	tristate "MediaTek CMDQ Support"
10576f1b4bSHoulong Wei	depends on ARCH_MEDIATEK || COMPILE_TEST
11576f1b4bSHoulong Wei	select MAILBOX
12576f1b4bSHoulong Wei	select MTK_CMDQ_MBOX
13576f1b4bSHoulong Wei	select MTK_INFRACFG
14576f1b4bSHoulong Wei	help
15576f1b4bSHoulong Wei	  Say yes here to add support for the MediaTek Command Queue (CMDQ)
16576f1b4bSHoulong Wei	  driver. The CMDQ is used to help read/write registers with critical
17576f1b4bSHoulong Wei	  time limitation, such as updating display configuration during the
18576f1b4bSHoulong Wei	  vblank.
19576f1b4bSHoulong Wei
2016a624a9SSascha Hauerconfig MTK_INFRACFG
2116a624a9SSascha Hauer	bool "MediaTek INFRACFG Support"
2216a624a9SSascha Hauer	select REGMAP
2316a624a9SSascha Hauer	help
2416a624a9SSascha Hauer	  Say yes here to add support for the MediaTek INFRACFG controller. The
2516a624a9SSascha Hauer	  INFRACFG controller contains various infrastructure registers not
2616a624a9SSascha Hauer	  directly associated to any device.
2716a624a9SSascha Hauer
281f022d84SFlora Fuconfig MTK_PMIC_WRAP
291f022d84SFlora Fu	tristate "MediaTek PMIC Wrapper Support"
302a910d13SMatthias Brugger	depends on RESET_CONTROLLER
311f022d84SFlora Fu	select REGMAP
321f022d84SFlora Fu	help
331f022d84SFlora Fu	  Say yes here to add support for MediaTek PMIC Wrapper found
341f022d84SFlora Fu	  on different MediaTek SoCs. The PMIC wrapper is a proprietary
351f022d84SFlora Fu	  hardware to connect the PMIC.
36c84e3587SSascha Hauer
37c84e3587SSascha Hauerconfig MTK_SCPSYS
38c84e3587SSascha Hauer	bool "MediaTek SCPSYS Support"
39112ef188SShunli Wang	default ARCH_MEDIATEK
40c84e3587SSascha Hauer	select REGMAP
41c84e3587SSascha Hauer	select MTK_INFRACFG
42c84e3587SSascha Hauer	select PM_GENERIC_DOMAINS if PM
43c84e3587SSascha Hauer	help
44c84e3587SSascha Hauer	  Say yes here to add support for the MediaTek SCPSYS power domain
45c84e3587SSascha Hauer	  driver.
4631d7b359SSean Wang
4713032709SMatthias Bruggerconfig MTK_MMSYS
4813032709SMatthias Brugger	bool "MediaTek MMSYS Support"
4913032709SMatthias Brugger	depends on COMMON_CLK_MT8173_MMSYS
5013032709SMatthias Brugger	default COMMON_CLK_MT8173_MMSYS
5113032709SMatthias Brugger	help
5213032709SMatthias Brugger	  Say yes here to add support for the MediaTek Multimedia
5313032709SMatthias Brugger	  Subsystem (MMSYS).
5413032709SMatthias Brugger
5531d7b359SSean Wangendmenu
56