1# SPDX-License-Identifier: GPL-2.0-only 2 3menu "MediaTek PM Domains" 4 depends on ARCH_MEDIATEK || COMPILE_TEST 5 6config MTK_SCPSYS 7 bool "MediaTek SCPSYS Support" 8 default ARCH_MEDIATEK 9 depends on OF 10 select REGMAP 11 select MTK_INFRACFG 12 select PM_GENERIC_DOMAINS if PM 13 help 14 Say yes here to add support for the MediaTek SCPSYS power domain 15 driver. 16 17config MTK_SCPSYS_PM_DOMAINS 18 bool "MediaTek SCPSYS generic power domain" 19 default ARCH_MEDIATEK 20 depends on PM 21 select PM_GENERIC_DOMAINS 22 select REGMAP 23 help 24 Say y here to enable power domain support. 25 In order to meet high performance and low power requirements, the System 26 Control Processor System (SCPSYS) has several power management related 27 tasks in the system. 28 29config AIROHA_CPU_PM_DOMAIN 30 tristate "Airoha CPU power domain" 31 default ARCH_AIROHA 32 depends on HAVE_ARM_SMCCC 33 depends on PM 34 select PM_GENERIC_DOMAINS 35 help 36 Say y here to enable CPU power domain support for Airoha SoC. 37 38 CPU frequency and power is controlled by ATF with SMC command to 39 set performance states. 40 41endmenu 42