lib: utils/reset: Add litex SoC reset driver

Litex SoC controller supports reboot function by toggling the first
bit of the ctrl register. Add a reset driver so other software can
use it.

Signed-off-by: Inochi Amaoto <inochiama@gmail.com>
Reviewed-by: Anup Patel <anup@brainfault.org>
Link: https://lore.kernel.org/r/20260529085234.1682842-1-inochiama@gmail.com
Signed-off-by: Anup Patel <anup@brainfault.org>
This commit is contained in:
Inochi Amaoto
2026-05-29 16:52:32 +08:00
committed by Anup Patel
parent 9c9767504d
commit dec9141a77
4 changed files with 75 additions and 0 deletions
+5
View File
@@ -24,6 +24,11 @@ config FDT_RESET_HTIF
select SYS_HTIF
default n
config FDT_RESET_LITEX
bool "LITEX SoC reset driver"
depends on FDT_GPIO
default n
config FDT_RESET_RPMI
bool "RPMI FDT reset driver"
depends on FDT_MAILBOX && RPMI_MAILBOX