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>
This commit is contained in:
committed by
Stefano Babic
parent
436ba4e0c7
commit
8ccc6bffaa
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user