Skip to content

watchdog: cleanup ep93xx platform drivers

H Hartley Sweeten linux-watchdog 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 2 repliesIn review
  2. v22 patches 2 repliesSuperseded
  3. v12 patches 5 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2watchdog: ep93xx_wdt: cleanup and let the core handle the heartbeatdrivers/watchdog/ep93xx_wdt.c+44 -701 reply
2/2watchdog: ts72xx_wdt: convert driver to watchdog coredrivers/watchdog/ts72xx_wdt.c+89 -3581 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchGuenter Roeck
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/2] watchdog: cleanup ep93xx platform drivers

The ep93xx_wdt driver is used by EP93xx based platforms for the internal watchdog of the EP93xx processor. The TS-72xx platforms have an additional watchdog provided by the CPLD on those boards.

Cleanup both drivers.

v2: Address issues pointed out by Guenter Roeck
1) leave the 'timeout' module parameter in both drivers
2) use devm_watchdog_register_device() in both drivers
3) use wdd->max_hw_heartbeat_ms in the ts72xx_wdt driver to allow larger timeouts

The ts72xx_wdt driver does not need to disable the watchdog when the driver is first probed. It will be disabled by arch_decomp_setup() before the uncompress of the kernel.

v3: Address a couple more issues pointed out by Guenter Roeck
1) fix the 'timeout' module parameters so that the core will actually look for a device tree parameter
2) increase the default timeout for the ts72xx_wdt driver to 30 seconds
3) remove unnecessary platform_set_drvdata()
4) fix the set_timeout logic in the ts72xx_wdt driver

H Hartley Sweeten (2):
watchdog: ep93xx_wdt: cleanup and let the core handle the heartbeat
watchdog: ts72xx_wdt: convert driver to watchdog core

 drivers/watchdog/ep93xx_wdt.c | 114 +++++------
 drivers/watchdog/ts72xx_wdt.c | 447 +++++++++---------------------------------
 2 files changed, 133 insertions(+), 428 deletions(-)
Signature · 1 line
2.10.0