mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
c84e358718
This adds a power domain driver for the Mediatek SCPSYS unit. The System Control Processor System (SCPSYS) has several power management related tasks in the system. The tasks include thermal measurement, dynamic voltage frequency scaling (DVFS), interrupt filter and lowlevel sleep control. The System Power Manager (SPM) inside the SCPSYS is for the MTCMOS power domain control. For now this driver only adds power domain support, the more advanced features are not yet supported. The driver implements the generic PM domain device tree bindings, the first user will most likely be the Mediatek AFE audio driver. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Reviewed-by: Daniel Kurtz <djkurtz@chromium.org> Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
32 lines
872 B
Plaintext
32 lines
872 B
Plaintext
#
|
|
# MediaTek SoC drivers
|
|
#
|
|
config MTK_INFRACFG
|
|
bool "MediaTek INFRACFG Support"
|
|
depends on ARCH_MEDIATEK || COMPILE_TEST
|
|
select REGMAP
|
|
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.
|
|
|
|
config MTK_PMIC_WRAP
|
|
tristate "MediaTek PMIC Wrapper Support"
|
|
depends on ARCH_MEDIATEK
|
|
depends on RESET_CONTROLLER
|
|
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.
|
|
|
|
config MTK_SCPSYS
|
|
bool "MediaTek SCPSYS Support"
|
|
depends on ARCH_MEDIATEK || COMPILE_TEST
|
|
select REGMAP
|
|
select MTK_INFRACFG
|
|
select PM_GENERIC_DOMAINS if PM
|
|
help
|
|
Say yes here to add support for the MediaTek SCPSYS power domain
|
|
driver.
|