Commit | Line | Data |
---|---|---|
a5e0454c UH |
1 | /* SPDX-License-Identifier: GPL-2.0 */ |
2 | ||
3 | #ifndef __CPUIDLE_PSCI_H | |
4 | #define __CPUIDLE_PSCI_H | |
5 | ||
a65a397f UH |
6 | struct device_node; |
7 | ||
8 | void psci_set_domain_state(u32 state); | |
9 | int __init psci_dt_parse_state_node(struct device_node *np, u32 *state); | |
10 | ||
a5e0454c UH |
11 | #ifdef CONFIG_PM_GENERIC_DOMAINS_OF |
12 | struct device __init *psci_dt_attach_cpu(int cpu); | |
13 | #else | |
14 | static inline struct device __init *psci_dt_attach_cpu(int cpu) { return NULL; } | |
15 | #endif | |
16 | ||
17 | #endif /* __CPUIDLE_PSCI_H */ |