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>
1 parent 9efa1f8 commit 80bd1782c6a3aa8bf6e7ecf7a1153113e6a5b1ef
@Ahmad Fatoum Ahmad Fatoum authored on 6 Nov 2019
Sascha Hauer committed on 7 Nov 2019
Showing 4 changed files
View
arch/arm/Kconfig
View
arch/arm/cpu/Makefile
View
arch/arm/cpu/psci-client.c 0 → 100644
View
arch/arm/include/asm/psci.h