Linux 5.7.7
[linux/fpc-iii.git] / arch / arm / mach-prima2 / pm.h
blob0aff6cb876bebfbc0e41837aba89a543b6b610cd
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 /*
3 * arch/arm/mach-prima2/pm.h
5 * Copyright (c) 2011 Cambridge Silicon Radio Limited, a CSR plc group company.
6 */
8 #ifndef _MACH_PRIMA2_PM_H_
9 #define _MACH_PRIMA2_PM_H_
11 #define SIRFSOC_PWR_SLEEPFORCE 0x01
13 #define SIRFSOC_SLEEP_MODE_MASK 0x3
14 #define SIRFSOC_DEEP_SLEEP_MODE 0x1
16 #define SIRFSOC_PWRC_PDN_CTRL 0x0
17 #define SIRFSOC_PWRC_PON_OFF 0x4
18 #define SIRFSOC_PWRC_TRIGGER_EN 0x8
19 #define SIRFSOC_PWRC_PIN_STATUS 0x14
20 #define SIRFSOC_PWRC_SCRATCH_PAD1 0x18
21 #define SIRFSOC_PWRC_SCRATCH_PAD2 0x1C
23 #ifndef __ASSEMBLY__
24 extern int sirfsoc_finish_suspend(unsigned long);
25 #endif
27 #endif