Max Filippov | 8857405 | 2016-08-07 08:53:00 +0300 | [diff] [blame] | 1 | # |
| 2 | # System reset devices |
| 3 | # |
| 4 | |
| 5 | menu "System reset device drivers" |
| 6 | |
| 7 | config 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 | |
Kever Yang | 525ea47 | 2019-04-02 20:41:25 +0800 | [diff] [blame] | 16 | config 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 | |
| 25 | config 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 | |
Simon Glass | e7ca7da | 2022-04-30 00:56:53 -0600 | [diff] [blame] | 34 | config 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 | |
Masahiro Yamada | 836c55d | 2017-04-14 11:10:24 +0900 | [diff] [blame] | 44 | if SYSRESET |
| 45 | |
Bin Meng | a0aba78 | 2021-02-25 17:22:52 +0800 | [diff] [blame] | 46 | config 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 | |
Urja Rannikko | e008ebf | 2019-05-16 21:48:42 +0000 | [diff] [blame] | 52 | if CMD_POWEROFF |
| 53 | |
| 54 | config 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 | |
| 60 | endif |
| 61 | |
Kongyang Liu | 3632ad5 | 2024-04-16 15:52:38 +0800 | [diff] [blame] | 62 | config SYSRESET_CV1800B |
| 63 | bool "Enable support for Sophgo cv1800b System Reset" |
| 64 | help |
| 65 | Enable system reset support for Sophgo cv1800b SoC. |
| 66 | |
Sebastian Reichel | 6b30ac3 | 2020-09-02 19:31:42 +0200 | [diff] [blame] | 67 | config POWEROFF_GPIO |
| 68 | bool "Enable support for GPIO poweroff driver" |
Michal Simek | ac5adc1 | 2023-07-04 14:05:13 +0200 | [diff] [blame] | 69 | depends on DM_GPIO |
Sebastian Reichel | 6b30ac3 | 2020-09-02 19:31:42 +0200 | [diff] [blame] | 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 | |
Svyatoslav Ryhel | fe4445d | 2025-03-29 13:02:03 +0200 | [diff] [blame^] | 74 | config SPL_POWEROFF_GPIO |
| 75 | bool "Enable support for GPIO poweroff driver in SPL" |
| 76 | depends on DM_GPIO && SPL |
| 77 | help |
| 78 | Support for system poweroff using a GPIO pin in SPL. This can be used |
| 79 | for systems having a single GPIO to trigger a system poweroff. |
| 80 | |
| 81 | config TPL_POWEROFF_GPIO |
| 82 | bool "Enable support for GPIO poweroff driver in TPL" |
| 83 | depends on DM_GPIO && TPL |
| 84 | help |
| 85 | Support for system poweroff using a GPIO pin in TPL. This can be used |
| 86 | for systems having a single GPIO to trigger a system poweroff. |
| 87 | |
| 88 | config VPL_POWEROFF_GPIO |
| 89 | bool "Enable support for GPIO poweroff driver in VPL" |
| 90 | depends on DM_GPIO && VPL |
| 91 | help |
| 92 | Support for system poweroff using a GPIO pin in VPL. This can be used |
| 93 | for systems having a single GPIO to trigger a system poweroff. |
| 94 | |
Michal Simek | 8a196af | 2018-07-13 11:04:56 +0200 | [diff] [blame] | 95 | config SYSRESET_GPIO |
| 96 | bool "Enable support for GPIO reset driver" |
Michal Simek | ac5adc1 | 2023-07-04 14:05:13 +0200 | [diff] [blame] | 97 | depends on DM_GPIO |
Michal Simek | 8a196af | 2018-07-13 11:04:56 +0200 | [diff] [blame] | 98 | help |
| 99 | Reset support via GPIO pin connected reset logic. This is used for |
| 100 | example on Microblaze where reset logic can be controlled via GPIO |
| 101 | pin which triggers cpu reset. |
| 102 | |
Svyatoslav Ryhel | fe4445d | 2025-03-29 13:02:03 +0200 | [diff] [blame^] | 103 | config SPL_SYSRESET_GPIO |
| 104 | bool "Enable support for GPIO reset driver in SPL" |
| 105 | depends on DM_GPIO && SPL |
| 106 | help |
| 107 | Reset support via GPIO pin connected reset logic in SPL. This is used |
| 108 | for example on Microblaze where reset logic can be controlled via |
| 109 | GPIO pin which triggers cpu reset. |
| 110 | |
| 111 | config TPL_SYSRESET_GPIO |
| 112 | bool "Enable support for GPIO reset driver in TPL" |
| 113 | depends on DM_GPIO && TPL |
| 114 | help |
| 115 | Reset support via GPIO pin connected reset logic in TPL. This is used |
| 116 | for example on Microblaze where reset logic can be controlled via |
| 117 | GPIO pin which triggers cpu reset. |
| 118 | |
| 119 | config VPL_SYSRESET_GPIO |
| 120 | bool "Enable support for GPIO reset driver in VPL" |
| 121 | depends on DM_GPIO && VPL |
| 122 | help |
| 123 | Reset support via GPIO pin connected reset logic in VPL. This is used |
| 124 | for example on Microblaze where reset logic can be controlled via |
| 125 | GPIO pin which triggers cpu reset. |
| 126 | |
Svyatoslav Ryhel | 52914ea | 2023-10-24 10:49:05 +0300 | [diff] [blame] | 127 | config SYSRESET_MAX77663 |
| 128 | bool "Enable support for MAX77663 PMIC System Reset" |
| 129 | depends on DM_PMIC_MAX77663 |
| 130 | select SYSRESET_CMD_POWEROFF if CMD_POWEROFF |
| 131 | help |
| 132 | Enable system power management functions found in MAX77663 PMIC. |
| 133 | |
Michal Simek | d1c6d42 | 2018-07-13 17:00:13 +0200 | [diff] [blame] | 134 | config SYSRESET_MICROBLAZE |
| 135 | bool "Enable support for Microblaze soft reset" |
| 136 | depends on MICROBLAZE |
| 137 | help |
| 138 | This is soft reset on Microblaze which does jump to 0x0 address. |
| 139 | |
Stefan Roese | 4df2d0d | 2020-06-30 12:08:55 +0200 | [diff] [blame] | 140 | config SYSRESET_OCTEON |
| 141 | bool "Enable support for Marvell Octeon SoC family" |
| 142 | depends on ARCH_OCTEON |
| 143 | help |
| 144 | This enables the system reset driver support for Marvell Octeon |
| 145 | SoCs. |
| 146 | |
Sergiu Moga | 65c723f | 2022-04-01 12:27:24 +0300 | [diff] [blame] | 147 | config SYSRESET_AT91 |
| 148 | bool "Enable support for Microchip/Atmel reset driver" |
| 149 | depends on ARCH_AT91 |
| 150 | select SYSRESET_SPL_AT91 if SPL && SPL_SYSRESET |
| 151 | help |
| 152 | This enables the system reset driver support for Microchip/Atmel |
| 153 | SoCs. |
| 154 | |
| 155 | config SYSRESET_SPL_AT91 |
| 156 | bool "Enable support for Microchip/Atmel reset driver in SPL" |
| 157 | depends on ARCH_AT91 |
| 158 | help |
| 159 | This enables the system reset driver support for Microchip/Atmel |
| 160 | SoCs in SPL. |
| 161 | |
Svyatoslav Ryhel | eacea67 | 2023-10-24 10:49:08 +0300 | [diff] [blame] | 162 | config SYSRESET_PALMAS |
| 163 | bool "Enable support for PALMAS System Reset" |
| 164 | depends on PMIC_PALMAS |
| 165 | select SYSRESET_CMD_POWEROFF if CMD_POWEROFF |
| 166 | help |
| 167 | Enable system power management functions found in PLAMAS PMIC family. |
| 168 | |
Masahiro Yamada | 836c55d | 2017-04-14 11:10:24 +0900 | [diff] [blame] | 169 | config SYSRESET_PSCI |
| 170 | bool "Enable support for PSCI System Reset" |
| 171 | depends on ARM_PSCI_FW |
Simon Goldschmidt | e5f741a | 2019-07-16 21:29:32 +0200 | [diff] [blame] | 172 | select SPL_ARM_PSCI_FW if SPL |
Masahiro Yamada | 836c55d | 2017-04-14 11:10:24 +0900 | [diff] [blame] | 173 | help |
| 174 | Enable PSCI SYSTEM_RESET function call. To use this, PSCI firmware |
| 175 | must be running on your system. |
| 176 | |
Heinrich Schuchardt | cc382ff | 2021-09-12 21:11:46 +0200 | [diff] [blame] | 177 | config SYSRESET_SBI |
| 178 | bool "Enable support for SBI System Reset" |
| 179 | depends on RISCV_SMODE && SBI_V02 |
Heinrich Schuchardt | f718707 | 2022-09-05 16:40:49 +0200 | [diff] [blame] | 180 | default y |
Heinrich Schuchardt | cc382ff | 2021-09-12 21:11:46 +0200 | [diff] [blame] | 181 | select SYSRESET_CMD_POWEROFF if CMD_POWEROFF |
| 182 | help |
| 183 | Enable system reset and poweroff via the SBI system reset extension. |
| 184 | The extension was introduced in version 0.3 of the SBI specification. |
| 185 | |
| 186 | If the SBI implementation provides the extension, is board specific. |
| 187 | The RISC-V platform specification mandates the extension for rich |
| 188 | operating system platforms. |
| 189 | |
Simon Goldschmidt | be36639 | 2019-07-15 21:47:53 +0200 | [diff] [blame] | 190 | config SYSRESET_SOCFPGA |
| 191 | bool "Enable support for Intel SOCFPGA family" |
| 192 | depends on ARCH_SOCFPGA && (TARGET_SOCFPGA_GEN5 || TARGET_SOCFPGA_ARRIA10) |
| 193 | help |
| 194 | This enables the system reset driver support for Intel SOCFPGA SoCs |
| 195 | (Cyclone 5, Arria 5 and Arria 10). |
| 196 | |
Chee Hong Ang | 673e98e | 2020-08-05 20:11:25 +0800 | [diff] [blame] | 197 | config SYSRESET_SOCFPGA_SOC64 |
| 198 | bool "Enable support for Intel SOCFPGA SoC64 family (Stratix10/Agilex)" |
Siew Chin Lim | 8a71416 | 2021-03-01 20:04:10 +0800 | [diff] [blame] | 199 | depends on ARCH_SOCFPGA && TARGET_SOCFPGA_SOC64 |
Simon Goldschmidt | ebfb9fb | 2019-07-15 21:47:54 +0200 | [diff] [blame] | 200 | help |
| 201 | This enables the system reset driver support for Intel SOCFPGA |
Chee Hong Ang | 673e98e | 2020-08-05 20:11:25 +0800 | [diff] [blame] | 202 | SoC64 SoCs. |
Simon Goldschmidt | ebfb9fb | 2019-07-15 21:47:54 +0200 | [diff] [blame] | 203 | |
Svyatoslav Ryhel | de66d06 | 2023-10-24 10:49:03 +0300 | [diff] [blame] | 204 | config SYSRESET_TEGRA |
| 205 | bool "Tegra PMC system reset driver" |
| 206 | depends on ARCH_TEGRA |
| 207 | help |
| 208 | This enables the system reset ability of PMC used in Tegra SoCs. |
| 209 | |
Andreas Dannenberg | ebc6879 | 2018-08-27 15:57:46 +0530 | [diff] [blame] | 210 | config SYSRESET_TI_SCI |
| 211 | bool "TI System Control Interface (TI SCI) system reset driver" |
| 212 | depends on TI_SCI_PROTOCOL |
| 213 | help |
| 214 | This enables the system reset driver support over TI System Control |
| 215 | Interface available on some new TI's SoCs. |
| 216 | |
Svyatoslav Ryhel | ab97ca2 | 2023-10-24 10:49:07 +0300 | [diff] [blame] | 217 | config SYSRESET_TPS65910 |
| 218 | bool "Enable support for TPS65910/TPS65911 PMIC System Reset" |
| 219 | depends on DM_PMIC_TPS65910 |
| 220 | select SYSRESET_CMD_POWEROFF if CMD_POWEROFF |
| 221 | help |
| 222 | Enable system power management functions found in TPS65910/TPS65911 |
| 223 | PMICs. |
| 224 | |
Svyatoslav Ryhel | b72803f | 2023-10-24 10:49:06 +0300 | [diff] [blame] | 225 | config SYSRESET_TPS80031 |
| 226 | bool "Enable support for TPS80031/TPS80032 PMIC System Reset" |
| 227 | depends on DM_PMIC_TPS80031 |
| 228 | select SYSRESET_CMD_POWEROFF if CMD_POWEROFF |
| 229 | help |
| 230 | Enable system power management functions found in TPS80031/TPS80032 |
| 231 | PMICs. |
| 232 | |
Álvaro Fernández Rojas | aa19aaf | 2017-04-25 00:39:14 +0200 | [diff] [blame] | 233 | config SYSRESET_SYSCON |
| 234 | bool "Enable support for mfd syscon reboot driver" |
| 235 | select REGMAP |
| 236 | select SYSCON |
| 237 | help |
| 238 | Reboot support for generic SYSCON mapped register reset. |
| 239 | |
Álvaro Fernández Rojas | 0da081e | 2017-05-16 18:29:13 +0200 | [diff] [blame] | 240 | config SYSRESET_WATCHDOG |
| 241 | bool "Enable support for watchdog reboot driver" |
| 242 | select WDT |
| 243 | help |
| 244 | Reboot support for generic watchdog reset. |
| 245 | |
Samuel Holland | 3a8713a | 2021-11-03 22:55:14 -0500 | [diff] [blame] | 246 | config SYSRESET_WATCHDOG_AUTO |
| 247 | bool "Automatically register first watchdog with sysreset" |
| 248 | depends on SYSRESET_WATCHDOG |
| 249 | help |
| 250 | If enabled, the first watchdog (as selected by the watchdog uclass) |
| 251 | will automatically be registered with the watchdog reboot driver. |
| 252 | |
developer | 1aa3089 | 2020-04-21 09:28:29 +0200 | [diff] [blame] | 253 | config SYSRESET_RESETCTL |
| 254 | bool "Enable support for reset controller reboot driver" |
| 255 | select DM_RESET |
| 256 | help |
| 257 | Reboot support using generic reset controller. |
| 258 | |
Bin Meng | d18cdd4 | 2018-07-03 02:48:40 -0700 | [diff] [blame] | 259 | config SYSRESET_X86 |
| 260 | bool "Enable support for x86 processor reboot driver" |
| 261 | depends on X86 |
| 262 | help |
| 263 | Reboot support for generic x86 processor reset. |
| 264 | |
Simon Glass | d22c135 | 2019-09-25 08:11:24 -0600 | [diff] [blame] | 265 | config SYSRESET_SPL_X86 |
| 266 | bool "Enable support for x86 processor reboot driver in SPL" |
| 267 | depends on X86 |
| 268 | help |
| 269 | Reboot support for generic x86 processor reset in SPL. |
| 270 | |
| 271 | config SYSRESET_TPL_X86 |
| 272 | bool "Enable support for x86 processor reboot driver in TPL" |
| 273 | depends on X86 |
| 274 | help |
| 275 | Reboot support for generic x86 processor reset in TPL. |
| 276 | |
Rasmus Villemoes | b007e2e | 2019-12-13 15:47:58 +0000 | [diff] [blame] | 277 | config SYSRESET_MPC83XX |
Mario Six | 82ef4ba | 2018-08-06 10:23:35 +0200 | [diff] [blame] | 278 | bool "Enable support MPC83xx SoC family reboot driver" |
| 279 | help |
| 280 | Reboot support for NXP MPC83xx SoCs. |
| 281 | |
Paul Barker | bdc193d | 2024-02-27 20:40:33 +0000 | [diff] [blame] | 282 | config SYSRESET_RAA215300 |
| 283 | bool "Support sysreset via Renesas RAA215300 PMIC" |
| 284 | depends on PMIC_RAA215300 |
| 285 | help |
| 286 | Add support for the system reboot via the Renesas RAA215300 PMIC. |
| 287 | |
Robert Marko | 4d58a7b | 2024-05-14 12:15:02 +0200 | [diff] [blame] | 288 | config SYSRESET_QCOM_PSHOLD |
| 289 | bool "Support sysreset for Qualcomm SoCs via PSHOLD" |
Robert Marko | 4d58a7b | 2024-05-14 12:15:02 +0200 | [diff] [blame] | 290 | help |
| 291 | Add support for the system reboot on Qualcomm SoCs via PSHOLD. |
| 292 | |
Samuel Holland | d9263d5 | 2021-11-03 22:55:11 -0500 | [diff] [blame] | 293 | endif |
| 294 | |
Max Filippov | 8857405 | 2016-08-07 08:53:00 +0300 | [diff] [blame] | 295 | endmenu |