]> asedeno.scripts.mit.edu Git - linux.git/commit
watchdog: ts4800: add driver for TS-4800 watchdog
authorDamien Riegel <damien.riegel@savoirfairelinux.com>
Tue, 8 Dec 2015 16:37:28 +0000 (11:37 -0500)
committerWim Van Sebroeck <wim@iguana.be>
Mon, 28 Dec 2015 21:29:35 +0000 (22:29 +0100)
commitbf9006399939762e6cd32445e848e56727df9d98
tree0a1c3f5ce30d5c1412e8a93746892775ae5717af
parentb466ee89509a1593441537f34c313edafe2ba47c
watchdog: ts4800: add driver for TS-4800 watchdog

This watchdog is instantiated in a FPGA that is memory mapped. It is
made of only one register, called the feed register. Writing to this
register will re-arm the watchdog for a given time (and enable it if it
was disable). It can be disabled by writing a special value into it.

It is part of a syscon block, and the watchdog register offset in this
block varies from board to board. This offset is passed in the syscon
property after the phandle to the syscon node.

Signed-off-by: Damien Riegel <damien.riegel@savoirfairelinux.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Documentation/devicetree/bindings/watchdog/ts4800-wdt.txt [new file with mode: 0644]
drivers/watchdog/Kconfig
drivers/watchdog/Makefile
drivers/watchdog/ts4800_wdt.c [new file with mode: 0644]