[PATCH v3 7/8] reset: add reset controller driver for SCMI agents

Simon Glass sjg at chromium.org
Tue Sep 8 17:20:59 CEST 2020


On Mon, 7 Sep 2020 at 08:50, Etienne Carriere
<etienne.carriere at linaro.org> wrote:
>
> This change introduces a reset controller driver for SCMI agent devices.
> When SCMI agent and SCMI reset domain drivers are enabled, SCMI agent
> binds a reset controller device for each SCMI reset domain protocol
> devices enabled in the FDT.
>
> SCMI reset driver is embedded upon CONFIG_RESET_SCMI=y. If enabled,
> CONFIG_SCMI_AGENT is also enabled.
>
> SCMI Reset Domain protocol is defined in the SCMI specification [1].
>
> Links: [1] https://developer.arm.com/architectures/system-architectures/software-standards/scmi
> Signed-off-by: Etienne Carriere <etienne.carriere at linaro.org>
> Cc: Simon Glass <sjg at chromium.org>
> Cc: Peng Fan <peng.fan at nxp.com>
> Cc: Sudeep Holla <sudeep.holla at arm.com>
> ---
>
> Changes in v3:
> - Upgrade to rename into devm_scmi_process_msg() and scmi.h split
>   into scmi_*.h.
> - Fix message ID used in scmi_reset_request().
>
> Changes in v2:
> - Change reset request() method to at least check the reset domain
>   exists by sending a SCMI RESET_DOMAIN_ATTRIBUTE message.
> - Add inline description for the several structures.
> - Patch v1 R-b tag not applied since the above changes in this v2.
>
> BACKPORTED FROM v2020.10-rc2 to V2020.04
> ---
>  drivers/firmware/scmi/scmi_agent-uclass.c |  3 +
>  drivers/reset/Kconfig                     |  8 +++
>  drivers/reset/Makefile                    |  1 +
>  drivers/reset/reset-scmi.c                | 81 +++++++++++++++++++++++
>  include/scmi_protocols.h                  | 60 +++++++++++++++++
>  5 files changed, 153 insertions(+)
>  create mode 100644 drivers/reset/reset-scmi.c

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list