watchdog: cleanup ep93xx platform drivers
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest2 patches 2 repliesIn review
- v22 patches 2 repliesSuperseded
- v12 patches 5 repliesSuperseded
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | watchdog: ep93xx_wdt: cleanup and let the core handle the heartbeatdrivers/ | +44 | 1 reply | |
| 2/2 | watchdog: ts72xx_wdt: convert driver to watchdog coredrivers/ | +89 | 1 reply |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Guenter Roeck |
|---|---|
| 1/2 | R-b |
| 2/2 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
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