linux-watchdog.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/3] wdt: lantiq: Convert to watchdog_device
@ 2018-09-13 21:32 Hauke Mehrtens
  2018-09-13 21:32 ` [PATCH v3 1/3] wdt: lantiq: update register names to better match spec Hauke Mehrtens
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Hauke Mehrtens @ 2018-09-13 21:32 UTC (permalink / raw)
  To: wim, linux; +Cc: linux-watchdog, john, dev, Hauke Mehrtens

This converts the watchdog driver for the lantiq SoCs to use the
watchdog_device subsystem instead of implementing the ioctls on its own.

Changes since:
v2:
 * fix some 80 lines checkpatch warnings
 * rename LTQ_WDT_CR_RELOAD_MASK to LTQ_WDT_CR_MAX_TIMEOUT
 * remove return in ltq_wdt_w32()
 * remove error check for clk_get_io()
 * remove clk_put()
 * improve error check for priv->clk_rate
 * check LTQ_WDT_SR if watchdog is still running
 * improve commit messages

v1:
 * Removed includes for file system operations
 * reordered the adding of new defines
 * Added struct ltq_wdt_hw to store the chip specific function pointer
   instead of using a typedef
 * priv->clk_rate now contains the number of clocks the wdt decreases per
   second
 * call watchdog_init_timeout()
 * keep the watchdog running if it was already running before the driver
   was loaded

Hauke Mehrtens (3):
  wdt: lantiq: update register names to better match spec
  wdt: lantiq: Convert to watchdog_device
  wdt: lantiq: add get_timeleft callback

 drivers/watchdog/Kconfig      |   1 +
 drivers/watchdog/lantiq_wdt.c | 311 ++++++++++++++++++++----------------------
 2 files changed, 148 insertions(+), 164 deletions(-)

-- 
2.11.0

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

end of thread, other threads:[~2018-09-14 22:39 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-09-13 21:32 [PATCH v3 0/3] wdt: lantiq: Convert to watchdog_device Hauke Mehrtens
2018-09-13 21:32 ` [PATCH v3 1/3] wdt: lantiq: update register names to better match spec Hauke Mehrtens
2018-09-14 17:24   ` Guenter Roeck
2018-09-13 21:32 ` [PATCH v3 2/3] wdt: lantiq: Convert to watchdog_device Hauke Mehrtens
2018-09-14 17:24   ` Guenter Roeck
2018-09-13 21:32 ` [PATCH v3 3/3] wdt: lantiq: add get_timeleft callback Hauke Mehrtens
2018-09-14 17:24   ` Guenter Roeck

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).