18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
28c2ecf20Sopenharmony_ci#
38c2ecf20Sopenharmony_ci# MediaTek SoC drivers
48c2ecf20Sopenharmony_ci#
58c2ecf20Sopenharmony_cimenu "MediaTek SoC drivers"
68c2ecf20Sopenharmony_ci	depends on ARCH_MEDIATEK || COMPILE_TEST
78c2ecf20Sopenharmony_ci
88c2ecf20Sopenharmony_ciconfig MTK_CMDQ
98c2ecf20Sopenharmony_ci	tristate "MediaTek CMDQ Support"
108c2ecf20Sopenharmony_ci	depends on ARCH_MEDIATEK || COMPILE_TEST
118c2ecf20Sopenharmony_ci	select MAILBOX
128c2ecf20Sopenharmony_ci	select MTK_CMDQ_MBOX
138c2ecf20Sopenharmony_ci	select MTK_INFRACFG
148c2ecf20Sopenharmony_ci	help
158c2ecf20Sopenharmony_ci	  Say yes here to add support for the MediaTek Command Queue (CMDQ)
168c2ecf20Sopenharmony_ci	  driver. The CMDQ is used to help read/write registers with critical
178c2ecf20Sopenharmony_ci	  time limitation, such as updating display configuration during the
188c2ecf20Sopenharmony_ci	  vblank.
198c2ecf20Sopenharmony_ci
208c2ecf20Sopenharmony_ciconfig MTK_INFRACFG
218c2ecf20Sopenharmony_ci	bool "MediaTek INFRACFG Support"
228c2ecf20Sopenharmony_ci	select REGMAP
238c2ecf20Sopenharmony_ci	help
248c2ecf20Sopenharmony_ci	  Say yes here to add support for the MediaTek INFRACFG controller. The
258c2ecf20Sopenharmony_ci	  INFRACFG controller contains various infrastructure registers not
268c2ecf20Sopenharmony_ci	  directly associated to any device.
278c2ecf20Sopenharmony_ci
288c2ecf20Sopenharmony_ciconfig MTK_PMIC_WRAP
298c2ecf20Sopenharmony_ci	tristate "MediaTek PMIC Wrapper Support"
308c2ecf20Sopenharmony_ci	depends on RESET_CONTROLLER
318c2ecf20Sopenharmony_ci	select REGMAP
328c2ecf20Sopenharmony_ci	help
338c2ecf20Sopenharmony_ci	  Say yes here to add support for MediaTek PMIC Wrapper found
348c2ecf20Sopenharmony_ci	  on different MediaTek SoCs. The PMIC wrapper is a proprietary
358c2ecf20Sopenharmony_ci	  hardware to connect the PMIC.
368c2ecf20Sopenharmony_ci
378c2ecf20Sopenharmony_ciconfig MTK_SCPSYS
388c2ecf20Sopenharmony_ci	bool "MediaTek SCPSYS Support"
398c2ecf20Sopenharmony_ci	default ARCH_MEDIATEK
408c2ecf20Sopenharmony_ci	select REGMAP
418c2ecf20Sopenharmony_ci	select MTK_INFRACFG
428c2ecf20Sopenharmony_ci	select PM_GENERIC_DOMAINS if PM
438c2ecf20Sopenharmony_ci	help
448c2ecf20Sopenharmony_ci	  Say yes here to add support for the MediaTek SCPSYS power domain
458c2ecf20Sopenharmony_ci	  driver.
468c2ecf20Sopenharmony_ci
478c2ecf20Sopenharmony_ciconfig MTK_MMSYS
488c2ecf20Sopenharmony_ci	bool "MediaTek MMSYS Support"
498c2ecf20Sopenharmony_ci	default ARCH_MEDIATEK
508c2ecf20Sopenharmony_ci	help
518c2ecf20Sopenharmony_ci	  Say yes here to add support for the MediaTek Multimedia
528c2ecf20Sopenharmony_ci	  Subsystem (MMSYS).
538c2ecf20Sopenharmony_ci
548c2ecf20Sopenharmony_ciendmenu
55