linux-renesas-soc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/2] watchdog: add Renesas Window Watchdog support
@ 2025-10-17 10:15 Wolfram Sang
  2025-10-17 10:15 ` [PATCH v3 1/2] dt-bindings: watchdog: Add Renesas WWDT Wolfram Sang
  2025-10-17 10:15 ` [PATCH v3 2/2] watchdog: renesas_wwdt: add driver Wolfram Sang
  0 siblings, 2 replies; 4+ messages in thread
From: Wolfram Sang @ 2025-10-17 10:15 UTC (permalink / raw)
  To: linux-renesas-soc
  Cc: Wolfram Sang, Conor Dooley, devicetree, Geert Uytterhoeven,
	Guenter Roeck, Krzysztof Kozlowski, linux-watchdog, Magnus Damm,
	Rob Herring, Wim Van Sebroeck

This Window Watchdog is a little peculiar because it can only be setup
once but we cannot find out if this write already happened. So,
configuration is delegated to the firmware/bootloader and the driver
will adapt to whatever is configured. The driver handles all bits
described in the datasheets. This is really all there is.

Tested on a SparrowHawk board (Renesas R-Car V4H). Based on v6.18-rc1
and build bot is already happy. Passes also binding checks and dtb
checks here.

Big picture change since v2 (details mentioned per patch):

* minor improvements to patch 2

Looking forward to comments!


Wolfram Sang (2):
  dt-bindings: watchdog: Add Renesas WWDT
  watchdog: renesas_wwdt: add driver

 .../watchdog/renesas,rcar-gen3-wwdt.yaml      | 114 ++++++++++++
 drivers/watchdog/Kconfig                      |   8 +
 drivers/watchdog/Makefile                     |   1 +
 drivers/watchdog/renesas_wwdt.c               | 163 ++++++++++++++++++
 4 files changed, 286 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/watchdog/renesas,rcar-gen3-wwdt.yaml
 create mode 100644 drivers/watchdog/renesas_wwdt.c

-- 
2.47.2


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

end of thread, other threads:[~2025-10-17 15:54 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-17 10:15 [PATCH v3 0/2] watchdog: add Renesas Window Watchdog support Wolfram Sang
2025-10-17 10:15 ` [PATCH v3 1/2] dt-bindings: watchdog: Add Renesas WWDT Wolfram Sang
2025-10-17 15:54   ` Conor Dooley
2025-10-17 10:15 ` [PATCH v3 2/2] watchdog: renesas_wwdt: add driver Wolfram Sang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).