summaryrefslogtreecommitdiffstats
path: root/drivers/spi/spi-tegra20-slink.c
diff options
context:
space:
mode:
authorBaolin Wang2018-03-20 03:42:14 +0100
committerMark Brown2018-03-21 02:55:19 +0100
commitac1775012058e13ef1522938e27f5973d9e3f053 (patch)
treec64b5a4f26a2a7094c76d6e444718983b17f751a /drivers/spi/spi-tegra20-slink.c
parentspi: sprd: Simplify the transfer function (diff)
downloadkernel-qcow2-linux-ac1775012058e13ef1522938e27f5973d9e3f053.tar.gz
kernel-qcow2-linux-ac1775012058e13ef1522938e27f5973d9e3f053.tar.xz
kernel-qcow2-linux-ac1775012058e13ef1522938e27f5973d9e3f053.zip
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/spi/spi-tegra20-slink.c')
0 files changed, 0 insertions, 0 deletions