summaryrefslogtreecommitdiff
path: root/drivers/amba
diff options
context:
space:
mode:
authorBaolin Wang <baolin.wang@linaro.org>2018-03-20 05:42:14 +0300
committerMark Brown <broonie@kernel.org>2018-03-21 04:55:19 +0300
commitac1775012058e13ef1522938e27f5973d9e3f053 (patch)
treec64b5a4f26a2a7094c76d6e444718983b17f751a /drivers/amba
parenta61aa683655f3182aca6e38404ae9aac03e771ae (diff)
downloadlinux-ac1775012058e13ef1522938e27f5973d9e3f053.tar.xz
spi: sprd: Add the support of restarting the system
On Spreadtrum platform, we use one PMIC watchdog to reset the whole system with loading one suitable timeout value (usually 50ms) for the watchdog. In theory, we should implement the restart function in drivers/power/reset subsystem to access the PMIC watchdog with regmap. When restart the system, other cores will be stopped by IPI, but if other cores were accessing PMIC with holding the regmap mutex lock, that will cause dead-lock issue if we try to access the PMIC watchdog with regmap to restart the whole system. Thus we can implement the restart function in ADI driver to avoid this issue. Signed-off-by: Baolin Wang <baolin.wang@linaro.org> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/amba')
0 files changed, 0 insertions, 0 deletions