summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorFabio Baltieri <fabio.baltieri@linaro.org>2013-01-29 09:57:19 +0100
committerSamuel Ortiz <sameo@linux.intel.com>2013-02-14 00:22:53 +0100
commitf0e5bd412fde30de3839c8dfa93a3e19e71ee462 (patch)
tree5d54f2555ac1b4bb6345d5b35d37f2b54c9499f6 /include
parentmfd: dbx500-prcmu: Export a9wdog functions (diff)
downloadlinux-f0e5bd412fde30de3839c8dfa93a3e19e71ee462.tar.xz
linux-f0e5bd412fde30de3839c8dfa93a3e19e71ee462.zip
watchdog: Add support for ux500_wdt watchdog
This patch adds support for the ux500_wdt watchdog that is found in ST-Ericsson Ux500 platform. The driver is based on PRCMU APIs. Acked-by: Linus Walleij <linus.walleij@linaro.org> Acked-by: Lee Jones <lee.jones@linaro.org> Acked-by: Wim Van Sebroeck <wim@iguana.be> Signed-off-by: Fabio Baltieri <fabio.baltieri@linaro.org> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/platform_data/ux500_wdt.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/include/linux/platform_data/ux500_wdt.h b/include/linux/platform_data/ux500_wdt.h
new file mode 100644
index 000000000000..1689ff4c3bfd
--- /dev/null
+++ b/include/linux/platform_data/ux500_wdt.h
@@ -0,0 +1,19 @@
+/*
+ * Copyright (C) ST Ericsson SA 2011
+ *
+ * License Terms: GNU General Public License v2
+ *
+ * STE Ux500 Watchdog platform data
+ */
+#ifndef __UX500_WDT_H
+#define __UX500_WDT_H
+
+/**
+ * struct ux500_wdt_data
+ */
+struct ux500_wdt_data {
+ unsigned int timeout;
+ bool has_28_bits_resolution;
+};
+
+#endif /* __UX500_WDT_H */