power: pmic: pca9450: Add support for system reset
authorPrimoz Fiser <primoz.fiser@norik.com>
Thu, 28 Aug 2025 11:24:04 +0000 (13:24 +0200)
committerPeng Fan <peng.fan@nxp.com>
Mon, 1 Sep 2025 02:33:09 +0000 (10:33 +0800)
commit9065b87f35018a4e993e7dfb8a8ec29474785f76
treef9d819bed16e3f2193d55e20293bf8a56da16051
parenta65798ddbb88b06539e2a109d686edd3fb3a8173
power: pmic: pca9450: Add support for system reset

The family of PCA9450 PMICs have the ability to perform system resets.
Restarting via PMIC is preferred method of restarting the system as all
the peripherals are brought to a know state after a power-cycle. The
PCA9450 features a cold restart procedure which is initiated by an I2C
command 0x14 to the SW_RST register.

Support in Linux for restarting via PCA9450 PMIC has been added by
Linux commit 6157e62b07d9 ("regulator: pca9450: Add restart handler").

Now add support for it also in the U-Boot via sysreset framework.

Signed-off-by: Primoz Fiser <primoz.fiser@norik.com>
Reviewed-by: Paul Geurts <paul.geurts@prodrive-technologies.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
drivers/power/pmic/pca9450.c
include/power/pca9450.h