Gregory CLEMENT | 7444dad | 2012-08-02 11:17:51 +0300 | [diff] [blame] | 1 | /* |
| 2 | * Power Management Service Unit (PMSU) support for Armada 370/XP platforms. |
| 3 | * |
| 4 | * Copyright (C) 2012 Marvell |
| 5 | * |
| 6 | * This file is licensed under the terms of the GNU General Public |
| 7 | * License version 2. This program is licensed "as is" without any |
| 8 | * warranty of any kind, whether express or implied. |
| 9 | */ |
| 10 | |
| 11 | #ifndef __MACH_MVEBU_PMSU_H |
| 12 | #define __MACH_MVEBU_PMSU_H |
| 13 | |
| 14 | int armada_xp_boot_cpu(unsigned int cpu_id, void *phys_addr); |
Gregory CLEMENT | 3076cc5 | 2014-07-23 15:00:40 +0200 | [diff] [blame] | 15 | int mvebu_setup_boot_addr_wa(unsigned int crypto_eng_target, |
| 16 | unsigned int crypto_eng_attribute, |
| 17 | phys_addr_t resume_addr_reg); |
Gregory CLEMENT | 7444dad | 2012-08-02 11:17:51 +0300 | [diff] [blame] | 18 | |
Gregory CLEMENT | 898ef3e | 2014-07-23 15:00:42 +0200 | [diff] [blame] | 19 | void mvebu_v7_pmsu_idle_exit(void); |
Thomas Petazzoni | 8446be5 | 2014-11-21 17:00:06 +0100 | [diff] [blame] | 20 | void armada_370_xp_cpu_resume(void); |
Gregory CLEMENT | 898ef3e | 2014-07-23 15:00:42 +0200 | [diff] [blame] | 21 | |
Gregory CLEMENT | 316fbbc | 2014-10-30 12:39:41 +0100 | [diff] [blame] | 22 | int armada_370_xp_pmsu_idle_enter(unsigned long deepidle); |
Gregory CLEMENT | 626d686 | 2014-10-30 12:39:44 +0100 | [diff] [blame] | 23 | int armada_38x_do_cpu_suspend(unsigned long deepidle); |
Gregory CLEMENT | 7444dad | 2012-08-02 11:17:51 +0300 | [diff] [blame] | 24 | #endif /* __MACH_370_XP_PMSU_H */ |