Message ID | 20240412084428.400607-2-fabio.aiuto@engicam.com |
---|---|
State | Changes Requested |
Headers | show |
Series | regulator: pca9450: make warm reset on PMIC_RST_B assertion | expand |
Context | Check | Description |
---|---|---|
robh/checkpatch | success | |
robh/patch-applied | success | |
robh/dtbs-check | warning | build log |
robh/dt-meta-schema | success |
On 12/04/2024 10:44, Fabio Aiuto wrote: > The default configuration of the PMIC behavior makes the PMIC > power cycle most regulators on PMIC_RST_B assertion. This power > cycling causes the memory contents of OCRAM to be lost. > Some systems needs some memory that survives reset and > reboot, therefore add a property to mark the regulator as > performing warm resets on PMIC_RST_B assertion. > > Cc: Matteo Lisi <matteo.lisi@engicam.com> > Cc: Mirko Ardinghi <mirko.ardinghi@engicam.com> > Signed-off-by: Fabio Aiuto <fabio.aiuto@engicam.com> > --- Discussion continues in v3. Best regards, Krzysztof
diff --git a/Documentation/devicetree/bindings/regulator/nxp,pca9450-regulator.yaml b/Documentation/devicetree/bindings/regulator/nxp,pca9450-regulator.yaml index 849bfa50bdba..865b259dac37 100644 --- a/Documentation/devicetree/bindings/regulator/nxp,pca9450-regulator.yaml +++ b/Documentation/devicetree/bindings/regulator/nxp,pca9450-regulator.yaml @@ -93,6 +93,12 @@ properties: When WDOG_B signal is asserted a warm reset will be done instead of cold reset. + nxp,pmic-rst-b-warm-reset: + type: boolean + description: + When PMIC_RST_B signal is asserted a warm reset will be done instead of cold + reset. + required: - compatible - reg
The default configuration of the PMIC behavior makes the PMIC power cycle most regulators on PMIC_RST_B assertion. This power cycling causes the memory contents of OCRAM to be lost. Some systems needs some memory that survives reset and reboot, therefore add a property to mark the regulator as performing warm resets on PMIC_RST_B assertion. Cc: Matteo Lisi <matteo.lisi@engicam.com> Cc: Mirko Ardinghi <mirko.ardinghi@engicam.com> Signed-off-by: Fabio Aiuto <fabio.aiuto@engicam.com> --- .../bindings/regulator/nxp,pca9450-regulator.yaml | 6 ++++++ 1 file changed, 6 insertions(+)