xref: /openbmc/linux/arch/arm/mach-mvebu/pmsu.h (revision 0fdebc5e)
1*0fdebc5eSThomas Gleixner /* SPDX-License-Identifier: GPL-2.0-only */
27444dad2SGregory CLEMENT /*
37444dad2SGregory CLEMENT  * Power Management Service Unit (PMSU) support for Armada 370/XP platforms.
47444dad2SGregory CLEMENT  *
57444dad2SGregory CLEMENT  * Copyright (C) 2012 Marvell
67444dad2SGregory CLEMENT  */
77444dad2SGregory CLEMENT 
87444dad2SGregory CLEMENT #ifndef __MACH_MVEBU_PMSU_H
97444dad2SGregory CLEMENT #define __MACH_MVEBU_PMSU_H
107444dad2SGregory CLEMENT 
117444dad2SGregory CLEMENT int armada_xp_boot_cpu(unsigned int cpu_id, void *phys_addr);
123076cc58SGregory CLEMENT int mvebu_setup_boot_addr_wa(unsigned int crypto_eng_target,
133076cc58SGregory CLEMENT                              unsigned int crypto_eng_attribute,
143076cc58SGregory CLEMENT                              phys_addr_t resume_addr_reg);
157444dad2SGregory CLEMENT 
16898ef3e9SGregory CLEMENT void mvebu_v7_pmsu_idle_exit(void);
178446be5dSThomas Petazzoni void armada_370_xp_cpu_resume(void);
18898ef3e9SGregory CLEMENT 
19316fbbc4SGregory CLEMENT int armada_370_xp_pmsu_idle_enter(unsigned long deepidle);
20626d6864SGregory CLEMENT int armada_38x_do_cpu_suspend(unsigned long deepidle);
217444dad2SGregory CLEMENT #endif	/* __MACH_370_XP_PMSU_H */
22