mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-17 16:14:25 +08:00
08b9a94e86
Add pmu driver for the StarFive JH71XX SoC. As the power domains provider, the Power Management Unit (PMU) is designed for including multiple PM domains that can be used for power gating of selected IP blocks for power saving by reduced leakage current. It accepts software encourage command to switch the power mode of SoC. Signed-off-by: Walker Chen <walker.chen@starfivetech.com> Reviewed-by: Conor Dooley <conor.dooley@microchip.com> Reviewed-by: Heiko Stuebner <heiko@sntech.de> Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
13 lines
411 B
Plaintext
13 lines
411 B
Plaintext
# SPDX-License-Identifier: GPL-2.0
|
|
|
|
config JH71XX_PMU
|
|
bool "Support PMU for StarFive JH71XX Soc"
|
|
depends on PM
|
|
depends on SOC_STARFIVE || COMPILE_TEST
|
|
default SOC_STARFIVE
|
|
select PM_GENERIC_DOMAINS
|
|
help
|
|
Say 'y' here to enable support power domain support.
|
|
In order to meet low power requirements, a Power Management Unit (PMU)
|
|
is designed for controlling power resources in StarFive JH71XX SoCs.
|