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