[RFC PATCH v2 0/4] psci: add support for SYSTEM_RESET2 and PSCI_FEATURES
Igor Opaniuk
igor.opaniuk at foundries.io
Tue Mar 30 23:16:55 CEST 2021
From: Igor Opaniuk <igor.opaniuk at foundries.io>
1. Adds support for:
* PSCI_FEATURES, introduced in PSCI 1.0. This provides API
that allows discovering whether a specific PSCI function is implemented
and its features.
* SYSTEM_RESET2, introduced in PSCI 1.1, which extends existing
SYSTEM_RESET. It provides support for vendor-specific resets, providing
reset_type as an additional param.
2. PSCI sysreset driver is refactored to use new API.
3. do_reset cmd is extended, optional param added for providing type of
reset
CI: https://dev.azure.com/igoropaniuk/u-boot/_build/results?buildId=19&view=results
v2:
- do_reset cmd updates
Igor Opaniuk (4):
psci: add v1.0/v1.1 definitions from Linux
psci: add features/reset2 support
sysreset: psci: use psci driver exported functions
sysreset: provide type of reset in do_reset cmd
cmd/boot.c | 6 ++-
drivers/firmware/psci.c | 70 ++++++++++++++++++++++++++++++
drivers/sysreset/sysreset-uclass.c | 23 +++++++++-
drivers/sysreset/sysreset_psci.c | 8 +---
include/linux/psci.h | 31 +++++++++++++
5 files changed, 130 insertions(+), 8 deletions(-)
--
2.25.1
More information about the U-Boot
mailing list