mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/2] watchdog: gpio_wdt: add reset-from-wdt status gpio
@ 2026-10-13  5:54 Steffen Trumtrar
  2026-10-13  5:54 ` [PATCH 1/2] dt-bindings: watchdog: add reset-from-wdt-gpios binding Steffen Trumtrar
  2026-10-13  5:54 ` [PATCH 2/2] watchdog: gpio: add reset-from-wdt support Steffen Trumtrar
  0 siblings, 2 replies; 6+ messages in thread
From: Steffen Trumtrar @ 2026-10-13  5:54 UTC (permalink / raw)
  To: Wim Van Sebroeck, Guenter Roeck, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Robert Marko
  Cc: linux-watchdog, devicetree, linux-kernel, Steffen Trumtrar

In cases where the wdt-gpio buffers the reset signal over a reboot, this
can be used to decide if the watchdog caused the reset. Watchdogs have
the bootstatus for this information.

Add a device-tree binding for this gpio and evaluate the gpio in the
driver and set bootstatus accordingly.

Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de>
---
Steffen Trumtrar (2):
      dt-bindings: watchdog: add reset-from-wdt-gpios binding
      watchdog: gpio: add reset-from-wdt support

 .../devicetree/bindings/watchdog/linux,wdt-gpio.yaml      |  5 +++++
 drivers/watchdog/gpio_wdt.c                               | 15 +++++++++++++++
 2 files changed, 20 insertions(+)
---
base-commit: cee9395acd8043be0644b25c34bfa86623f2b935
change-id: 20261012-v7-3-topic-gpio-wdt-787a48ff022c

Best regards,
--  
Steffen Trumtrar <s.trumtrar@pengutronix.de>


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

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

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-13  5:54 [PATCH 0/2] watchdog: gpio_wdt: add reset-from-wdt status gpio Steffen Trumtrar
2026-10-13  5:54 ` [PATCH 1/2] dt-bindings: watchdog: add reset-from-wdt-gpios binding Steffen Trumtrar
2026-10-27 12:43   ` Rob Herring (Arm)
2026-10-27 15:20   ` Guenter Roeck
2026-10-13  5:54 ` [PATCH 2/2] watchdog: gpio: add reset-from-wdt support Steffen Trumtrar
2026-10-27 15:21   ` Guenter Roeck

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

all inboxes | Powered by JetHome®