Skip to contentSkip to conversation

Watchdog: DA9055 Watchdog driver

PATCH New Ashish Jangam 1 participant 1 message Oct 12, 2012

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH v2 6/7 Watchdog: DA9055 Watchdog driver

This is the Watchdog patch for the DA9055 PMIC. This patch has got dependency on the DA9055 MFD core.

This patch is functionally tested on SMDK6410

---
changes since version v2:
- remove duplicate includes
- use of module_platform_driver macro

---
 drivers/watchdog/Kconfig      |   10 ++
 drivers/watchdog/Makefile     |    1 +
 drivers/watchdog/da9055_wdt.c |  216 +++++++++++++++++++++++++++++++++++++++++
 3 files changed, 227 insertions(+), 0 deletions(-)
 create mode 100644 drivers/watchdog/da9055_wdt.c
drivers/watchdog/Kconfig +10 -0
index 53d7571..eb51bf2 100644
@@ -76,6 +76,16 @@ config DA9052_WATCHDOG
           Alternatively say M to compile the driver as a module,
           which will be called da9052_wdt.
 
+config DA9055_WATCHDOG
+	tristate "Dialog Semiconductor DA9055 Watchdog"
+	depends on MFD_DA9055
+	help
+	  If you say yes here you get support for watchdog on the Dialog
+	  Semiconductor DA9055 PMIC.
+
+	  This driver can also be built as a module.  If so, the module
+	  will be called da9055_wdt.
+
 config WM831X_WATCHDOG
 	tristate "WM831x watchdog"
 	depends on MFD_WM831X
drivers/watchdog/Makefile +1 -0
index 572b39b..97bbdb3 100644
@@ -164,6 +164,7 @@ obj-$(CONFIG_XEN_WDT) += xen_wdt.o
 
 # Architecture Independent
 obj-$(CONFIG_DA9052_WATCHDOG) += da9052_wdt.o
+obj-$(CONFIG_DA9055_WATCHDOG) += da9055_wdt.o
 obj-$(CONFIG_WM831X_WATCHDOG) += wm831x_wdt.o
 obj-$(CONFIG_WM8350_WATCHDOG) += wm8350_wdt.o
 obj-$(CONFIG_MAX63XX_WATCHDOG) += max63xx_wdt.o
drivers/watchdog/da9055_wdt.c new file +216 -0

216 lines not on this page · raw message

Signature · 1 line
1.7.0.4