dt-bindings: mfd: st,stm32-lptimer: add resets
Subsystems (4)
PATCH 1/1 dt-bindings: mfd: st,stm32-lptimer: add resets
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.
--- Documentation/devicetree/bindings/mfd/st,stm32-lptimer.yaml | 3 +++ 1 file changed, 3 insertions(+)
Documentation/devicetree/bindings/mfd/st,stm32-lptimer.yaml +3 -0
@@ -41,6 +41,9 @@ properties: interrupts: maxItems: 1 + resets: + maxItems: 1 + "#address-cells": const: 1
Signature · 1 line
2.45.2
[email protected]
AI reviewSashiko has reviewed this patch and found no issues.
Quoted 9 lines
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 <[email protected]>
Sashiko has reviewed this patch and found no issues.
Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=1