watchdog: NXP LPC18xx Watchdog Timer Driver
authorAriel D'Alessandro <ariel@vanguardiasur.com.ar>
Sat, 1 Aug 2015 18:37:16 +0000 (15:37 -0300)
committerWim Van Sebroeck <wim@iguana.be>
Wed, 9 Sep 2015 19:35:59 +0000 (21:35 +0200)
commit7c25f8c9f67708e6464d2221bc311cbd99e950dc
treebcbec541a7d86d907a42c3a64b125604804794cd
parent4f2d0b2d1b31cbe704c8f94e74e46cb64187ab0c
watchdog: NXP LPC18xx Watchdog Timer Driver

This commit adds support for the watchdog timer found in NXP LPC SoCs
family, which includes LPC18xx/LPC43xx. Other SoCs in that family may
share the same watchdog hardware.

Watchdog driver registers a restart handler that will restart the system
by performing an incorrect feed after ensuring the watchdog is enabled in
reset mode.

As watchdog cannot be disabled in hardware, driver's stop routine will
regularly send a keepalive ping using a timer.

Signed-off-by: Ariel D'Alessandro <ariel@vanguardiasur.com.ar>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/watchdog/Kconfig
drivers/watchdog/Makefile
drivers/watchdog/lpc18xx_wdt.c [new file with mode: 0644]