summaryrefslogtreecommitdiffstats
path: root/drivers/power/reset/Kconfig
diff options
context:
space:
mode:
authorDavid Riley <davidriley@chromium.org>2014-08-27 12:23:51 -0700
committerSebastian Reichel <sre@kernel.org>2014-09-26 19:51:15 +0200
commit371bb20d6927f204ef5a7887ecddb06b2501c0d9 (patch)
treeddfd58bf6787b7f459d3fde499a4b83c290835cb /drivers/power/reset/Kconfig
parent1670d8569eeb5c5c15776d37b00a2afb5255bf28 (diff)
downloadlinux-stable-371bb20d6927f204ef5a7887ecddb06b2501c0d9.tar.gz
linux-stable-371bb20d6927f204ef5a7887ecddb06b2501c0d9.tar.bz2
linux-stable-371bb20d6927f204ef5a7887ecddb06b2501c0d9.zip
power: Add simple gpio-restart driver
This driver registers a restart handler to set a GPIO line high/low to reset a board based on devicetree bindings. Signed-off-by: David Riley <davidriley@chromium.org> Reviewed-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Sebastian Reichel <sre@kernel.org>
Diffstat (limited to 'drivers/power/reset/Kconfig')
-rw-r--r--drivers/power/reset/Kconfig8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/power/reset/Kconfig b/drivers/power/reset/Kconfig
index 88603b6990ed..a178e9c50a20 100644
--- a/drivers/power/reset/Kconfig
+++ b/drivers/power/reset/Kconfig
@@ -39,6 +39,14 @@ config POWER_RESET_GPIO
If your board needs a GPIO high/low to power down, say Y and
create a binding in your devicetree.
+config POWER_RESET_GPIO_RESTART
+ bool "GPIO restart driver"
+ depends on OF_GPIO && POWER_RESET
+ help
+ This driver supports restarting your board via a GPIO line.
+ If your board needs a GPIO high/low to restart, say Y and
+ create a binding in your devicetree.
+
config POWER_RESET_HISI
bool "Hisilicon power-off driver"
depends on POWER_RESET && ARCH_HISI