[PATCH 0/4] watchdog: MAX63xx cleanup and platform settings

From: Vivien Didelot
Date: Thu Jan 29 2015 - 12:16:05 EST


The purpose of this patchset is to add a platform data structure for the
max63xx_wdt driver in order to setup the device in a platform code. This is
especially handy if the driver is built-in and/or the device registers aren't
memory mapped.

First, fix the Kconfig entry to allow building the support for architectures
other than ARM. Then clean up the driver to help distinguish different device
connections and to ease the introduction of new features: support for GPIO
wired MAX63xx devices and heartbeat as a platform setting.

Tested with a GPIO wired MAX6373 on an Atom platform, with a built-in driver.

Vivien Didelot (4):
watchdog: MAX63XX_WATCHDOG does not depend on ARM
watchdog: max63xx: cleanup
watchdog: max63xx: add GPIO support
watchdog: max63xx: add heartbeat to platform data

drivers/watchdog/Kconfig | 9 +-
drivers/watchdog/max63xx_wdt.c | 297 +++++++++++++++++++-----------
include/linux/platform_data/max63xx_wdt.h | 29 +++
3 files changed, 226 insertions(+), 109 deletions(-)
create mode 100644 include/linux/platform_data/max63xx_wdt.h

--
2.2.2

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/