[lkml]   [2012]   [Oct]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subject[PATCH v3 0/6] watchdog: omap_wdt: convert to new watchdog core

This is a third version of the patch to convert omap_wdt to new watchdog
core. On OMAP boards, there are usually multiple watchdogs. Since the new
watchdog core supports multiple watchdogs, all watchdog drivers used on
OMAP should be converted. This is especially important on devices like
Nokia N9 or N800 where multiple watchdogs are present and watchdog HW
cannot be disabled on devices available to consumers/hobbyists.

I have also done additional cleanups to utilize devres. They are separate
patches to make reviewing easier.

Please review and consider applying/queueing these patches, perhaps
maybe for 3.8. Thanks.

Tested on top of current mainline
(2474542f64432398f503373f53bdf620491bcfa8) on Nokia N950.

Patch set history:

v3: Patch 1 rebased on top of current mainline. Added received
Tested by -tags. Added patches 2..6.

v2 ( Fix a bug in the
first version of the patch: __omap_wdt_disable() in probe was
mistakenly moved outside PM runtime calls. This caused a crash
as device was probably accessed with some clocks off. Thanks to
Jarkko Nikula <> for reporting this.

v1 ( The initial version.

Aaro Koskinen (6):
watchdog: omap_wdt: convert to new watchdog core
watchdog: omap_wdt: convert kzalloc() to devm_kzalloc()
watchdog: omap_wdt: convert request_mem_region() to
watchdog: omap_wdt: convert ioremap() to devm_ioremap()
watchdog: omap_wdt: delete redundant platform_set_drvdata() calls
watchdog: omap_wdt: eliminate goto

drivers/watchdog/Kconfig | 1 +
drivers/watchdog/omap_wdt.c | 329 +++++++++++++++++--------------------------
2 files changed, 131 insertions(+), 199 deletions(-)


 \ /
  Last update: 2012-10-10 22:41    [W:0.042 / U:3.972 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site