watchdog: digicolor: driver for Conexant Digicolor CX92755 SoC
authorBaruch Siach <baruch@tkos.co.il>
Tue, 31 Mar 2015 06:14:59 +0000 (09:14 +0300)
committerWim Van Sebroeck <wim@iguana.be>
Mon, 22 Jun 2015 13:53:59 +0000 (15:53 +0200)
commit336694a01dae7e788630f8043dae30337047b51b
tree6e0b6a12ba7ac4a49f89ebfb6c5271933095f4f1
parentb0abc8ff75e25901fe4afcd62d5e4315df4a8138
watchdog: digicolor: driver for Conexant Digicolor CX92755 SoC

This commit add a driver for the watchdog functionality of the Conexant CX92755
SoC, from the Digicolor series of SoCs. Of 8 system timers provided by the
CX92755, the first one, timer A, can reset the chip when its counter reaches
zero. This driver uses this capability to provide userspace with a standard
watchdog, using the watchdog timer driver core framework. This driver also
implements a reboot handler for the reboot(2) system call.

The watchdog driver shares the timer registers with the CX92755 timer driver
(drivers/clocksource/timer-digicolor.c). The timer driver, however, uses only
timers other than A, so both drivers should coexist.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
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/digicolor_wdt.c [new file with mode: 0644]