]> git.baikalelectronics.ru Git - kernel.git/commit
firmware: arm_scmi: Add RESET protocol in SCMI v2.0
authorSudeep Holla <sudeep.holla@arm.com>
Mon, 8 Jul 2019 08:41:06 +0000 (09:41 +0100)
committerSudeep Holla <sudeep.holla@arm.com>
Mon, 12 Aug 2019 11:23:02 +0000 (12:23 +0100)
commitf1688edd6e2f9edf225776aa0c1fc87c250c4669
tree339d10ad126f4c55a8a284443474134f11db7e8d
parent3383c33556eecd629d1eab690c18fc2512cf18f8
firmware: arm_scmi: Add RESET protocol in SCMI v2.0

SCMIv2.0 adds a new Reset Management Protocol to manage various reset
states a given device or domain can enter. Device(s) that can be
collectively reset through a common reset signal constitute a reset
domain for the firmware.

A reset domain can be reset autonomously or explicitly through assertion
and de-assertion of the signal. When autonomous reset is chosen, the
firmware is responsible for taking the necessary steps to reset the
domain and to subsequently bring it out of reset. When explicit reset is
chosen, the caller has to specifically assert and then de-assert the
reset signal by issuing two separate RESET commands.

Add the basic SCMI reset infrastructure that can be used by Linux
reset controller driver.

Reviewed-by: Peng Fan <peng.fan@nxp.com>
Reviewed-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
drivers/firmware/arm_scmi/Makefile
drivers/firmware/arm_scmi/reset.c [new file with mode: 0644]
include/linux/scmi_protocol.h