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

Juergen Beisert jbe at pengutronix.de
Wed Jun 27 10:30:40 EDT 2012


This patch series add a less 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 has reorganized additions. And it is more or less prepared to add
support for more than one watchdog at runtime at a time later on.

The following changes since commit 7eccba9c44dc69c9727a14b3e7a82c31b874327e:

  Merge branch 'for-next/sparse' into next (2012-06-26 21:30:22 +0200)

are available in the git repository at:

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

for you to fetch changes up to b75764cbf2bbdbc63c38f85690a39d647a5a7bda:

  ARM/MXS: add a watchdog driver for i.MX28 (2012-06-27 12:25:49 +0200)

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

 commands/Kconfig           |   19 +++++++
 commands/Makefile          |    1 +
 commands/wd.c              |   68 ++++++++++++++++++++++++
 drivers/Kconfig            |    1 +
 drivers/Makefile           |    1 +
 drivers/watchdog/Kconfig   |   15 ++++++
 drivers/watchdog/Makefile  |    2 +
 drivers/watchdog/im28wd.c  |  124 ++++++++++++++++++++++++++++++++++++++++++++
 drivers/watchdog/wd_core.c |   61 ++++++++++++++++++++++
 include/watchdog.h         |   24 +++++++++
 10 files changed, 316 insertions(+)
 create mode 100644 commands/wd.c
 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