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