mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2 0/2] watchdog: rzv2h: Convert WDTDCR handling to regmap
@ 2026-07-15 13:39 Prabhakar
  2026-07-15 13:39 ` [PATCH v2 1/2] " Prabhakar
  2026-07-15 13:39 ` [PATCH v2 2/2] watchdog: rzv2h: Drop WDTRCR_RSTIRQS macro Prabhakar
  0 siblings, 2 replies; 7+ messages in thread
From: Prabhakar @ 2026-07-15 13:39 UTC (permalink / raw)
  To: Guenter Roeck, Wim Van Sebroeck, Philipp Zabel, Geert Uytterhoeven
  Cc: linux-watchdog, linux-renesas-soc, linux-kernel, 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-20260714

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

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

Cheers,
Prabhakar

Lad Prabhakar (2):
  watchdog: rzv2h: Convert WDTDCR handling to regmap
  watchdog: rzv2h: Drop WDTRCR_RSTIRQS macro

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

-- 
2.54.0


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

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

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-15 13:39 [PATCH v2 0/2] watchdog: rzv2h: Convert WDTDCR handling to regmap Prabhakar
2026-07-15 13:39 ` [PATCH v2 1/2] " Prabhakar
2026-07-20 14:56   ` Guenter Roeck
2026-07-27 10:54     ` Lad, Prabhakar
2026-07-15 13:39 ` [PATCH v2 2/2] watchdog: rzv2h: Drop WDTRCR_RSTIRQS macro Prabhakar
2026-07-20 14:57   ` Guenter Roeck
2026-07-27 10:56     ` Lad, Prabhakar

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®