power: reset: driver for the Versatile syscon reboot
authorLinus Walleij <linus.walleij@linaro.org>
Thu, 22 May 2014 08:20:38 +0000 (10:20 +0200)
committerArnd Bergmann <arnd@arndb.de>
Thu, 25 Sep 2014 22:25:59 +0000 (00:25 +0200)
commit0e545f57b708630c54c8c5c24ea7f7034f6c40d9
tree06961fb608a4485d94e5edbadd4962118e98b6e9
parent535f09cc1ca7788ecdaf27466b23887a4932ae73
power: reset: driver for the Versatile syscon reboot

This driver enabled us to drive the reboot of the Versatile family
of ARM reference boards. Even though only the RealView boards are
supported initially, these boards all have the same procedure for
reboot:

- Write a magic value into an unlocking register
- Write another magic value into a reset control register

The driver will be reusable for Versatile and possibly also the
Integrator family of reference boards.

Cc: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Cc: David Woodhouse <dwmw2@infradead.org>
Acked-By: Sebastian Reichel <sre@kernel.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
drivers/power/reset/Kconfig
drivers/power/reset/Makefile
drivers/power/reset/arm-versatile-reboot.c [new file with mode: 0644]