[PATCH v3 1/4] psci: add features/reset2 support
Simon Glass
sjg at chromium.org
Sun Apr 11 20:48:04 CEST 2021
Hi Igor,
On Thu, 1 Apr 2021 at 09:16, Igor Opaniuk <igor.opaniuk at foundries.io> wrote:
>
> From: Igor Opaniuk <igor.opaniuk at foundries.io>
>
> 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: Igor Opaniuk <igor.opaniuk at foundries.io>
> ---
>
> drivers/firmware/psci.c | 68 +++++++++++++++++++++++++++++++++++++++++
> include/linux/psci.h | 3 ++
> 2 files changed, 71 insertions(+)
Do we have a test for this?
Regards,
Simon
More information about the U-Boot
mailing list