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