On Tue, 18 Aug 2020 at 09:44, Etienne Carriere <etienne.carri...@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.carri...@linaro.org> > Cc: Simon Glass <s...@chromium.org> > Cc: Peng Fan <peng....@nxp.com> > Cc: Sudeep Holla <sudeep.ho...@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 <s...@chromium.org>