Linux-ARM-Kernel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] dt-bindings: mfd: st,stm32-lptimer: add resets
@ 2026-11-25 13:22 Gerard Marull-Paretas
  0 siblings, 0 replies; only message in thread
From: Gerard Marull-Paretas @ 2026-11-25 13:22 UTC (permalink / raw)
  To: Fabrice Gasnier, Lee Jones, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley
  Cc: Maxime Coquelin, Alexandre Torgue, mfd, devicetree, linux-stm32,
	linux-arm-kernel

The RCC has a reset line per LPTIM. The STM32H7 errata (ES0445, 2.17.1)
advise resetting an LPTIM through the RCC rather than clearing its
ENABLE bit, which may leave its interrupt stuck and keep the device out
of Stop. Allow a reset.

PebbleOS, whose STM32H747 port uses an LPTIM of each core as its system
timer, describes and uses these resets.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
---
 Documentation/devicetree/bindings/mfd/st,stm32-lptimer.yaml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/Documentation/devicetree/bindings/mfd/st,stm32-lptimer.yaml b/Documentation/devicetree/bindings/mfd/st,stm32-lptimer.yaml
index 4eabafb8079d..412060d3f167 100644
--- a/Documentation/devicetree/bindings/mfd/st,stm32-lptimer.yaml
+++ b/Documentation/devicetree/bindings/mfd/st,stm32-lptimer.yaml
@@ -41,6 +41,9 @@ properties:
   interrupts:
     maxItems: 1
 
+  resets:
+    maxItems: 1
+
   "#address-cells":
     const: 1
 
-- 
2.45.2



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-25 13:22 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-25 13:22 [PATCH] dt-bindings: mfd: st,stm32-lptimer: add resets Gerard Marull-Paretas

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