Skip to content

watchdog: realtek-otto: Make use of regmap API

Rustam Adilov linux-watchdog lkml 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest1 patch 2 repliesIn review
  2. v21 patch 10 repliesSuperseded
  3. v13 patches 11 repliesSuperseded

Changes in v3 from the cover letter

- reworded the commit message to make the main reasoning clear.
- rebased the branch.
- Link v2: https://lore.kernel.org/linux-watchdog/[email protected]/

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1watchdog: realtek-otto: Change to use regmap APIdrivers/watchdog/Kconfig drivers/watchdog/realtek_otto_wdt.c+39 -361 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [PATCH v3 0/1] watchdog: realtek-otto: Make use of regmap API

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/[email protected]/

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/[email protected]/

[1] https://lore.kernel.org/all/[email protected]/
[2] https://lore.kernel.org/linux-watchdog/[email protected]/

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(-)
Signature · 1 line
2.55.0