18c2ecf20Sopenharmony_ci/* 28c2ecf20Sopenharmony_ci * Power Management Service Unit (PMSU) support for Armada 370/XP platforms. 38c2ecf20Sopenharmony_ci * 48c2ecf20Sopenharmony_ci * Copyright (C) 2012 Marvell 58c2ecf20Sopenharmony_ci * 68c2ecf20Sopenharmony_ci * This file is licensed under the terms of the GNU General Public 78c2ecf20Sopenharmony_ci * License version 2. This program is licensed "as is" without any 88c2ecf20Sopenharmony_ci * warranty of any kind, whether express or implied. 98c2ecf20Sopenharmony_ci */ 108c2ecf20Sopenharmony_ci 118c2ecf20Sopenharmony_ci#ifndef __MACH_MVEBU_PMSU_H 128c2ecf20Sopenharmony_ci#define __MACH_MVEBU_PMSU_H 138c2ecf20Sopenharmony_ci 148c2ecf20Sopenharmony_ciint armada_xp_boot_cpu(unsigned int cpu_id, void *phys_addr); 158c2ecf20Sopenharmony_ciint mvebu_setup_boot_addr_wa(unsigned int crypto_eng_target, 168c2ecf20Sopenharmony_ci unsigned int crypto_eng_attribute, 178c2ecf20Sopenharmony_ci phys_addr_t resume_addr_reg); 188c2ecf20Sopenharmony_ci 198c2ecf20Sopenharmony_civoid mvebu_v7_pmsu_idle_exit(void); 208c2ecf20Sopenharmony_civoid armada_370_xp_cpu_resume(void); 218c2ecf20Sopenharmony_ci 228c2ecf20Sopenharmony_ciint armada_370_xp_pmsu_idle_enter(unsigned long deepidle); 238c2ecf20Sopenharmony_ciint armada_38x_do_cpu_suspend(unsigned long deepidle); 248c2ecf20Sopenharmony_ci#endif /* __MACH_370_XP_PMSU_H */ 25