Commit e378028b authored by Andrew F. Davis's avatar Andrew F. Davis Committed by Suman Anna
Browse files

remoteproc/keystone: add support for using reset framework



The Keystone family of SoCs has the reset registers as part of the
Power and Sleep Controller (PSC) module. The keystone remoteproc
driver currently manages these DSP resets by itself through the
regmap/syscon API.

Enhance the keystone remoteproc driver to start using the reset
framework API for managing resets. This is being done to streamline
the driver usage for supporting the DSP on Keystone 2 Galileo (K2G)
SoC. This also switches the driver to use a more standard framework
for resets.

The support is added as an incremental change, so the regmap/syscon
framework is used as a fallback to support the transition of the
Keystone 2 DSP DTS nodes from using 'ti,psc-syscon' to the 'resets'
property.

Signed-off-by: default avatarAndrew F. Davis <afd@ti.com>
[s-anna@ti.com: add error checking, checkpatch fixes, binding updates]
Signed-off-by: default avatarSuman Anna <s-anna@ti.com>
parent e17e309f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment