linux/arch/arm/mach-at91
Clément Léger f2f5cf78a3 ARM: at91: pm: add support for sama5d2 secure suspend
When running with OP-TEE, the suspend control is handled securely.
Suspend can be entered using PSCI support. Since the sama5d2 supports
multiple suspend modes, add a new CONFIG_ATMEL_SECURE_PM which will
send a SMC call to select the suspend mode at init time.

"atmel.pm_modes" boot argument is still supported for compatibility
purposes but the standby value is actually ignored since PSCI suspend
is used and it only support one mode (suspend).

Signed-off-by: Clément Léger <clement.leger@bootlin.com>
Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Signed-off-by: Nicolas Ferre <nicolas.ferre@microchip.com>
2022-05-12 14:50:50 +03:00
..
.gitignore .gitignore: add SPDX License Identifier 2020-03-25 11:50:48 +01:00
at91rm9200.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 4 2019-05-21 11:28:40 +02:00
at91sam9.c ARM: at91: pm: move SAM9X60's PM under its own SoC config flag 2019-12-10 00:44:53 +01:00
generic.h ARM: at91: pm: add pm support for SAMA7G5 2021-07-19 14:32:13 +02:00
Kconfig ARM: at91: pm: add support for sama5d2 secure suspend 2022-05-12 14:50:50 +03:00
Makefile ARM: at91: add code to handle secure calls 2022-05-12 14:50:20 +03:00
Makefile.boot ARM: at91: Replace HTTP links with HTTPS ones 2020-07-18 00:59:26 +02:00
pm_data-offsets.c ARM: at91: pm: add self-refresh support for sama7g5 2021-07-19 14:32:12 +02:00
pm_suspend.S ARM: at91: ddr: fix typo to align with datasheet naming 2022-02-25 12:36:25 +01:00
pm.c ARM: at91: pm: add support for sama5d2 secure suspend 2022-05-12 14:50:50 +03:00
pm.h ARM: at91: pm: add support for 2.5V LDO regulator control 2021-07-19 14:32:12 +02:00
sam9x60.c ARM: at91: pm: move SAM9X60's PM under its own SoC config flag 2019-12-10 00:44:53 +01:00
sam_secure.c ARM: at91: add code to handle secure calls 2022-05-12 14:50:20 +03:00
sam_secure.h ARM: at91: pm: add support for sama5d2 secure suspend 2022-05-12 14:50:50 +03:00
sama5.c ARM: at91: add code to handle secure calls 2022-05-12 14:50:20 +03:00
sama7.c ARM: at91: pm: add pm support for SAMA7G5 2021-07-19 14:32:13 +02:00
samv7.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 4 2019-05-21 11:28:40 +02:00