summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorJoel Stanley <joel@jms.id.au>2018-03-13 16:47:26 +1030
committerWim Van Sebroeck <wim@linux-watchdog.org>2018-03-24 10:19:39 +0100
commit975b7f0fe669c313f925d60d67bce21f109b0f13 (patch)
treea0eba19ff229be90595293673aecba806df1975c /fs
parent1daa85d13f39144e43508fdd364ecbbaffbf35dc (diff)
downloadlinux-stable-975b7f0fe669c313f925d60d67bce21f109b0f13.tar.gz
linux-stable-975b7f0fe669c313f925d60d67bce21f109b0f13.tar.bz2
linux-stable-975b7f0fe669c313f925d60d67bce21f109b0f13.zip
watchdog: Add Nuvoton NPCM watchdog driver
The Nuvoton NPCM750 has a watchdog implemented as a single register inside the timer peripheral. This driver exposes that watchdog as a standard watchdog device with coarse timeout intervals, limited by the combination of prescaler and counter that is provided by the hardware. The calculation is taken from the Nuvoton vendor tree. The watchdog is left running if a bootloader had it going. The rate is the one specified in the device tree, or the default value (obtained from the datasheet). There is a pre-timeout IRQ that is wired up. This timeout always occurs 1024 clocks before the timeout. Signed-off-by: Joel Stanley <joel@jms.id.au> Reviewed-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions