Linux Watchdog driver development
 help / color / mirror / Atom feed
* [PATCH v3 0/3] watchdog: rzv2h: Convert WDTDCR handling to regmap
@ 2026-08-14 19:14 Prabhakar
  2026-08-14 19:14 ` [PATCH v3 1/3] watchdog: rzv2h_wdt: Propagate WDTDCR access errors Prabhakar
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Prabhakar @ 2026-08-14 19:14 UTC (permalink / raw)
  To: Guenter Roeck, Wim Van Sebroeck, Philipp Zabel
  Cc: linux-watchdog, linux-kernel, linux-renesas-soc, Prabhakar,
	Biju Das, Fabrizio Castro, Lad Prabhakar

From: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>

Hi All,

This patch series converts the WDTDCR register access from raw
readl/writel variants over to the regmap framework using
devm_regmap_init_mmio(). This conversion serves as a preparatory
refactoring step. It allows the driver to subsequently support
syscon-based system controllers natively by passing along alternative
regmap handles without forcing messy architectural branching at runtime.

Note,
 - This change was suggested [0]
   [0] https://lore.kernel.org/all/c3ef312a-4c26-498c-90c8-118c6dc035a0@roeck-us.net/ 
- Patches are rebased on top of next-20260813

v2->v3:
- Patch#1, is split from v2 patch #1 to make thing easier to review.
- Moved unwinding changes to patch#1.
- Set use_raw_spinlock to true in regmap config as certain watchdog operations
  runs in an atomic panic context.
- Updated commit message to reflect the change for patch#3.

v1->v2:
 - Dropped patch #1 from v1 series.
 - Switched to use regmap_set/clear_bits()

v2: https://lore.kernel.org/all/20260715133922.2129340-1-prabhakar.mahadev-lad.rj@bp.renesas.com/
v1: https://lore.kernel.org/all/20260702160457.1884345-1-prabhakar.mahadev-lad.rj@bp.renesas.com/

Cheers,
Prabhakar

Lad Prabhakar (3):
  watchdog: rzv2h_wdt: Propagate WDTDCR access errors
  watchdog: rzv2h: Convert WDTDCR handling to regmap
  watchdog: rzv2h: Drop WDTRCR_RSTIRQS define

 drivers/watchdog/rzv2h_wdt.c | 80 +++++++++++++++++++++++++-----------
 1 file changed, 57 insertions(+), 23 deletions(-)

-- 
2.43.0


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

end of thread, other threads:[~2026-08-27 14:08 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-14 19:14 [PATCH v3 0/3] watchdog: rzv2h: Convert WDTDCR handling to regmap Prabhakar
2026-08-14 19:14 ` [PATCH v3 1/3] watchdog: rzv2h_wdt: Propagate WDTDCR access errors Prabhakar
2026-08-14 19:26   ` sashiko-bot
2026-08-17  9:46   ` Geert Uytterhoeven
2026-08-17 14:57     ` Lad, Prabhakar
2026-08-14 19:14 ` [PATCH v3 2/3] watchdog: rzv2h: Convert WDTDCR handling to regmap Prabhakar
2026-08-14 19:26   ` sashiko-bot
2026-08-14 19:14 ` [PATCH v3 3/3] watchdog: rzv2h: Drop WDTRCR_RSTIRQS define Prabhakar
2026-08-27 14:08 ` [PATCH v3 0/3] watchdog: rzv2h: Convert WDTDCR handling to regmap Guenter Roeck

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