Linux Watchdog driver development
 help / color / mirror / Atom feed
* [PATCH v3 0/1] watchdog: realtek-otto: Make use of regmap API
@ 2026-07-10  7:43 Rustam Adilov
  2026-07-10  7:43 ` [PATCH v3 1/1] watchdog: realtek-otto: Change to use " Rustam Adilov
  2026-07-10  8:13 ` [PATCH v3 0/1] watchdog: realtek-otto: Make use of " Rustam Adilov
  0 siblings, 2 replies; 4+ messages in thread
From: Rustam Adilov @ 2026-07-10  7:43 UTC (permalink / raw)
  To: Wim Van Sebroeck, Guenter Roeck, Sander Vanheule, linux-watchdog,
	linux-kernel
  Cc: Rustam Adilov

This patch series changes the driver to use regmap API for all of the
register access stuff instead of the ioread32 and iowrite32 with __iomem.
That makes the watchdog operable when SWAP_IO_SPACE config is enabled just
by adding big-endian property to the device tree node.

Also, there was a comment by sashiko which got addressed by Sander in [2]
with possibility of it being false positive so i left it at that.

---
Changelog in v3:
- reworded the commit message to make the main reasoning clear.
- rebased the branch.
- Link v2: https://lore.kernel.org/linux-watchdog/20260519182329.24472-1-adilov@disroot.org/

Changelog in v2:
- removed patches 2 and 3 that add rtl9607c device.
- included driver changes made by Sander in [1].
- added disable_locking to regmap_config and set it to true.
- Link to v1: https://lore.kernel.org/all/20260509163101.722793-1-adilov@disroot.org/

[1] https://lore.kernel.org/all/20260515212351.752054-1-sander@svanheule.net/
[2] https://lore.kernel.org/linux-watchdog/d0b159eefa6bc5abf0d1531acde568396f480500.camel@svanheule.net/

Rustam Adilov (1):
  watchdog: realtek-otto: Change to use regmap API

 drivers/watchdog/Kconfig            |  1 +
 drivers/watchdog/realtek_otto_wdt.c | 74 +++++++++++++++--------------
 2 files changed, 39 insertions(+), 36 deletions(-)

-- 
2.55.0


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

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

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-10  7:43 [PATCH v3 0/1] watchdog: realtek-otto: Make use of regmap API Rustam Adilov
2026-07-10  7:43 ` [PATCH v3 1/1] watchdog: realtek-otto: Change to use " Rustam Adilov
2026-07-10  7:58   ` sashiko-bot
2026-07-10  8:13 ` [PATCH v3 0/1] watchdog: realtek-otto: Make use of " Rustam Adilov

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