diff options
author | Sebastian Reichel <sebastian.reichel@collabora.com> | 2020-09-02 20:31:42 +0300 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2020-11-01 17:58:47 +0300 |
commit | 8ccc6bffaa1865e53486284f8a3190a664870d83 (patch) | |
tree | 4d8a623fb3cc610bafe42b282b182a6110c6fdc0 /drivers/sysreset/Kconfig | |
parent | 436ba4e0c7fcf3532ac15b6ff460b7bb87a90911 (diff) | |
download | u-boot-8ccc6bffaa1865e53486284f8a3190a664870d83.tar.xz |
sysreset: Add poweroff-gpio driver
Add GPIO poweroff driver, which is based on the Linux
driver and uses the same DT binding.
Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'drivers/sysreset/Kconfig')
-rw-r--r-- | drivers/sysreset/Kconfig | 7 |
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 |