ARM: psci: implement PSCI client driver
System reset on the STM32MP may be done via PSCI when running TF-A as first-stage boot loader. Provide a PSCI driver to simplify using it: - A psci_invoke function is exported, so other code can use it - A fixup for the PSCI device tree node is registered - A reset and poweroff handler via PSCI is registered for PSCI >= v0.2 Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> |
---|
|
arch/arm/Kconfig |
---|
arch/arm/cpu/Makefile |
---|
arch/arm/cpu/psci-client.c 0 → 100644 |
---|
arch/arm/include/asm/psci.h |
---|