linux/arch/arm/mach-at91
Ryan Wanner 8bd10f0024 ARM: at91: pm: Enable ULP0/ULP1 for SAMA7D65
New clocks are saved to enable ULP0/ULP1 for SAMA7D65 because this SoC has a
total of 9 main clocks that need to be saved for ULP0/ULP1 mode.

Add mcks member to at91_pm_data, this will be used to determine
how many main clocks need to be saved. In the pm_mcks variable will also make
sure that no unnecessary clock settings are written during
mck_ps_restore.

Signed-off-by: Ryan Wanner <Ryan.Wanner@microchip.com>
Acked-by: Nicolas Ferre <nicolas.ferre@microchip.com>
Link: https://lore.kernel.org/r/2ac0832f6ede17a5c111ede09b44b8a126e33e36.1740671156.git.Ryan.Wanner@microchip.com
[claudiu.beznea: adjusted the entry in pmc_infos[] array]
Signed-off-by: Claudiu Beznea <claudiu.beznea@tuxon.dev>
2025-03-02 17:38:54 +02: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 support for sam9x7 SoC family 2024-08-07 19:24:44 +03:00
Kconfig ARM: at91: add new SoC sama7d65 2025-01-02 12:30:01 +02:00
Makefile ARM: at91: pm: add sam9x7 SoC init config 2024-08-07 19:24:45 +03:00
pm.c ARM: at91: pm: Enable ULP0/ULP1 for SAMA7D65 2025-03-02 17:38:54 +02:00
pm.h ARM: at91: pm: Enable ULP0/ULP1 for SAMA7D65 2025-03-02 17:38:54 +02:00
pm_data-offsets.c ARM: at91: pm: Enable ULP0/ULP1 for SAMA7D65 2025-03-02 17:38:54 +02:00
pm_suspend.S ARM: at91: pm: Enable ULP0/ULP1 for SAMA7D65 2025-03-02 17:38:54 +02:00
sam9x7.c ARM: at91: pm: add sam9x7 SoC init config 2024-08-07 19:24:45 +03: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 sam_linux_is_optee_available() function 2022-07-20 11:03:45 +03:00
sam_secure.h ARM: at91: add sam_linux_is_optee_available() function 2022-07-20 11:03:45 +03:00
sama5.c ARM: at91: fix build for SAMA5D3 w/o L2 cache 2022-11-24 12:50:07 +02:00
sama7.c ARM: at91: pm: add pm support for SAMA7G5 2021-07-19 14:32:13 +02:00
samv7.c ARM: at91: Explicitly include correct DT includes 2023-07-29 16:56:04 +03:00