mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-05 10:29:37 +00:00
![Ulf Hansson](/assets/img/avatar_default.png)
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>
17 lines
384 B
C
17 lines
384 B
C
/*
|
|
* 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
|