diff options
author | Ulf Hansson <ulf.hansson@linaro.org> | 2014-10-14 13:12:56 +0400 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2014-10-28 12:48:23 +0300 |
commit | cd931dcfda5e5e5e2c55bd243919b1820105cdde (patch) | |
tree | 362ad49ad2488ed5a0d4e0a65539b13fd3fe1a09 /arch/arm/mach-ux500/pm_domains.h | |
parent | 5dcb10159b1848b2c91ac2a11745d229f16fc26b (diff) | |
download | linux-cd931dcfda5e5e5e2c55bd243919b1820105cdde.tar.xz |
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_domains.h')
-rw-r--r-- | arch/arm/mach-ux500/pm_domains.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/arch/arm/mach-ux500/pm_domains.h b/arch/arm/mach-ux500/pm_domains.h new file mode 100644 index 000000000000..263d3ba97177 --- /dev/null +++ b/arch/arm/mach-ux500/pm_domains.h @@ -0,0 +1,17 @@ +/* + * Copyright (C) 2014 Linaro Ltd. + * + * Author: Ulf Hansson <ulf.hansson@linaro.org> + * License terms: GNU General Public License (GPL) version 2 + */ + +#ifndef __MACH_UX500_PM_DOMAINS_H +#define __MACH_UX500_PM_DOMAINS_H + +#ifdef CONFIG_PM_GENERIC_DOMAINS +extern int __init ux500_pm_domains_init(void); +#else +static inline int ux500_pm_domains_init(void) { return 0; } +#endif + +#endif |