mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-16 10:48:17 +07:00
cd931dcfda
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>
18 lines
384 B
C
18 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
|