ARM: at91: pm: add support for ULP0 fast wakeup
authorClaudiu Beznea <claudiu.beznea@microchip.com>
Wed, 5 Aug 2020 08:36:48 +0000 (11:36 +0300)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Mon, 17 Aug 2020 09:18:17 +0000 (11:18 +0200)
commite70bfc2fa8fe1a95a522f9d1ccf24d3d9b81366a
tree6c90226556b522a2fd60e2ab4d5b682157de1c49
parent9123e3a74ec7b934a4a099e98af6a61c2f80bbf5
ARM: at91: pm: add support for ULP0 fast wakeup

ULP0 fast improves suspend/resume time with few milliseconds the drawback
being the power consumption. The mean values measured for suspend/resume
time are as follows (measured on SAMA5D2 Xplained board), ULP0 compared
with fast ULP0:
- ulp0 fast: suspend time: 169 ms, resume time: 216 ms
- ulp0     : suspend time: 197 ms, resume time: 258 ms

Current consumption while suspended (measured on SAMA5D2 Xplained board):
- ulp0 fast: 730uA
- ulp0     : 270uA

Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Link: https://lore.kernel.org/r/1596616610-15460-2-git-send-email-claudiu.beznea@microchip.com
arch/arm/mach-at91/pm.c
arch/arm/mach-at91/pm.h
arch/arm/mach-at91/pm_suspend.S