1a5e0454cSUlf Hansson /* SPDX-License-Identifier: GPL-2.0 */ 2a5e0454cSUlf Hansson 3a5e0454cSUlf Hansson #ifndef __CPUIDLE_PSCI_H 4a5e0454cSUlf Hansson #define __CPUIDLE_PSCI_H 5a5e0454cSUlf Hansson 6a65a397fSUlf Hansson struct device_node; 7a65a397fSUlf Hansson 8a65a397fSUlf Hansson void psci_set_domain_state(u32 state); 9a65a397fSUlf Hansson int __init psci_dt_parse_state_node(struct device_node *np, u32 *state); 10a65a397fSUlf Hansson 1103175619SUlf Hansson #ifdef CONFIG_ARM_PSCI_CPUIDLE_DOMAIN 12a5e0454cSUlf Hansson struct device __init *psci_dt_attach_cpu(int cpu); 13a5e0454cSUlf Hansson #else 14a5e0454cSUlf Hansson static inline struct device __init *psci_dt_attach_cpu(int cpu) { return NULL; } 15a5e0454cSUlf Hansson #endif 16a5e0454cSUlf Hansson 17a5e0454cSUlf Hansson #endif /* __CPUIDLE_PSCI_H */ 18