diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2014-05-22 10:20:38 +0200 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2014-09-26 00:25:59 +0200 |
commit | 0e545f57b708630c54c8c5c24ea7f7034f6c40d9 (patch) | |
tree | 06961fb608a4485d94e5edbadd4962118e98b6e9 /drivers/power/reset/Kconfig | |
parent | leds: add a driver for syscon-based LEDs (diff) | |
download | linux-0e545f57b708630c54c8c5c24ea7f7034f6c40d9.tar.xz linux-0e545f57b708630c54c8c5c24ea7f7034f6c40d9.zip |
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>
Diffstat (limited to 'drivers/power/reset/Kconfig')
-rw-r--r-- | drivers/power/reset/Kconfig | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/power/reset/Kconfig b/drivers/power/reset/Kconfig index 81b445122eea..527a0f47ef44 100644 --- a/drivers/power/reset/Kconfig +++ b/drivers/power/reset/Kconfig @@ -92,6 +92,15 @@ config POWER_RESET_SUN6I help Reboot support for the Allwinner A31 SoCs. +config POWER_RESET_VERSATILE + bool "ARM Versatile family reboot driver" + depends on ARM + depends on MFD_SYSCON + depends on OF + help + Power off and restart support for ARM Versatile family of + reference boards. + config POWER_RESET_VEXPRESS bool "ARM Versatile Express power-off and reset driver" depends on ARM || ARM64 |