• Sudeep Holla's avatar
    firmware: arm_scmi: Add RESET protocol in SCMI v2.0 · 95a15d80
    Sudeep Holla authored
    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: default avatarPeng Fan <peng.fan@nxp.com>
    Reviewed-by: default avatarPhilipp Zabel <p.zabel@pengutronix.de>
    Signed-off-by: default avatarSudeep Holla <sudeep.holla@arm.com>
    95a15d80
reset.c 5.45 KB