Linux Watchdog driver development
 help / color / mirror / Atom feed
* [PATCH v2 0/2] watchdog: cleanup ep93xx platform drivers
@ 2017-01-30 21:01 H Hartley Sweeten
  2017-01-30 21:01 ` [PATCH v2 1/2] watchdog: ep93xx_wdt: cleanup and let the core handle the heartbeat H Hartley Sweeten
  2017-01-30 21:01 ` [PATCH v2 2/2] watchdog: ts72xx_wdt: convert driver to watchdog core H Hartley Sweeten
  0 siblings, 2 replies; 5+ messages in thread
From: H Hartley Sweeten @ 2017-01-30 21:01 UTC (permalink / raw)
  To: linux-watchdog; +Cc: H Hartley Sweeten

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.

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 | 111 ++++-------
 drivers/watchdog/ts72xx_wdt.c | 447 +++++++++---------------------------------
 2 files changed, 135 insertions(+), 423 deletions(-)

-- 
2.10.0


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

end of thread, other threads:[~2017-01-31 14:56 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-30 21:01 [PATCH v2 0/2] watchdog: cleanup ep93xx platform drivers H Hartley Sweeten
2017-01-30 21:01 ` [PATCH v2 1/2] watchdog: ep93xx_wdt: cleanup and let the core handle the heartbeat H Hartley Sweeten
2017-01-31 12:16   ` Guenter Roeck
2017-01-30 21:01 ` [PATCH v2 2/2] watchdog: ts72xx_wdt: convert driver to watchdog core H Hartley Sweeten
2017-01-31 12:25   ` Guenter Roeck

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