1# 2# System reset devices 3# 4 5menu "System reset device drivers" 6 7config SYSRESET 8 bool "Enable support for system reset drivers" 9 depends on DM 10 help 11 Enable system reset drivers which can be used to reset the CPU or 12 board. Each driver can provide a reset method which will be called 13 to effect a reset. The uclass will try all available drivers when 14 reset_walk() is called. 15 16config SPL_SYSRESET 17 bool "Enable support for system reset drivers in SPL mode" 18 depends on SYSRESET && SPL_DM 19 help 20 Enable system reset drivers which can be used to reset the CPU or 21 board. Each driver can provide a reset method which will be called 22 to effect a reset. The uclass will try all available drivers when 23 reset_walk() is called. 24 25config TPL_SYSRESET 26 bool "Enable support for system reset drivers in TPL mode" 27 depends on SYSRESET && TPL_DM 28 help 29 Enable system reset drivers which can be used to reset the CPU or 30 board. Each driver can provide a reset method which will be called 31 to effect a reset. The uclass will try all available drivers when 32 reset_walk() is called. 33 34config VPL_SYSRESET 35 bool "Enable support for system reset drivers in VPL mode" 36 depends on SYSRESET && VPL_DM 37 default y if TPL_SYSRESET 38 help 39 Enable system reset drivers which can be used to reset the CPU or 40 board. Each driver can provide a reset method which will be called 41 to effect a reset. The uclass will try all available drivers when 42 reset_walk() is called. 43 44if SYSRESET 45 46config SYSRESET_CMD_RESET 47 bool "sysreset implementation of the reset command" 48 default y 49 help 50 Enable sysreset implementation of the reset command. 51 52if CMD_POWEROFF 53 54config SYSRESET_CMD_POWEROFF 55 bool "sysreset implementation of the poweroff command" 56 help 57 This should be selected by the appropriate PMIC driver if 58 the poweroff command is enabled. 59 60endif 61 62config SYSRESET_CV1800B 63 bool "Enable support for Sophgo cv1800b System Reset" 64 help 65 Enable system reset support for Sophgo cv1800b SoC. 66 67config POWEROFF_GPIO 68 bool "Enable support for GPIO poweroff driver" 69 depends on DM_GPIO 70 help 71 Support for system poweroff using a GPIO pin. This can be used 72 for systems having a single GPIO to trigger a system poweroff. 73 74config SYSRESET_GPIO 75 bool "Enable support for GPIO reset driver" 76 depends on DM_GPIO 77 help 78 Reset support via GPIO pin connected reset logic. This is used for 79 example on Microblaze where reset logic can be controlled via GPIO 80 pin which triggers cpu reset. 81 82config SYSRESET_MAX77663 83 bool "Enable support for MAX77663 PMIC System Reset" 84 depends on DM_PMIC_MAX77663 85 select SYSRESET_CMD_POWEROFF if CMD_POWEROFF 86 help 87 Enable system power management functions found in MAX77663 PMIC. 88 89config SYSRESET_MICROBLAZE 90 bool "Enable support for Microblaze soft reset" 91 depends on MICROBLAZE 92 help 93 This is soft reset on Microblaze which does jump to 0x0 address. 94 95config SYSRESET_OCTEON 96 bool "Enable support for Marvell Octeon SoC family" 97 depends on ARCH_OCTEON 98 help 99 This enables the system reset driver support for Marvell Octeon 100 SoCs. 101 102config SYSRESET_AT91 103 bool "Enable support for Microchip/Atmel reset driver" 104 depends on ARCH_AT91 105 select SYSRESET_SPL_AT91 if SPL && SPL_SYSRESET 106 help 107 This enables the system reset driver support for Microchip/Atmel 108 SoCs. 109 110config SYSRESET_SPL_AT91 111 bool "Enable support for Microchip/Atmel reset driver in SPL" 112 depends on ARCH_AT91 113 help 114 This enables the system reset driver support for Microchip/Atmel 115 SoCs in SPL. 116 117config SYSRESET_PALMAS 118 bool "Enable support for PALMAS System Reset" 119 depends on PMIC_PALMAS 120 select SYSRESET_CMD_POWEROFF if CMD_POWEROFF 121 help 122 Enable system power management functions found in PLAMAS PMIC family. 123 124config SYSRESET_PSCI 125 bool "Enable support for PSCI System Reset" 126 depends on ARM_PSCI_FW 127 select SPL_ARM_PSCI_FW if SPL 128 help 129 Enable PSCI SYSTEM_RESET function call. To use this, PSCI firmware 130 must be running on your system. 131 132config SYSRESET_SBI 133 bool "Enable support for SBI System Reset" 134 depends on RISCV_SMODE && SBI_V02 135 default y 136 select SYSRESET_CMD_POWEROFF if CMD_POWEROFF 137 help 138 Enable system reset and poweroff via the SBI system reset extension. 139 The extension was introduced in version 0.3 of the SBI specification. 140 141 If the SBI implementation provides the extension, is board specific. 142 The RISC-V platform specification mandates the extension for rich 143 operating system platforms. 144 145config SYSRESET_SOCFPGA 146 bool "Enable support for Intel SOCFPGA family" 147 depends on ARCH_SOCFPGA && (TARGET_SOCFPGA_GEN5 || TARGET_SOCFPGA_ARRIA10) 148 help 149 This enables the system reset driver support for Intel SOCFPGA SoCs 150 (Cyclone 5, Arria 5 and Arria 10). 151 152config SYSRESET_SOCFPGA_SOC64 153 bool "Enable support for Intel SOCFPGA SoC64 family (Stratix10/Agilex)" 154 depends on ARCH_SOCFPGA && TARGET_SOCFPGA_SOC64 155 help 156 This enables the system reset driver support for Intel SOCFPGA 157 SoC64 SoCs. 158 159config SYSRESET_TEGRA 160 bool "Tegra PMC system reset driver" 161 depends on ARCH_TEGRA 162 help 163 This enables the system reset ability of PMC used in Tegra SoCs. 164 165config SYSRESET_TI_SCI 166 bool "TI System Control Interface (TI SCI) system reset driver" 167 depends on TI_SCI_PROTOCOL 168 help 169 This enables the system reset driver support over TI System Control 170 Interface available on some new TI's SoCs. 171 172config SYSRESET_TPS65910 173 bool "Enable support for TPS65910/TPS65911 PMIC System Reset" 174 depends on DM_PMIC_TPS65910 175 select SYSRESET_CMD_POWEROFF if CMD_POWEROFF 176 help 177 Enable system power management functions found in TPS65910/TPS65911 178 PMICs. 179 180config SYSRESET_TPS80031 181 bool "Enable support for TPS80031/TPS80032 PMIC System Reset" 182 depends on DM_PMIC_TPS80031 183 select SYSRESET_CMD_POWEROFF if CMD_POWEROFF 184 help 185 Enable system power management functions found in TPS80031/TPS80032 186 PMICs. 187 188config SYSRESET_SYSCON 189 bool "Enable support for mfd syscon reboot driver" 190 select REGMAP 191 select SYSCON 192 help 193 Reboot support for generic SYSCON mapped register reset. 194 195config SYSRESET_WATCHDOG 196 bool "Enable support for watchdog reboot driver" 197 select WDT 198 help 199 Reboot support for generic watchdog reset. 200 201config SYSRESET_WATCHDOG_AUTO 202 bool "Automatically register first watchdog with sysreset" 203 depends on SYSRESET_WATCHDOG 204 help 205 If enabled, the first watchdog (as selected by the watchdog uclass) 206 will automatically be registered with the watchdog reboot driver. 207 208config SYSRESET_RESETCTL 209 bool "Enable support for reset controller reboot driver" 210 select DM_RESET 211 help 212 Reboot support using generic reset controller. 213 214config SYSRESET_X86 215 bool "Enable support for x86 processor reboot driver" 216 depends on X86 217 help 218 Reboot support for generic x86 processor reset. 219 220config SYSRESET_SPL_X86 221 bool "Enable support for x86 processor reboot driver in SPL" 222 depends on X86 223 help 224 Reboot support for generic x86 processor reset in SPL. 225 226config SYSRESET_TPL_X86 227 bool "Enable support for x86 processor reboot driver in TPL" 228 depends on X86 229 help 230 Reboot support for generic x86 processor reset in TPL. 231 232config SYSRESET_MPC83XX 233 bool "Enable support MPC83xx SoC family reboot driver" 234 help 235 Reboot support for NXP MPC83xx SoCs. 236 237config SYSRESET_RAA215300 238 bool "Support sysreset via Renesas RAA215300 PMIC" 239 depends on PMIC_RAA215300 240 help 241 Add support for the system reboot via the Renesas RAA215300 PMIC. 242 243endif 244 245endmenu 246