[PATCH v2 4/4] reset: add reset controller driver for SCMI agents

Simon Glass sjg at chromium.org
Sat Aug 22 17:09:29 CEST 2020


On Tue, 18 Aug 2020 at 09:44, 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 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.
> ---
>  drivers/firmware/scmi.c    |   3 +
>  drivers/reset/Kconfig      |   8 +++
>  drivers/reset/Makefile     |   1 +
>  drivers/reset/reset-scmi.c | 143 +++++++++++++++++++++++++++++++++++++
>  4 files changed, 155 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