17444dad2SGregory CLEMENT /* 27444dad2SGregory CLEMENT * Power Management Service Unit (PMSU) support for Armada 370/XP platforms. 37444dad2SGregory CLEMENT * 47444dad2SGregory CLEMENT * Copyright (C) 2012 Marvell 57444dad2SGregory CLEMENT * 67444dad2SGregory CLEMENT * This file is licensed under the terms of the GNU General Public 77444dad2SGregory CLEMENT * License version 2. This program is licensed "as is" without any 87444dad2SGregory CLEMENT * warranty of any kind, whether express or implied. 97444dad2SGregory CLEMENT */ 107444dad2SGregory CLEMENT 117444dad2SGregory CLEMENT #ifndef __MACH_MVEBU_PMSU_H 127444dad2SGregory CLEMENT #define __MACH_MVEBU_PMSU_H 137444dad2SGregory CLEMENT 147444dad2SGregory CLEMENT int armada_xp_boot_cpu(unsigned int cpu_id, void *phys_addr); 153076cc58SGregory CLEMENT int mvebu_setup_boot_addr_wa(unsigned int crypto_eng_target, 163076cc58SGregory CLEMENT unsigned int crypto_eng_attribute, 173076cc58SGregory CLEMENT phys_addr_t resume_addr_reg); 187444dad2SGregory CLEMENT 19898ef3e9SGregory CLEMENT void mvebu_v7_pmsu_idle_exit(void); 20898ef3e9SGregory CLEMENT 21316fbbc4SGregory CLEMENT int armada_370_xp_pmsu_idle_enter(unsigned long deepidle); 22626d6864SGregory CLEMENT int armada_38x_do_cpu_suspend(unsigned long deepidle); 237444dad2SGregory CLEMENT #endif /* __MACH_370_XP_PMSU_H */ 24