summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-ux500/pm.c
diff options
context:
space:
mode:
authorUlf Hansson <ulf.hansson@linaro.org>2014-10-14 11:12:56 +0200
committerLinus Walleij <linus.walleij@linaro.org>2014-10-28 10:48:23 +0100
commitcd931dcfda5e5e5e2c55bd243919b1820105cdde (patch)
tree362ad49ad2488ed5a0d4e0a65539b13fd3fe1a09 /arch/arm/mach-ux500/pm.c
parentdt: bindings: ux500: Add header for PM domains specifiers (diff)
downloadlinux-cd931dcfda5e5e5e2c55bd243919b1820105cdde.tar.xz
linux-cd931dcfda5e5e5e2c55bd243919b1820105cdde.zip
ARM: ux500: Initial support for PM domains
The ux500 SoC uses the generic PM domain and requires the domains to be specified through DT. Currently the genpd callbacks for handling power gating|ungating are implemented as dummy functions. To be able to enable those to perform PM domain gating/ungating, each device that resides in the VAPE domain must be properly handled from a runtime PM perspective. Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'arch/arm/mach-ux500/pm.c')
-rw-r--r--arch/arm/mach-ux500/pm.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-ux500/pm.c b/arch/arm/mach-ux500/pm.c
index b80a9a2e356e..2cb587b50905 100644
--- a/arch/arm/mach-ux500/pm.c
+++ b/arch/arm/mach-ux500/pm.c
@@ -17,6 +17,7 @@
#include <linux/platform_data/arm-ux500-pm.h>
#include "db8500-regs.h"
+#include "pm_domains.h"
/* ARM WFI Standby signal register */
#define PRCM_ARM_WFI_STANDBY (prcmu_base + 0x130)
@@ -191,4 +192,7 @@ void __init ux500_pm_init(u32 phy_base, u32 size)
/* Set up ux500 suspend callbacks. */
suspend_set_ops(UX500_SUSPEND_OPS);
+
+ /* Initialize ux500 power domains */
+ ux500_pm_domains_init();
}