summaryrefslogtreecommitdiff
path: root/drivers/sysreset/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/sysreset/Kconfig')
-rw-r--r--drivers/sysreset/Kconfig7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/sysreset/Kconfig b/drivers/sysreset/Kconfig
index 70692f07e7..0e5c7c9971 100644
--- a/drivers/sysreset/Kconfig
+++ b/drivers/sysreset/Kconfig
@@ -43,6 +43,13 @@ config SYSRESET_CMD_POWEROFF
endif
+config POWEROFF_GPIO
+ bool "Enable support for GPIO poweroff driver"
+ select DM_GPIO
+ help
+ Support for system poweroff using a GPIO pin. This can be used
+ for systems having a single GPIO to trigger a system poweroff.
+
config SYSRESET_GPIO
bool "Enable support for GPIO reset driver"
select DM_GPIO