[PATCHv2] Add a simple watchdog 'framework' to Barebox

Juergen Beisert jbe at pengutronix.de
Fri Jun 22 05:54:01 EDT 2012


This patch series add a very simple watchdog command and also a user of it
for the i.MX28 SoC. The watchdog driver might also work on i.MX23, but this
is not tested yet.

This version adds some error check and reporting, if the watchdog does not
work as expected.

The following changes since commit 5d44309c3f9ab24d3f12f0d571bb94725948f0ff:

  Merge branch 'for-next/resource-size' into next (2012-06-21 20:52:03 +0200)

are available in the git repository at:

  git://git.pengutronix.de/git/jbe/barebox.git next_add_watchdog_frameworkV2

for you to fetch changes up to db34cd3715b7cbce138ccffaa5490be2e31e1b3e:

  ARM/MXS: add a watchdog driver for i.MX28 (2012-06-22 11:45:42 +0200)

----------------------------------------------------------------
Juergen Beisert (2):
      Add a simple watchdog framework
      ARM/MXS: add a watchdog driver for i.MX28

 drivers/Kconfig            |    1 +
 drivers/Makefile           |    1 +
 drivers/watchdog/Kconfig   |   17 +++++++
 drivers/watchdog/Makefile  |    2 +
 drivers/watchdog/im28wd.c  |  121 ++++++++++++++++++++++++++++++++++++++++++++
 drivers/watchdog/wd_core.c |   58 +++++++++++++++++++++
 include/watchdog.h         |   18 +++++++
 7 files changed, 218 insertions(+)
 create mode 100644 drivers/watchdog/Kconfig
 create mode 100644 drivers/watchdog/Makefile
 create mode 100644 drivers/watchdog/im28wd.c
 create mode 100644 drivers/watchdog/wd_core.c
 create mode 100644 include/watchdog.h




More information about the barebox mailing list