summaryrefslogtreecommitdiffstats
path: root/drivers/watchdog/moxart_wdt.c
Commit message (Collapse)AuthorAgeFilesLines
* watchdog: mach-moxart: add restart handlerJonas Jensen2014-01-281-0/+15
| | | | | | | | | mach-moxart lacks a separate register for reset; as a workaround, add a function that can be hooked to arm_pm_restart. Signed-off-by: Jonas Jensen <jonas.jensen@gmail.com> Acked-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
* watchdog: Add MOXA ART watchdog driverJonas Jensen2013-11-171-0/+165
This patch adds a watchdog driver for the main hardware watchdog timer found on MOXA ART SoCs. The MOXA ART SoC provides one writable timer register, restarting the hardware once it reaches zero. The register is auto decremented every APB clock cycle. Signed-off-by: Jonas Jensen <jonas.jensen@gmail.com> Reviewed-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
OpenPOWER on IntegriCloud