regulator: pca9450: Make warm reset on WDOG_B assertion
authorRickard x Andersson <rickaran@axis.com>
Fri, 29 Apr 2022 07:22:10 +0000 (09:22 +0200)
committerMark Brown <broonie@kernel.org>
Tue, 3 May 2022 12:47:43 +0000 (13:47 +0100)
commit2364a64d0673f5044e6a52cb17d6d60c6f1f8329
treefcf53adad29c544399eb407a9d0584a76a89797e
parentbd2f5e71454bc84427c4fd67c5ea4881f155ac6e
regulator: pca9450: Make warm reset on WDOG_B assertion

The default configuration of the PMIC behavior makes the PMIC
power cycle most regulators on WDOG_B assertion. This power
cycling causes the memory contents of OCRAM to be lost.
Some systems neeeds some memory that survives reset and
reboot, therefore this patch is created.

Signed-off-by: Rickard x Andersson <rickaran@axis.com>
Link: https://lore.kernel.org/r/20220429072211.24957-4-rickaran@axis.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/pca9450-regulator.c