power: reset: keystone-reset: introduce keystone reset driver
authorIvan Khoronzhuk <ivan.khoronzhuk@ti.com>
Fri, 23 May 2014 20:32:39 +0000 (16:32 -0400)
committerSantosh Shilimkar <santosh.shilimkar@ti.com>
Tue, 27 May 2014 13:46:40 +0000 (09:46 -0400)
commita3e01e8022932a1fbfbad72058967e5da78657e5
treef9d9b9eacb6faa839cf1426bad4ecdf7ac998e81
parentd30982b93a79aafa688e7df1f6948ad28bb94e89
power: reset: keystone-reset: introduce keystone reset driver

The keystone SoC can be rebooted in several ways. By external reset
pin, by soft and by watchdogs. To allow keystone SoC reset if
watchdog is triggered we have to enable it in reset mux configuration
register regarding of watchdog configuration. Also we need to set
soft/hard reset we are going to use.

So add keystone reset driver to handle all this stuff.

Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Ivan Khoronzhuk <ivan.khoronzhuk@ti.com>
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
drivers/power/reset/Kconfig
drivers/power/reset/Makefile
drivers/power/reset/keystone-reset.c [new file with mode: 0644]