Max Filippov | b25732c | 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 | 09259fc | 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 | 747093d | 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 | 573a381 | 2017-04-14 11:10:24 +0900 | [diff] [blame] | 44 | if SYSRESET |
| 45 | |
Bin Meng | 5f1a08b | 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 | b805051 | 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 | |
Sebastian Reichel | 8ccc6bf | 2020-09-02 19:31:42 +0200 | [diff] [blame] | 62 | config POWEROFF_GPIO |
| 63 | bool "Enable support for GPIO poweroff driver" |
Michal Simek | 99a0532 | 2023-07-04 14:05:13 +0200 | [diff] [blame] | 64 | depends on DM_GPIO |
Sebastian Reichel | 8ccc6bf | 2020-09-02 19:31:42 +0200 | [diff] [blame] | 65 | help |
| 66 | Support for system poweroff using a GPIO pin. This can be used |
| 67 | for systems having a single GPIO to trigger a system poweroff. |
| 68 | |
Michal Simek | 0d832b3 | 2018-07-13 11:04:56 +0200 | [diff] [blame] | 69 | config SYSRESET_GPIO |
| 70 | bool "Enable support for GPIO reset driver" |
Michal Simek | 99a0532 | 2023-07-04 14:05:13 +0200 | [diff] [blame] | 71 | depends on DM_GPIO |
Michal Simek | 0d832b3 | 2018-07-13 11:04:56 +0200 | [diff] [blame] | 72 | help |
| 73 | Reset support via GPIO pin connected reset logic. This is used for |
| 74 | example on Microblaze where reset logic can be controlled via GPIO |
| 75 | pin which triggers cpu reset. |
| 76 | |
Svyatoslav Ryhel | fa1e72e | 2023-10-24 10:49:05 +0300 | [diff] [blame] | 77 | config SYSRESET_MAX77663 |
| 78 | bool "Enable support for MAX77663 PMIC System Reset" |
| 79 | depends on DM_PMIC_MAX77663 |
| 80 | select SYSRESET_CMD_POWEROFF if CMD_POWEROFF |
| 81 | help |
| 82 | Enable system power management functions found in MAX77663 PMIC. |
| 83 | |
Michal Simek | cae39ae | 2018-07-13 17:00:13 +0200 | [diff] [blame] | 84 | config SYSRESET_MICROBLAZE |
| 85 | bool "Enable support for Microblaze soft reset" |
| 86 | depends on MICROBLAZE |
| 87 | help |
| 88 | This is soft reset on Microblaze which does jump to 0x0 address. |
| 89 | |
Stefan Roese | 59aea37 | 2020-06-30 12:08:55 +0200 | [diff] [blame] | 90 | config SYSRESET_OCTEON |
| 91 | bool "Enable support for Marvell Octeon SoC family" |
| 92 | depends on ARCH_OCTEON |
| 93 | help |
| 94 | This enables the system reset driver support for Marvell Octeon |
| 95 | SoCs. |
| 96 | |
Sergiu Moga | 71d4393 | 2022-04-01 12:27:24 +0300 | [diff] [blame] | 97 | config SYSRESET_AT91 |
| 98 | bool "Enable support for Microchip/Atmel reset driver" |
| 99 | depends on ARCH_AT91 |
| 100 | select SYSRESET_SPL_AT91 if SPL && SPL_SYSRESET |
| 101 | help |
| 102 | This enables the system reset driver support for Microchip/Atmel |
| 103 | SoCs. |
| 104 | |
| 105 | config SYSRESET_SPL_AT91 |
| 106 | bool "Enable support for Microchip/Atmel reset driver in SPL" |
| 107 | depends on ARCH_AT91 |
| 108 | help |
| 109 | This enables the system reset driver support for Microchip/Atmel |
| 110 | SoCs in SPL. |
| 111 | |
Svyatoslav Ryhel | 4afdc7a | 2023-10-24 10:49:08 +0300 | [diff] [blame] | 112 | config SYSRESET_PALMAS |
| 113 | bool "Enable support for PALMAS System Reset" |
| 114 | depends on PMIC_PALMAS |
| 115 | select SYSRESET_CMD_POWEROFF if CMD_POWEROFF |
| 116 | help |
| 117 | Enable system power management functions found in PLAMAS PMIC family. |
| 118 | |
Masahiro Yamada | 573a381 | 2017-04-14 11:10:24 +0900 | [diff] [blame] | 119 | config SYSRESET_PSCI |
| 120 | bool "Enable support for PSCI System Reset" |
| 121 | depends on ARM_PSCI_FW |
Simon Goldschmidt | a8b5031 | 2019-07-16 21:29:32 +0200 | [diff] [blame] | 122 | select SPL_ARM_PSCI_FW if SPL |
Masahiro Yamada | 573a381 | 2017-04-14 11:10:24 +0900 | [diff] [blame] | 123 | help |
| 124 | Enable PSCI SYSTEM_RESET function call. To use this, PSCI firmware |
| 125 | must be running on your system. |
| 126 | |
Heinrich Schuchardt | 24ed531 | 2021-09-12 21:11:46 +0200 | [diff] [blame] | 127 | config SYSRESET_SBI |
| 128 | bool "Enable support for SBI System Reset" |
| 129 | depends on RISCV_SMODE && SBI_V02 |
Heinrich Schuchardt | 4a98207 | 2022-09-05 16:40:49 +0200 | [diff] [blame] | 130 | default y |
Heinrich Schuchardt | 24ed531 | 2021-09-12 21:11:46 +0200 | [diff] [blame] | 131 | select SYSRESET_CMD_POWEROFF if CMD_POWEROFF |
| 132 | help |
| 133 | Enable system reset and poweroff via the SBI system reset extension. |
| 134 | The extension was introduced in version 0.3 of the SBI specification. |
| 135 | |
| 136 | If the SBI implementation provides the extension, is board specific. |
| 137 | The RISC-V platform specification mandates the extension for rich |
| 138 | operating system platforms. |
| 139 | |
Simon Goldschmidt | 1f16688 | 2019-07-15 21:47:53 +0200 | [diff] [blame] | 140 | config SYSRESET_SOCFPGA |
| 141 | bool "Enable support for Intel SOCFPGA family" |
| 142 | depends on ARCH_SOCFPGA && (TARGET_SOCFPGA_GEN5 || TARGET_SOCFPGA_ARRIA10) |
| 143 | help |
| 144 | This enables the system reset driver support for Intel SOCFPGA SoCs |
| 145 | (Cyclone 5, Arria 5 and Arria 10). |
| 146 | |
Chee Hong Ang | a651099 | 2020-08-05 20:11:25 +0800 | [diff] [blame] | 147 | config SYSRESET_SOCFPGA_SOC64 |
| 148 | bool "Enable support for Intel SOCFPGA SoC64 family (Stratix10/Agilex)" |
Siew Chin Lim | 9a5bbdf | 2021-03-01 20:04:10 +0800 | [diff] [blame] | 149 | depends on ARCH_SOCFPGA && TARGET_SOCFPGA_SOC64 |
Simon Goldschmidt | 690c129 | 2019-07-15 21:47:54 +0200 | [diff] [blame] | 150 | help |
| 151 | This enables the system reset driver support for Intel SOCFPGA |
Chee Hong Ang | a651099 | 2020-08-05 20:11:25 +0800 | [diff] [blame] | 152 | SoC64 SoCs. |
Simon Goldschmidt | 690c129 | 2019-07-15 21:47:54 +0200 | [diff] [blame] | 153 | |
Svyatoslav Ryhel | 7084f34 | 2023-10-24 10:49:03 +0300 | [diff] [blame] | 154 | config SYSRESET_TEGRA |
| 155 | bool "Tegra PMC system reset driver" |
| 156 | depends on ARCH_TEGRA |
| 157 | help |
| 158 | This enables the system reset ability of PMC used in Tegra SoCs. |
| 159 | |
Andreas Dannenberg | 694b052 | 2018-08-27 15:57:46 +0530 | [diff] [blame] | 160 | config SYSRESET_TI_SCI |
| 161 | bool "TI System Control Interface (TI SCI) system reset driver" |
| 162 | depends on TI_SCI_PROTOCOL |
| 163 | help |
| 164 | This enables the system reset driver support over TI System Control |
| 165 | Interface available on some new TI's SoCs. |
| 166 | |
Svyatoslav Ryhel | 8b8a00e | 2023-10-24 10:49:07 +0300 | [diff] [blame] | 167 | config SYSRESET_TPS65910 |
| 168 | bool "Enable support for TPS65910/TPS65911 PMIC System Reset" |
| 169 | depends on DM_PMIC_TPS65910 |
| 170 | select SYSRESET_CMD_POWEROFF if CMD_POWEROFF |
| 171 | help |
| 172 | Enable system power management functions found in TPS65910/TPS65911 |
| 173 | PMICs. |
| 174 | |
Svyatoslav Ryhel | 9d937cd | 2023-10-24 10:49:06 +0300 | [diff] [blame] | 175 | config SYSRESET_TPS80031 |
| 176 | bool "Enable support for TPS80031/TPS80032 PMIC System Reset" |
| 177 | depends on DM_PMIC_TPS80031 |
| 178 | select SYSRESET_CMD_POWEROFF if CMD_POWEROFF |
| 179 | help |
| 180 | Enable system power management functions found in TPS80031/TPS80032 |
| 181 | PMICs. |
| 182 | |
Álvaro Fernández Rojas | e388969 | 2017-04-25 00:39:14 +0200 | [diff] [blame] | 183 | config SYSRESET_SYSCON |
| 184 | bool "Enable support for mfd syscon reboot driver" |
| 185 | select REGMAP |
| 186 | select SYSCON |
| 187 | help |
| 188 | Reboot support for generic SYSCON mapped register reset. |
| 189 | |
Álvaro Fernández Rojas | 17a0c14 | 2017-05-16 18:29:13 +0200 | [diff] [blame] | 190 | config SYSRESET_WATCHDOG |
| 191 | bool "Enable support for watchdog reboot driver" |
| 192 | select WDT |
| 193 | help |
| 194 | Reboot support for generic watchdog reset. |
| 195 | |
Samuel Holland | a8f63d1 | 2021-11-03 22:55:14 -0500 | [diff] [blame] | 196 | config SYSRESET_WATCHDOG_AUTO |
| 197 | bool "Automatically register first watchdog with sysreset" |
| 198 | depends on SYSRESET_WATCHDOG |
| 199 | help |
| 200 | If enabled, the first watchdog (as selected by the watchdog uclass) |
| 201 | will automatically be registered with the watchdog reboot driver. |
| 202 | |
Weijie Gao | caf7092 | 2020-04-21 09:28:29 +0200 | [diff] [blame] | 203 | config SYSRESET_RESETCTL |
| 204 | bool "Enable support for reset controller reboot driver" |
| 205 | select DM_RESET |
| 206 | help |
| 207 | Reboot support using generic reset controller. |
| 208 | |
Bin Meng | fabb2b4 | 2018-07-03 02:48:40 -0700 | [diff] [blame] | 209 | config SYSRESET_X86 |
| 210 | bool "Enable support for x86 processor reboot driver" |
| 211 | depends on X86 |
| 212 | help |
| 213 | Reboot support for generic x86 processor reset. |
| 214 | |
Simon Glass | ff7abb8 | 2019-09-25 08:11:24 -0600 | [diff] [blame] | 215 | config SYSRESET_SPL_X86 |
| 216 | bool "Enable support for x86 processor reboot driver in SPL" |
| 217 | depends on X86 |
| 218 | help |
| 219 | Reboot support for generic x86 processor reset in SPL. |
| 220 | |
| 221 | config SYSRESET_TPL_X86 |
| 222 | bool "Enable support for x86 processor reboot driver in TPL" |
| 223 | depends on X86 |
| 224 | help |
| 225 | Reboot support for generic x86 processor reset in TPL. |
| 226 | |
Rasmus Villemoes | 875669d | 2019-12-13 15:47:58 +0000 | [diff] [blame] | 227 | config SYSRESET_MPC83XX |
Mario Six | 76fdad1 | 2018-08-06 10:23:35 +0200 | [diff] [blame] | 228 | bool "Enable support MPC83xx SoC family reboot driver" |
| 229 | help |
| 230 | Reboot support for NXP MPC83xx SoCs. |
| 231 | |
Samuel Holland | 6b84217 | 2021-11-03 22:55:11 -0500 | [diff] [blame] | 232 | endif |
| 233 | |
Max Filippov | b25732c | 2016-08-07 08:53:00 +0300 | [diff] [blame] | 234 | endmenu |