Devicetree
 help / color / mirror / Atom feed
* [PATCH 1/2] dt-bindings: regulator: pca9450: add warm reset for i2c-reset pin
@ 2026-12-03 14:50 Martin Kepplinger-Novakovic
  2026-12-03 14:50 ` [PATCH 2/2] regulator: pca9450: Make i2c-reset a warm reset optionally Martin Kepplinger-Novakovic
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Martin Kepplinger-Novakovic @ 2026-12-03 14:50 UTC (permalink / raw)
  To: lgirdwood, broonie, robh, krzk+dt, conor+dt, yibin.gong
  Cc: linux-kernel, devicetree, linux-pm

When resetting via i2c-reset pin, the pca9450 does a cold reset by default
(Power recycle all regulators except LDO1, LDO2 and CLK_32K_OUT). Add
support for doing Warm Reset (Toggle POR_B for 20 ms) instead if needed.

This is similar to the other reset source, WDOG_B, where this option
already exists as DT property.

Chapter 7.4 of the datasheet has the details:
https://www.nxp.com/docs/en/data-sheet/PCA9450.pdf

Signed-off-by: Martin Kepplinger-Novakovic <martin.kepplinger-novakovic@ginzinger.com>
---
 .../bindings/regulator/nxp,pca9450-regulator.yaml           | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/Documentation/devicetree/bindings/regulator/nxp,pca9450-regulator.yaml b/Documentation/devicetree/bindings/regulator/nxp,pca9450-regulator.yaml
index ec04adfb9d1cb..e96c8873c1762 100644
--- a/Documentation/devicetree/bindings/regulator/nxp,pca9450-regulator.yaml
+++ b/Documentation/devicetree/bindings/regulator/nxp,pca9450-regulator.yaml
@@ -133,6 +133,12 @@ properties:
     description:
       Indicates that the I2C Level Translator is used.
 
+  nxp,i2c-warm-reset:
+    type: boolean
+    description:
+      On i2c-reset, a warm reset (Toggle POR_B) will be done instead of cold
+      reset.
+
   nxp,wdog_b-warm-reset:
     type: boolean
     description:
-- 
2.47.3


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2026-12-03 15:10 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-03 14:50 [PATCH 1/2] dt-bindings: regulator: pca9450: add warm reset for i2c-reset pin Martin Kepplinger-Novakovic
2026-12-03 14:50 ` [PATCH 2/2] regulator: pca9450: Make i2c-reset a warm reset optionally Martin Kepplinger-Novakovic
2026-12-03 15:04   ` sashiko-bot
2026-12-03 15:07 ` [PATCH 1/2] dt-bindings: regulator: pca9450: add warm reset for i2c-reset pin Mark Brown
2026-12-03 15:10 ` sashiko-bot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox