linux-watchdog.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/3] wdt: lantiq: Convert to watchdog_device
@ 2018-09-02 11:32 Hauke Mehrtens
  2018-09-02 11:32 ` [PATCH v2 1/3] wdt: lantiq: update register names to better match spec Hauke Mehrtens
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Hauke Mehrtens @ 2018-09-02 11: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:
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 | 309 ++++++++++++++++++++----------------------
 2 files changed, 148 insertions(+), 162 deletions(-)

-- 
2.11.0

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

end of thread, other threads:[~2018-09-10 18:21 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-09-02 11:32 [PATCH v2 0/3] wdt: lantiq: Convert to watchdog_device Hauke Mehrtens
2018-09-02 11:32 ` [PATCH v2 1/3] wdt: lantiq: update register names to better match spec Hauke Mehrtens
2018-09-03 23:09   ` [v2,1/3] " Guenter Roeck
2018-09-09 21:04     ` Hauke Mehrtens
2018-09-02 11:32 ` [PATCH v2 2/3] wdt: lantiq: Convert to watchdog_device Hauke Mehrtens
2018-09-03 23:43   ` Guenter Roeck
2018-09-09 21:07     ` Hauke Mehrtens
2018-09-10 13:26       ` Guenter Roeck
2018-09-02 11:32 ` [PATCH v2 3/3] wdt: lantiq: add get_timeleft callback Hauke Mehrtens

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).