Commit | Line | Data |
---|---|---|
ec8f24b7 | 1 | # SPDX-License-Identifier: GPL-2.0-only |
96ff0f5c JL |
2 | menuconfig POWER_RESET |
3 | bool "Board level reset or power off" | |
4 | help | |
5 | Provides a number of drivers which either reset a complete board | |
6 | or shut it down, by manipulating the main power supply on the board. | |
7 | ||
8 | Say Y here to enable board reset and power off | |
9 | ||
6ca4f460 MR |
10 | if POWER_RESET |
11 | ||
56fb8de5 LD |
12 | config POWER_RESET_AS3722 |
13 | bool "ams AS3722 power-off driver" | |
6ca4f460 | 14 | depends on MFD_AS3722 |
56fb8de5 LD |
15 | help |
16 | This driver supports turning off board via a ams AS3722 power-off. | |
17 | ||
ae499f0f | 18 | config POWER_RESET_AT91_POWEROFF |
6dd1ad1f | 19 | tristate "Atmel AT91 poweroff driver" |
94d450ed | 20 | depends on ARCH_AT91 |
ae499f0f MR |
21 | default SOC_AT91SAM9 || SOC_SAMA5 |
22 | help | |
23 | This driver supports poweroff for Atmel AT91SAM9 and SAMA5 | |
24 | SoCs | |
25 | ||
ecfe64d8 | 26 | config POWER_RESET_AT91_RESET |
6e64180a | 27 | tristate "Atmel AT91 reset driver" |
94d450ed | 28 | depends on ARCH_AT91 |
a79fa0c1 | 29 | default SOC_AT91SAM9 || SOC_SAM9X60 || SOC_SAMA5 |
ecfe64d8 MR |
30 | help |
31 | This driver supports restart for Atmel AT91SAM9 and SAMA5 | |
32 | SoCs | |
33 | ||
f80cb488 NF |
34 | config POWER_RESET_AT91_SAMA5D2_SHDWC |
35 | tristate "Atmel AT91 SAMA5D2-Compatible shutdown controller driver" | |
0b040874 | 36 | depends on ARCH_AT91 |
1b6e21f2 | 37 | default SOC_SAM9X60 || SOC_SAMA5 |
f80cb488 NF |
38 | help |
39 | This driver supports the alternate shutdown controller for some Atmel | |
40 | SAMA5 SoCs. It is present for example on SAMA5D2 SoC. | |
41 | ||
3235d130 CC |
42 | config POWER_RESET_ATC260X |
43 | tristate "Actions Semi ATC260x PMIC power-off driver" | |
44 | depends on MFD_ATC260X | |
45 | help | |
46 | This driver provides power-off and restart support for a system | |
47 | through Actions Semi ATC260x series PMICs. | |
48 | ||
4a315e34 AB |
49 | config POWER_RESET_AXXIA |
50 | bool "LSI Axxia reset driver" | |
6ca4f460 | 51 | depends on ARCH_AXXIA |
4a315e34 AB |
52 | help |
53 | This driver supports restart for Axxia SoC. | |
54 | ||
55 | Say Y if you have an Axxia family SoC. | |
56 | ||
783cb948 CB |
57 | config POWER_RESET_BRCMKONA |
58 | bool "Broadcom Kona reset driver" | |
59 | depends on ARM || COMPILE_TEST | |
60 | default ARCH_BCM_MOBILE | |
61 | help | |
62 | This driver provides restart support for Broadcom Kona chips. | |
63 | ||
64 | Say Y here if you have a Broadcom Kona-based board and you wish | |
65 | to have restart support. | |
66 | ||
030494e7 | 67 | config POWER_RESET_BRCMSTB |
4f5fd640 | 68 | bool "Broadcom STB reset driver" |
12031fca | 69 | depends on ARM || ARM64 || MIPS || COMPILE_TEST |
0a73125d | 70 | depends on MFD_SYSCON |
1d2495e8 | 71 | default ARCH_BRCMSTB || BMIPS_GENERIC |
030494e7 | 72 | help |
4f5fd640 | 73 | This driver provides restart support for Broadcom STB boards. |
030494e7 | 74 | |
4f5fd640 | 75 | Say Y here if you have a Broadcom STB board and you wish |
030494e7 MC |
76 | to have restart support. |
77 | ||
f7a388d6 LW |
78 | config POWER_RESET_GEMINI_POWEROFF |
79 | bool "Cortina Gemini power-off driver" | |
80 | depends on ARCH_GEMINI || COMPILE_TEST | |
81 | depends on OF && HAS_IOMEM | |
82 | default ARCH_GEMINI | |
83 | help | |
84 | This driver supports turning off the Cortina Gemini SoC. | |
85 | Select this if you're building a kernel with Gemini SoC support. | |
86 | ||
96ff0f5c JL |
87 | config POWER_RESET_GPIO |
88 | bool "GPIO power-off driver" | |
6ca4f460 | 89 | depends on OF_GPIO |
96ff0f5c JL |
90 | help |
91 | This driver supports turning off your board via a GPIO line. | |
92 | If your board needs a GPIO high/low to power down, say Y and | |
93 | create a binding in your devicetree. | |
e8fc721a | 94 | |
371bb20d DR |
95 | config POWER_RESET_GPIO_RESTART |
96 | bool "GPIO restart driver" | |
50fa8617 | 97 | depends on OF_GPIO |
371bb20d DR |
98 | help |
99 | This driver supports restarting your board via a GPIO line. | |
100 | If your board needs a GPIO high/low to restart, say Y and | |
101 | create a binding in your devicetree. | |
102 | ||
4a9b3737 HZ |
103 | config POWER_RESET_HISI |
104 | bool "Hisilicon power-off driver" | |
50fa8617 | 105 | depends on ARCH_HISI |
4a9b3737 HZ |
106 | help |
107 | Reboot support for Hisilicon boards. | |
108 | ||
a7f79f99 DGC |
109 | config POWER_RESET_LINKSTATION |
110 | tristate "Buffalo LinkStation power-off driver" | |
111 | depends on ARCH_MVEBU || COMPILE_TEST | |
112 | depends on OF_MDIO && PHYLIB | |
113 | help | |
114 | This driver supports turning off some Buffalo LinkStations by | |
115 | setting an output pin at the ethernet PHY to the correct state. | |
116 | It also makes the device compatible with the WoL function. | |
117 | ||
118 | Say Y here if you have a Buffalo LinkStation LS421D/E. | |
119 | ||
78be3176 AK |
120 | config POWER_RESET_MSM |
121 | bool "Qualcomm MSM power-off driver" | |
6ca4f460 | 122 | depends on ARCH_QCOM |
78be3176 AK |
123 | help |
124 | Power off and restart support for Qualcomm boards. | |
125 | ||
e6a578e2 VK |
126 | config POWER_RESET_QCOM_PON |
127 | tristate "Qualcomm power-on driver" | |
128 | depends on ARCH_QCOM | |
129 | depends on MFD_SPMI_PMIC | |
130 | select REBOOT_MODE | |
131 | help | |
132 | Power On support for Qualcomm boards. | |
133 | If you have a Qualcomm platform and need support for | |
134 | power-on and reboot reason, Say Y. | |
135 | If unsure, Say N. | |
136 | ||
6ab739bc AB |
137 | config POWER_RESET_OCELOT_RESET |
138 | bool "Microsemi Ocelot reset driver" | |
7007fab4 | 139 | depends on MSCC_OCELOT || ARCH_SPARX5 || COMPILE_TEST |
6ab739bc AB |
140 | select MFD_SYSCON |
141 | help | |
ec871696 | 142 | This driver supports restart for Microsemi Ocelot SoC and similar. |
0edb259c | 143 | |
cec3b46b NA |
144 | config POWER_RESET_ODROID_GO_ULTRA_POWEROFF |
145 | bool "Odroid Go Ultra power-off driver" | |
146 | depends on ARCH_MESON || COMPILE_TEST | |
c142872e | 147 | depends on I2C=y && OF |
cec3b46b NA |
148 | help |
149 | This driver supports Power off for Odroid Go Ultra device. | |
150 | ||
29676833 PB |
151 | config POWER_RESET_PIIX4_POWEROFF |
152 | tristate "Intel PIIX4 power-off driver" | |
153 | depends on PCI | |
eae36cb8 | 154 | depends on HAS_IOPORT |
29676833 PB |
155 | depends on MIPS || COMPILE_TEST |
156 | help | |
157 | This driver supports powering off a system using the Intel PIIX4 | |
158 | southbridge, for example the MIPS Malta development board. The | |
159 | southbridge SOff state is entered in response to a request to | |
160 | power off the system. | |
161 | ||
6647156c RM |
162 | config POWER_RESET_LTC2952 |
163 | bool "LTC2952 PowerPath power-off driver" | |
50fa8617 | 164 | depends on OF_GPIO |
6647156c RM |
165 | help |
166 | This driver supports an external powerdown trigger and board power | |
167 | down via the LTC2952. Bindings are made in the device tree. | |
168 | ||
d28c74c1 | 169 | config POWER_RESET_MT6323 |
463881ac KK |
170 | bool "MediaTek MT6323 power-off driver" |
171 | depends on MFD_MT6397 | |
172 | help | |
173 | The power-off driver is responsible for externally shutdown down | |
174 | the power of a remote MediaTek SoC MT6323 is connected to through | |
175 | controlling a tiny circuit BBPU inside MT6323 RTC. | |
176 | ||
177 | Say Y if you have a board where MT6323 could be found. | |
d28c74c1 | 178 | |
e8fc721a AL |
179 | config POWER_RESET_QNAP |
180 | bool "QNAP power-off driver" | |
6ca4f460 | 181 | depends on OF_GPIO && PLAT_ORION |
e8fc721a AL |
182 | help |
183 | This driver supports turning off QNAP NAS devices by sending | |
184 | commands to the microcontroller which controls the main power. | |
185 | ||
186 | Say Y if you have a QNAP NAS. | |
ffd8f9a7 | 187 | |
ec66096b MK |
188 | config POWER_RESET_REGULATOR |
189 | bool "Regulator subsystem power-off driver" | |
190 | depends on OF && REGULATOR | |
191 | help | |
192 | This driver supports turning off your board by disabling a | |
193 | power regulator defined in the devicetree. | |
194 | ||
ffd8f9a7 AL |
195 | config POWER_RESET_RESTART |
196 | bool "Restart power-off driver" | |
ffd8f9a7 AL |
197 | help |
198 | Some boards don't actually have the ability to power off. | |
199 | Instead they restart, and u-boot holds the SoC until the | |
200 | user presses a key. u-boot then boots into Linux. | |
2655f51d | 201 | |
f0745f36 | 202 | config POWER_RESET_ST |
7fa650bc | 203 | bool "ST restart driver" |
50fa8617 | 204 | depends on ARCH_STI |
f0745f36 | 205 | help |
7fa650bc | 206 | Reset support for STMicroelectronics boards. |
f0745f36 | 207 | |
80698507 ERB |
208 | config POWER_RESET_TPS65086 |
209 | bool "TPS65086 restart driver" | |
210 | depends on MFD_TPS65086 | |
211 | help | |
212 | This driver adds support for resetting the TPS65086 PMIC on restart. | |
213 | ||
0e545f57 LW |
214 | config POWER_RESET_VERSATILE |
215 | bool "ARM Versatile family reboot driver" | |
216 | depends on ARM | |
217 | depends on MFD_SYSCON | |
218 | depends on OF | |
219 | help | |
220 | Power off and restart support for ARM Versatile family of | |
221 | reference boards. | |
222 | ||
2655f51d | 223 | config POWER_RESET_VEXPRESS |
b52eafcd PM |
224 | bool "ARM Versatile Express power-off and reset driver" |
225 | depends on ARM || ARM64 | |
d0c7dc17 | 226 | depends on VEXPRESS_CONFIG=y |
2655f51d CM |
227 | help |
228 | Power off and reset support for the ARM Ltd. Versatile | |
229 | Express boards. | |
67778e0e LH |
230 | |
231 | config POWER_RESET_XGENE | |
232 | bool "APM SoC X-Gene reset driver" | |
233 | depends on ARM64 | |
67778e0e LH |
234 | help |
235 | Reboot support for the APM SoC X-Gene Eval boards. | |
a3e01e80 IK |
236 | |
237 | config POWER_RESET_KEYSTONE | |
238 | bool "Keystone reset driver" | |
e771e0a1 KK |
239 | depends on ARCH_KEYSTONE || COMPILE_TEST |
240 | depends on HAS_IOMEM | |
a3e01e80 IK |
241 | select MFD_SYSCON |
242 | help | |
243 | Reboot support for the KEYSTONE SoCs. | |
244 | ||
09fb07bc FK |
245 | config POWER_RESET_SYSCON |
246 | bool "Generic SYSCON regmap reset driver" | |
50fa8617 | 247 | depends on OF |
4f4bfe6b | 248 | depends on HAS_IOMEM |
afaebbdb | 249 | select MFD_SYSCON |
09fb07bc FK |
250 | help |
251 | Reboot support for generic SYSCON mapped register reset. | |
50fa8617 | 252 | |
8a577608 MF |
253 | config POWER_RESET_SYSCON_POWEROFF |
254 | bool "Generic SYSCON regmap poweroff driver" | |
255 | depends on OF | |
4f4bfe6b | 256 | depends on HAS_IOMEM |
8a577608 MF |
257 | select MFD_SYSCON |
258 | help | |
259 | Poweroff support for generic SYSCON mapped register poweroff. | |
260 | ||
fa0f8d67 GU |
261 | config POWER_RESET_RMOBILE |
262 | tristate "Renesas R-Mobile reset driver" | |
263 | depends on ARCH_RMOBILE || COMPILE_TEST | |
039ab50b | 264 | depends on HAS_IOMEM |
fa0f8d67 GU |
265 | help |
266 | Reboot support for Renesas R-Mobile and SH-Mobile SoCs. | |
267 | ||
4fcd504e AY |
268 | config REBOOT_MODE |
269 | tristate | |
270 | ||
271 | config SYSCON_REBOOT_MODE | |
272 | tristate "Generic SYSCON regmap reboot mode driver" | |
273 | depends on OF | |
7a4947cf | 274 | depends on MFD_SYSCON |
4fcd504e | 275 | select REBOOT_MODE |
4fcd504e AY |
276 | help |
277 | Say y here will enable reboot mode driver. This will | |
278 | get reboot mode arguments and store it in SYSCON mapped | |
279 | register, then the bootloader can read it to take different | |
280 | action according to the mode. | |
281 | ||
3f5faf3a | 282 | config POWER_RESET_SC27XX |
f78c55e3 | 283 | tristate "Spreadtrum SC27xx PMIC power-off driver" |
3f5faf3a BW |
284 | depends on MFD_SC27XX_PMIC || COMPILE_TEST |
285 | help | |
286 | This driver supports powering off a system through | |
287 | Spreadtrum SC27xx series PMICs. The SC27xx series | |
288 | PMICs includes the SC2720, SC2721, SC2723, SC2730 | |
289 | and SC2731 chips. | |
290 | ||
7a78a7f7 HN |
291 | config NVMEM_REBOOT_MODE |
292 | tristate "Generic NVMEM reboot mode driver" | |
caa2b557 | 293 | depends on OF |
7a78a7f7 HN |
294 | select REBOOT_MODE |
295 | help | |
296 | Say y here will enable reboot mode driver. This will | |
297 | get reboot mode arguments and store it in a NVMEM cell, | |
298 | then the bootloader can read it and take different | |
299 | action according to the mode. | |
300 | ||
a4c0094f AM |
301 | config POWER_MLXBF |
302 | tristate "Mellanox BlueField power handling driver" | |
82f07f1a | 303 | depends on (GPIO_MLXBF2 || GPIO_MLXBF3) && ACPI |
a4c0094f AM |
304 | help |
305 | This driver supports reset or low power mode handling for Mellanox BlueField. | |
306 | ||
6ca4f460 | 307 | endif |