All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/2] renesas: Renesas R-Car Gen4 watchdog driver
@ 2025-06-03  3:06 ` Shmuel Leib Melamud via B4 Relay
  0 siblings, 0 replies; 12+ messages in thread
From: Shmuel Leib Melamud @ 2025-06-03  3:06 UTC (permalink / raw)
  To: Nobuhiro Iwamatsu, Marek Vasut, Lukasz Majewski, Sean Anderson,
	Tom Rini, Stefan Roese, Mattijs Korpershoek
  Cc: u-boot, Shmuel Leib Melamud

These series add support of Renesas R-Car Gen4 watchdog timer.
Timeouts up to 8184.0s are supported (CKS1 register is not involved).
The watchdog uses the clock type CLK_TYPE_GEN4_MDSEL, so a separate
patch adds handling of this constant to gen3_clk_get_rate64() function.

The series were tested on real Renesas R8A779F0 hardware. If the
watchdog driver is enabled at the build time, the watchdog timer is
initialized when U-Boot starts. Under normal circumstances, U-Boot loads
the kernel, it starts systemd and systemd continues to pet the watchdog.
If systemd is not started before the timeout expires, the watchdog
resets the board.

Signed-off-by: Shmuel Leib Melamud <smelamud@redhat.com>

---
Changes in v3:
- Reference to the Linux driver added.
- Clock driver change moved to a separate patch.
- rwdt_ prefix used everywhere instead of renesas_wdt_.
- Disable the clock if rwdt_probe() fails.
- List of compatibles updated.
- Link to v2: https://lore.kernel.org/r/20250530-us-renesas-watchdog-v2-1-b0d8f96c64dc@redhat.com

---
Shmuel Leib Melamud (2):
      renesas: Handle CLK_TYPE_GEN4_MDSEL in gen3_clk_get_rate64()
      renesas: Renesas R-Car Gen4 watchdog driver

 drivers/clk/renesas/clk-rcar-gen3.c |   4 +-
 drivers/watchdog/Kconfig            |   8 ++
 drivers/watchdog/Makefile           |   1 +
 drivers/watchdog/renesas_wdt.c      | 182 ++++++++++++++++++++++++++++++++++++
 4 files changed, 194 insertions(+), 1 deletion(-)
---
base-commit: 3b6760ddeb4ef940226921017cd9088c89784b01
change-id: 20250530-us-renesas-watchdog-2c79dbbd5cd2

Best regards,
-- 
Shmuel Leib Melamud <smelamud@redhat.com>


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

end of thread, other threads:[~2025-06-08 14:48 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-03  3:06 [PATCH v3 0/2] renesas: Renesas R-Car Gen4 watchdog driver Shmuel Leib Melamud
2025-06-03  3:06 ` Shmuel Leib Melamud via B4 Relay
2025-06-03  3:06 ` [PATCH v3 1/2] renesas: Handle CLK_TYPE_GEN4_MDSEL in gen3_clk_get_rate64() Shmuel Leib Melamud
2025-06-03  3:06   ` Shmuel Leib Melamud via B4 Relay
2025-06-04  8:39   ` Mattijs Korpershoek
2025-06-08 14:39   ` Marek Vasut
2025-06-03  3:06 ` [PATCH v3 2/2] renesas: Renesas R-Car Gen4 watchdog driver Shmuel Leib Melamud
2025-06-03  3:06   ` Shmuel Leib Melamud via B4 Relay
2025-06-04  8:52   ` Mattijs Korpershoek
2025-06-05  3:33     ` Shmuel Melamud
2025-06-05  9:06       ` Mattijs Korpershoek
2025-06-08 14:48   ` Marek Vasut

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.