power: reset: Add reset driver for R-Mobile platforms
authorGeert Uytterhoeven <geert+renesas@glider.be>
Thu, 4 Dec 2014 15:33:21 +0000 (16:33 +0100)
committerSebastian Reichel <sre@kernel.org>
Wed, 21 Jan 2015 15:32:05 +0000 (16:32 +0100)
commitfa0f8d670085745711da1fde727996d587a3a0d4
treec9fe03ead3d8058e10654c6ea7ac974a55cda95b
parent85cdf36e11557dc367c1361e4b7bb2c4619cae91
power: reset: Add reset driver for R-Mobile platforms

Add a reset driver for Renesas R-Mobile and SH-Mobile SoCs. It registers
a restart handler to trigger a soft power-on reset through the R-Mobile
System Controller.
The priority of this restart handler is 192, to allow a watchdog driver
to use priority 128.

Note that we do not use syscon-reboot, as the HPB (Peripheral Bus
Bridge) semaphore should be acquired on systems where both the ARM and
SH core are in use. The driver can be extended later to support this,
when needed.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
drivers/power/reset/Kconfig
drivers/power/reset/Makefile
drivers/power/reset/rmobile-reset.c [new file with mode: 0644]