linux-watchdog.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] watchdog: new driver for STMP3xxx/MX23/MX28
@ 2011-12-08 17:19 Wolfram Sang
  2011-12-08 17:19 ` [PATCH 1/3] rtc: stmp3xxx: add wdt-accessor function Wolfram Sang
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Wolfram Sang @ 2011-12-08 17:19 UTC (permalink / raw)
  To: linux-watchdog
  Cc: Wim Van Sebroeck, Andrew Morton, linux-arm-kernel, Wolfram Sang

Introduce a new user of the watchdog framework :) This is a rewritten driver
for STMP and imx23/28 (the old one was not compilable anymore due to the
missing mach). Please read the patch descriptions to understand why I think a
rewrite was necessary. The first patch adds an accessor routine to the
RTC-driver which can hopefully go via the watchdog-tree as well. The second
patch adds the new driver, the third removes the old one.

I hope this can make it for 3.3; the old driver was broken (= not compilable)
anyhow, so there cannot be any regression. Tested on a MX28EVK.

Regards,

   Wolfram

Changes since V1:

* don't use EXPORT_SYMBOL for the callback into the RTC anymore.
  Now, the callback is provided via platform_data to make sure it is
  private between RTC and watchdog.

* use more helpers to reduce driver size (module_platform_driver, pm_ops)

Wolfram Sang (3):
  rtc: stmp3xxx: add wdt-accessor function
  watchdog: add new driver for STMP3xxx and i.MX23/28
  watchdog: remove old STMP3XXX driver

 drivers/rtc/rtc-stmp3xxx.c          |   64 ++++++++
 drivers/watchdog/Kconfig            |   13 +-
 drivers/watchdog/Makefile           |    2 +-
 drivers/watchdog/stmp3xxx_rtc_wdt.c |  139 ++++++++++++++++
 drivers/watchdog/stmp3xxx_wdt.c     |  297 -----------------------------------
 include/linux/stmp3xxx_rtc_wdt.h    |   15 ++
 6 files changed, 226 insertions(+), 304 deletions(-)
 create mode 100644 drivers/watchdog/stmp3xxx_rtc_wdt.c
 delete mode 100644 drivers/watchdog/stmp3xxx_wdt.c
 create mode 100644 include/linux/stmp3xxx_rtc_wdt.h

-- 
1.7.7.3


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

end of thread, other threads:[~2011-12-09  9:22 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-08 17:19 [PATCH 0/3] watchdog: new driver for STMP3xxx/MX23/MX28 Wolfram Sang
2011-12-08 17:19 ` [PATCH 1/3] rtc: stmp3xxx: add wdt-accessor function Wolfram Sang
2011-12-09  0:27   ` Shawn Guo
2011-12-09  9:22     ` Wolfram Sang
2011-12-08 17:19 ` [PATCH 2/3] watchdog: add new driver for STMP3xxx and i.MX23/28 Wolfram Sang
2011-12-08 17:19 ` [PATCH 3/3] watchdog: remove old STMP driver Wolfram Sang

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