hc
2024-09-20 a36159eec6ca17402b0e146b86efaf76568dc353
kernel/arch/arm/mach-at91/pm.h
....@@ -1,12 +1,8 @@
1
+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * AT91 Power Management
34 *
45 * Copyright (C) 2005 David Brownell
5
- *
6
- * This program is free software; you can redistribute it and/or modify
7
- * it under the terms of the GNU General Public License as published by
8
- * the Free Software Foundation; either version 2 of the License, or
9
- * (at your option) any later version.
106 */
117 #ifndef __ARCH_ARM_MACH_AT91_PM
128 #define __ARCH_ARM_MACH_AT91_PM
....@@ -23,8 +19,9 @@
2319
2420 #define AT91_PM_STANDBY 0x00
2521 #define AT91_PM_ULP0 0x01
26
-#define AT91_PM_ULP1 0x02
27
-#define AT91_PM_BACKUP 0x03
22
+#define AT91_PM_ULP0_FAST 0x02
23
+#define AT91_PM_ULP1 0x03
24
+#define AT91_PM_BACKUP 0x04
2825
2926 #ifndef __ASSEMBLY__
3027 struct at91_pm_data {
....@@ -37,6 +34,8 @@
3734 void __iomem *sfrbu;
3835 unsigned int standby_mode;
3936 unsigned int suspend_mode;
37
+ unsigned int pmc_mckr_offset;
38
+ unsigned int pmc_version;
4039 };
4140 #endif
4241