2012-08-02 08:17:51 +00:00
|
|
|
/*
|
|
|
|
* Power Management Service Unit (PMSU) support for Armada 370/XP platforms.
|
|
|
|
*
|
|
|
|
* Copyright (C) 2012 Marvell
|
|
|
|
*
|
|
|
|
* This file is licensed under the terms of the GNU General Public
|
|
|
|
* License version 2. This program is licensed "as is" without any
|
|
|
|
* warranty of any kind, whether express or implied.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __MACH_MVEBU_PMSU_H
|
|
|
|
#define __MACH_MVEBU_PMSU_H
|
|
|
|
|
|
|
|
int armada_xp_boot_cpu(unsigned int cpu_id, void *phys_addr);
|
2014-07-23 13:00:40 +00:00
|
|
|
int mvebu_setup_boot_addr_wa(unsigned int crypto_eng_target,
|
|
|
|
unsigned int crypto_eng_attribute,
|
|
|
|
phys_addr_t resume_addr_reg);
|
2012-08-02 08:17:51 +00:00
|
|
|
|
2014-07-23 13:00:42 +00:00
|
|
|
void mvebu_v7_pmsu_idle_exit(void);
|
|
|
|
|
2014-10-30 11:39:41 +00:00
|
|
|
int armada_370_xp_pmsu_idle_enter(unsigned long deepidle);
|
2014-10-30 11:39:44 +00:00
|
|
|
int armada_38x_do_cpu_suspend(unsigned long deepidle);
|
2012-08-02 08:17:51 +00:00
|
|
|
#endif /* __MACH_370_XP_PMSU_H */
|