| 1 |
# SPDX-License-Identifier: GPL-2.0-only |
| 2 |
|
| 3 |
menu "MediaTek PM Domains" |
| 4 |
depends on ARCH_MEDIATEK || COMPILE_TEST |
| 5 |
|
| 6 |
config 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 |
|
| 17 |
config 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 |
|
| 29 |
config MTK_MFG_PM_DOMAIN |
| 30 |
bool "MediaTek MFlexGraphics power domain" |
| 31 |
default ARCH_MEDIATEK |
| 32 |
depends on PM |
| 33 |
depends on OF |
| 34 |
depends on COMMON_CLK |
| 35 |
select MAILBOX |
| 36 |
select PM_GENERIC_DOMAINS |
| 37 |
imply MTK_GPUEB_MBOX |
| 38 |
help |
| 39 |
Say y or m here to enable the power domains driver for MediaTek |
| 40 |
MFlexGraphics. This driver allows for power and frequency control of |
| 41 |
GPUs on MediaTek SoCs such as the MT8196 or MT6991. |
| 42 |
|
| 43 |
This driver is required for the Mali GPU to work at all on MT8196 and |
| 44 |
MT6991. |
| 45 |
|
| 46 |
config AIROHA_CPU_PM_DOMAIN |
| 47 |
tristate "Airoha CPU power domain" |
| 48 |
default ARCH_AIROHA |
| 49 |
depends on HAVE_ARM_SMCCC |
| 50 |
depends on PM |
| 51 |
select PM_GENERIC_DOMAINS |
| 52 |
help |
| 53 |
Say y here to enable CPU power domain support for Airoha SoC. |
| 54 |
|
| 55 |
CPU frequency and power is controlled by ATF with SMC command to |
| 56 |
set performance states. |
| 57 |
|
| 58 |
endmenu |