| .. | .. |
|---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * AT91 Power Management |
|---|
| 3 | 4 | * |
|---|
| 4 | 5 | * 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. |
|---|
| 10 | 6 | */ |
|---|
| 11 | 7 | #ifndef __ARCH_ARM_MACH_AT91_PM |
|---|
| 12 | 8 | #define __ARCH_ARM_MACH_AT91_PM |
|---|
| .. | .. |
|---|
| 23 | 19 | |
|---|
| 24 | 20 | #define AT91_PM_STANDBY 0x00 |
|---|
| 25 | 21 | #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 |
|---|
| 28 | 25 | |
|---|
| 29 | 26 | #ifndef __ASSEMBLY__ |
|---|
| 30 | 27 | struct at91_pm_data { |
|---|
| .. | .. |
|---|
| 37 | 34 | void __iomem *sfrbu; |
|---|
| 38 | 35 | unsigned int standby_mode; |
|---|
| 39 | 36 | unsigned int suspend_mode; |
|---|
| 37 | + unsigned int pmc_mckr_offset; |
|---|
| 38 | + unsigned int pmc_version; |
|---|
| 40 | 39 | }; |
|---|
| 41 | 40 | #endif |
|---|
| 42 | 41 | |
|---|