aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/watchdog/Kconfig
diff options
context:
space:
mode:
authorPurna Chandra Mandal <purna.mandal@microchip.com>2016-02-26 12:20:22 -0500
committerRalf Baechle <ralf@linux-mips.org>2016-05-13 08:02:12 -0400
commitb0d8a082ce9c82600ebf8949dab937cf53019356 (patch)
treea6ec776aaaa29a71c6a86bc344175e4bf3df274e /drivers/watchdog/Kconfig
parentbfa43267bc1c6484fe63570774c381ddc7b32f40 (diff)
watchdog: pic32-dmt: Add PIC32 deadman timer driver
Adds support for the deadman timer peripheral found on PIC32 class devices. The primary function of the deadman timer (DMT) is to reset the processor in the event of a software malfunction. The DMT is a free-running instruction fetch timer, which is clocked whenever an instruction fetch occurs until a count match occurs. Instructions are not fetched when the processor is in sleep mode. Signed-off-by: Purna Chandra Mandal <purna.mandal@microchip.com> Signed-off-by: Joshua Henderson <joshua.henderson@microchip.com> Reviewed-by: Guenter Roeck <linux@roeck-us.net> Cc: Rob Herring <robh+dt@kernel.org> Cc: Pawel Moll <pawel.moll@arm.com> Cc: Mark Rutland <mark.rutland@arm.com> Cc: Ian Campbell <ijc+devicetree@hellion.org.uk> Cc: Kumar Gala <galak@codeaurora.org> Cc: Wim Van Sebroeck <wim@iguana.be> Cc: linux-kernel@vger.kernel.org Cc: linux-mips@linux-mips.org Cc: devicetree@vger.kernel.org Cc: linux-watchdog@vger.kernel.org Patchwork: https://patchwork.linux-mips.org/patch/12703/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'drivers/watchdog/Kconfig')
-rw-r--r--drivers/watchdog/Kconfig13
1 files changed, 13 insertions, 0 deletions
diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig
index 42408a61255c..9c4143112e6c 100644
--- a/drivers/watchdog/Kconfig
+++ b/drivers/watchdog/Kconfig
@@ -1488,6 +1488,19 @@ config PIC32_WDT
1488 To compile this driver as a loadable module, choose M here. 1488 To compile this driver as a loadable module, choose M here.
1489 The module will be called pic32-wdt. 1489 The module will be called pic32-wdt.
1490 1490
1491config PIC32_DMT
1492 tristate "Microchip PIC32 Deadman Timer"
1493 select WATCHDOG_CORE
1494 depends on MACH_PIC32
1495 help
1496 Watchdog driver for PIC32 instruction fetch counting timer. This specific
1497 timer is typically be used in misson critical and safety critical
1498 applications, where any single failure of the software functionality
1499 and sequencing must be detected.
1500
1501 To compile this driver as a loadable module, choose M here.
1502 The module will be called pic32-dmt.
1503
1491# PARISC Architecture 1504# PARISC Architecture
1492 1505
1493# POWERPC Architecture 1506# POWERPC Architecture