Skip to content
Commit b7135b03 authored by Igor Opaniuk's avatar Igor Opaniuk Committed by Tom Rini
Browse files

psci: add features/reset2 support

Adds support for:
* PSCI_FEATURES, which was introduced in PSCI 1.0. This provides API
that allows discovering whether a specific PSCI function is implemented
and its features.
* SYSTEM_RESET2, which was introduced in PSCI 1.1, which extends existing
SYSTEM_RESET. It provides support for vendor-specific resets, providing
reset_type as an additional param.

For additional details visit [1].

Implementations of some functions were borrowed from Linux PSCI driver
code [2].

[1] https://developer.arm.com/documentation/den0022/latest/


[2] drivers/firmware/psci/psci.c

Signed-off-by: default avatarIgor Opaniuk <igor.opaniuk@foundries.io>
parent 2963d606
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment