#
# MediaTek SoC drivers
#
config SOC_MEDIATEK
	bool
	help
	  Mediatek SoC support.

config MTK_INFRACFG
	bool "MediaTek INFRACFG Support"
	depends on ARCH_MEDIATEK || COMPILE_TEST
	select SOC_MEDIATEK
	select REGMAP
	default y
	help
	  Say yes here to add support for the MediaTek INFRACFG controller. The
	  INFRACFG controller contains various infrastructure registers not
	  directly associated to any device.
	  INFRACFG controller is needed by SCPSYS driver.

config MTK_SCPSYS_MT8173
	bool "SCPSYS Support for MediaTek MT8173"
	depends on MTK_INFRACFG
	select SOC_MEDIATEK
	select REGMAP
	select PM_GENERIC_DOMAINS
	default y if ARCH_MT8173
	help
	  Say yes here to add support for the MediaTek SCPSYS power domain
	  driver.
	  The System Control Processor System (SCPSYS) has several power
	  management related tasks in the system.

config MTK_SCPSYS_MT8167
	bool "SCPSYS Support MediaTek MT8167"
	depends on MTK_INFRACFG
	select SOC_MEDIATEK
	select REGMAP
	select PM_GENERIC_DOMAINS
	default y if (ARCH_MT8167 || MACH_MT8167) && !FPGA_EARLY_PORTING
	help
	  Say yes here to add support for the MediaTek SCPSYS power domain
	  driver.
	  The System Control Processor System (SCPSYS) has several power
	  management related tasks in the system.

config MTK_PMIC_WRAP
	tristate "MediaTek PMIC Wrapper Support"
	depends on ARCH_MEDIATEK
	select REGMAP
	help
	  Say yes here to add support for MediaTek PMIC Wrapper found
	  on different MediaTek SoCs. The PMIC wrapper is a proprietary
	  hardware to connect the PMIC.
