summaryrefslogtreecommitdiff
path: root/arch/arm/mach-at91/pm.h
diff options
context:
space:
mode:
authorClaudiu Beznea <claudiu.beznea@microchip.com>2018-07-17 11:26:54 +0300
committerAlexandre Belloni <alexandre.belloni@bootlin.com>2018-07-17 15:07:45 +0200
commit514e2a294aad435ce205c1c66d2abb89a292473c (patch)
tree2e8992ba1c8a09db5b9fc24ae5f3a6544063faed /arch/arm/mach-at91/pm.h
parent1e1d5b69397c0c9908fbf375930326fc529e73b1 (diff)
ARM: at91: pm: Use ULP0 naming instead of slow clock
Switch to use ULP0 naming instead of slow clock naming for power modes, to be as closed as possible to datasheet. This commit does the necessary renaming and macro addition to be as close as possible to the namings from [1]. [1] https://lore.kernel.org/lkml/1470650705-31418-3-git-send-email-wenyou.yang@atmel.com Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'arch/arm/mach-at91/pm.h')
-rw-r--r--arch/arm/mach-at91/pm.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/mach-at91/pm.h b/arch/arm/mach-at91/pm.h
index f95d31496f08..c44eaf17db86 100644
--- a/arch/arm/mach-at91/pm.h
+++ b/arch/arm/mach-at91/pm.h
@@ -21,7 +21,8 @@
#define AT91_MEMCTRL_SDRAMC 1
#define AT91_MEMCTRL_DDRSDR 2
-#define AT91_PM_SLOW_CLOCK 0x01
+#define AT91_PM_STANDBY 0x00
+#define AT91_PM_ULP0 0x01
#define AT91_PM_BACKUP 0x02
#ifndef __ASSEMBLY__