linux_dsm_epyc7002/arch/arm/mach-at91
Claudiu Beznea d7484f5c6b ARM: at91: pm: configure wakeup sources for ULP1 mode
Since for ULP1 PM mode of SAMA5D2 the wakeup sources are limited and
well known add a method to check if these wakeup sources are defined by
user (either via DT or filesystem). In case there are no wakeup sources
defined for ULP1 the PM suspend will fail, otherwise these will be
configured in fast startup registers of PMC. Since wakeup sources of
ULP1 need also to be configured in SHDWC registers the code was a bit
changed to map the SHDWC also in case ULP1 is requested by user (this
was done in the initialization phase). In case the ULP1 initialization
fails the ULP0 mode is used (this mode was also used in case backup mode
initialization failed).

Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2018-07-17 15:08:12 +02:00
..
at91rm9200.c ARM: at91: move SoC detection to its own driver 2017-03-31 20:36:10 +02:00
at91sam9.c ARM: at91: move SoC detection to its own driver 2017-03-31 20:36:10 +02:00
generic.h ARM: at91: pm: Add sama5d2 backup mode 2017-05-15 11:55:17 +02:00
Kconfig ARM: at91: Kconfig: Update company to Microchip 2018-02-28 16:21:51 +01:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
Makefile.boot ARM: at91: Add armv7m support 2017-06-02 10:11:38 +02:00
pm_data-offsets.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
pm_suspend.S ARM: at91: pm: Add ULP1 mode support 2018-07-17 15:08:02 +02:00
pm.c ARM: at91: pm: configure wakeup sources for ULP1 mode 2018-07-17 15:08:12 +02:00
pm.h ARM: at91: pm: Add ULP1 mode support 2018-07-17 15:08:02 +02:00
sama5.c ARM: at91: pm: Add sama5d2 backup mode 2017-05-15 11:55:17 +02:00
samv7.c ARM: at91: fix at91_suspend_entering_slow_clock link error 2017-06-13 11:51:11 +02:00