dm: sysreset: add watchdog-reboot driver
authorÁlvaro Fernández Rojas <noltari@gmail.com>
Tue, 16 May 2017 16:29:13 +0000 (18:29 +0200)
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
Wed, 31 May 2017 12:49:54 +0000 (14:49 +0200)
commit17a0c14164dc0bab8b09a910c567c74bb838eab5
tree66a1d56b4446a0c3453a30f96373c798cd36b322
parent1947a44b78f107e9f9b61b1f7762fe8b7f1501c7
dm: sysreset: add watchdog-reboot driver

Add a new sysreset driver that uses the recently added watchdog support.
It performs a full SoC reset by calling wdt_expire_now op.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/sysreset/Kconfig
drivers/sysreset/Makefile
drivers/sysreset/sysreset_watchdog.c [new file with mode: 0644]