]> git.dujemihanovic.xyz Git - u-boot.git/commit
reset: add reset controller driver for SCMI agents
authorEtienne Carriere <etienne.carriere@linaro.org>
Wed, 9 Sep 2020 16:44:06 +0000 (18:44 +0200)
committerTom Rini <trini@konsulko.com>
Wed, 30 Sep 2020 15:55:23 +0000 (11:55 -0400)
commit34d76fefb2667d0ca138ff4fcf8bc8443032449f
tree8514f40921053632de4436ee0ea31c6556e0afac
parent87d4f277d4101c995e198ed3313da48690df5bb7
reset: add reset controller driver for SCMI agents

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@linaro.org>
Cc: Simon Glass <sjg@chromium.org>
Cc: Peng Fan <peng.fan@nxp.com>
Cc: Sudeep Holla <sudeep.holla@arm.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/firmware/scmi/scmi_agent-uclass.c
drivers/reset/Kconfig
drivers/reset/Makefile
drivers/reset/reset-scmi.c [new file with mode: 0644]
include/scmi_protocols.h