diff options
author | Paul Geurts <paul.geurts@prodrive-technologies.com> | 2025-05-05 13:59:36 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2025-05-12 21:09:50 +0900 |
commit | 6157e62b07d9331cc1d4d9d525dab33d45b0e83c (patch) | |
tree | 841cb1188383bf9f5c538042556097708634cdd9 /scripts/lib/kdoc/kdoc_output.py | |
parent | d5cc09847fa0df4034076f884de5957ec816dc52 (diff) |
regulator: pca9450: Add restart handler
When restarting a CPU powered by the PCA9450 power management IC, it
is beneficial to use the PCA9450 to power cycle the CPU and all its
connected peripherals to start up in a known state. The PCA9450 features
a cold start procedure initiated by an I2C command.
Add a restart handler so that the PCA9450 is used to restart the CPU.
The restart handler sends command 0x14 to the SW_RST register,
initiating a cold reset (Power recycle all regulators except LDO1, LDO2
and CLK_32K_OUT)
As the PCA9450 is a PMIC specific for the i.MX8M family CPU, the restart
handler priority is set just slightly higher than imx2_wdt and the PSCI
restart handler. This makes sure this restart handler takes precedence.
Signed-off-by: Paul Geurts <paul.geurts@prodrive-technologies.com>
Link: https://patch.msgid.link/20250505115936.1946891-1-paul.geurts@prodrive-technologies.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_output.py')
0 files changed, 0 insertions, 0 deletions