diff options
author | Caesar Wang <wxt@rock-chips.com> | 2015-09-08 14:18:22 +0800 |
---|---|---|
committer | Heiko Stuebner <heiko@sntech.de> | 2015-10-06 09:53:28 +0200 |
commit | 7c696693a4f54d12714738b45aee3e4302884ade (patch) | |
tree | b642fa5b9a6d3929927cda71a5c1d09adffb74a5 /drivers/soc/Makefile | |
parent | d64180fd5921be9db9cf63cc12c11086c444c0d0 (diff) | |
download | linux-7c696693a4f54d12714738b45aee3e4302884ade.tar.gz linux-7c696693a4f54d12714738b45aee3e4302884ade.tar.bz2 linux-7c696693a4f54d12714738b45aee3e4302884ade.zip |
soc: rockchip: power-domain: Add power domain driver
This driver is found on RK3288 SoCs.
In order to meet high performance and low power requirements, a power
management unit is designed or saving power when RK3288 in low power
mode.
The RK3288 PMU is dedicated for managing the power of the whole chip.
PMU can work in the Low Power Mode by setting bit[0] of PMU_PWRMODE_CON
register. After setting the register, PMU would enter the Low Power mode.
In the low power mode, pmu will auto power on/off the specified power
domain, send idle req to specified power domain, shut down/up pll and
so on. All of above are configurable by setting corresponding registers.
Signed-off-by: Caesar Wang <wxt@rock-chips.com>
Reviewed-by: Kevin Hilman <khilman@linaro.org>
[replace dsb() with dsb(sy) for arm64 buildability; sy is the default,
so no functional change; adapt to per-user clocks in genpd]
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Diffstat (limited to 'drivers/soc/Makefile')
-rw-r--r-- | drivers/soc/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/soc/Makefile b/drivers/soc/Makefile index 0b12d777d3c4..c2b485f82415 100644 --- a/drivers/soc/Makefile +++ b/drivers/soc/Makefile @@ -5,6 +5,7 @@ obj-$(CONFIG_MACH_DOVE) += dove/ obj-$(CONFIG_ARCH_MEDIATEK) += mediatek/ obj-$(CONFIG_ARCH_QCOM) += qcom/ +obj-$(CONFIG_ARCH_ROCKCHIP) += rockchip/ obj-$(CONFIG_ARCH_SUNXI) += sunxi/ obj-$(CONFIG_ARCH_TEGRA) += tegra/ obj-$(CONFIG_SOC_TI) += ti/ |