public inbox for linux-clk@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/3] watchdog: rzn1: Add support for direct hardware reset
@ 2026-03-13  9:24 Herve Codina (Schneider Electric)
  2026-03-13  9:24 ` [PATCH v2 1/3] watchdog: rzn1: Fix reverse xmas tree declaration Herve Codina (Schneider Electric)
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Herve Codina (Schneider Electric) @ 2026-03-13  9:24 UTC (permalink / raw)
  To: Wolfram Sang, Geert Uytterhoeven, Michael Turquette, Stephen Boyd,
	Wim Van Sebroeck, Guenter Roeck
  Cc: linux-renesas-soc, linux-clk, linux-kernel, linux-watchdog,
	Pascal Eberhard, Miquel Raynal, Thomas Petazzoni,
	Herve Codina (Schneider Electric)

Hi,

The current watchdog driver handling wachdogs of the RZ/N1 SoCs is based
on interrupt only to perform the reset. On the watchdog timeout, an
interrupt is triggered and the software initiates the reset.

The watchdogs available in the RZ/N1 SoCs can directly perform an
hardware reset using their dedicated reset line.

On timeout, the watchdog also asserts its dedicated reset line. This
reset line is connected to the reset controller (part of sysctrl) and,
if this line is enabled as a possible reset source at the reset
controller level, it initiates a system reset.

This series adds support for this feature allowing watchdogs to directly
reset the system with any software needs when a watchdog timeout occurs.

The first two patches are minor fixes and improvements without changing
the current functional behavior.

The third patch unconditionally enable watchdog reset sources at the
sysctrl level (sysctrl is handled by the RZ/N1 clock driver).

Compare to previous iteration, this v2 series reworked the support for
this feature moving from a DT property and a helper to enable the
watchdog reset sources to a simple unconditionally enable of watchdog
reset sources.

Best regards,
Hervé

Changes v1 -> v2:
  v1: https://lore.kernel.org/lkml/20260310173249.161354-1-herve.codina@bootlin.com/

  Patch 1 and 2:
    No changes

  Patch 3 (new in v2):
    Unconditionally enable watchdog reset sources

  Patch 3, 4 and 5 in v1:
    Removed

Herve Codina (Schneider Electric) (3):
  watchdog: rzn1: Fix reverse xmas tree declaration
  watchdog: rzn1: Use dev_err_probe()
  clk: renesas: r9a06g032: Enable watchdog reset sources

 drivers/clk/renesas/r9a06g032-clocks.c |  5 +++--
 drivers/watchdog/rzn1_wdt.c            | 22 ++++++++--------------
 2 files changed, 11 insertions(+), 16 deletions(-)

-- 
2.53.0


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

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

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-13  9:24 [PATCH v2 0/3] watchdog: rzn1: Add support for direct hardware reset Herve Codina (Schneider Electric)
2026-03-13  9:24 ` [PATCH v2 1/3] watchdog: rzn1: Fix reverse xmas tree declaration Herve Codina (Schneider Electric)
2026-03-13 17:09   ` Wolfram Sang
2026-03-13  9:24 ` [PATCH v2 2/3] watchdog: rzn1: Use dev_err_probe() Herve Codina (Schneider Electric)
2026-03-13 17:12   ` Wolfram Sang
2026-03-13  9:24 ` [PATCH v2 3/3] clk: renesas: r9a06g032: Enable watchdog reset sources Herve Codina (Schneider Electric)
2026-03-13 17:15   ` Wolfram Sang

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