lib: utils/reset: Add syscon based reboot and poweroff

Let us have common FDT based reset driver for syscon reboot and
poweroff. The device tree bindings for syscon reboot and poweroff
are already available in the Linux kernel sources.

Signed-off-by: Anup Patel <apatel@ventanamicro.com>
Reviewed-by: Xiang W <wxjstz@126.com>
This commit is contained in:
Anup Patel
2023-07-21 18:11:52 +05:30
committed by Anup Patel
parent f21d8f7d59
commit 4a344a9b4c
4 changed files with 177 additions and 0 deletions

View File

@@ -33,6 +33,11 @@ config FDT_RESET_SUNXI_WDT
bool "Sunxi WDT FDT reset driver"
default n
config FDT_RESET_SYSCON
bool "Syscon FDT reset driver"
depends on FDT_REGMAP
default n
config FDT_RESET_THEAD
bool "T-HEAD FDT reset driver"
default n