]>
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 |
ecfe64d8 MR |
29 | default SOC_AT91SAM9 || SOC_SAMA5 |
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 |
f80cb488 NF |
37 | default SOC_SAMA5 |
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 | ||
4a315e34 AB |
42 | config POWER_RESET_AXXIA |
43 | bool "LSI Axxia reset driver" | |
6ca4f460 | 44 | depends on ARCH_AXXIA |
4a315e34 AB |
45 | help |
46 | This driver supports restart for Axxia SoC. | |
47 | ||
48 | Say Y if you have an Axxia family SoC. | |
49 | ||
783cb948 CB |
50 | config POWER_RESET_BRCMKONA |
51 | bool "Broadcom Kona reset driver" | |
52 | depends on ARM || COMPILE_TEST | |
53 | default ARCH_BCM_MOBILE | |
54 | help | |
55 | This driver provides restart support for Broadcom Kona chips. | |
56 | ||
57 | Say Y here if you have a Broadcom Kona-based board and you wish | |
58 | to have restart support. | |
59 | ||
030494e7 | 60 | config POWER_RESET_BRCMSTB |
4f5fd640 | 61 | bool "Broadcom STB reset driver" |
12031fca | 62 | depends on ARM || ARM64 || MIPS || COMPILE_TEST |
0a73125d | 63 | depends on MFD_SYSCON |
1d2495e8 | 64 | default ARCH_BRCMSTB || BMIPS_GENERIC |
030494e7 | 65 | help |
4f5fd640 | 66 | This driver provides restart support for Broadcom STB boards. |
030494e7 | 67 | |
4f5fd640 | 68 | Say Y here if you have a Broadcom STB board and you wish |
030494e7 MC |
69 | to have restart support. |
70 | ||
f7a388d6 LW |
71 | config POWER_RESET_GEMINI_POWEROFF |
72 | bool "Cortina Gemini power-off driver" | |
73 | depends on ARCH_GEMINI || COMPILE_TEST | |
74 | depends on OF && HAS_IOMEM | |
75 | default ARCH_GEMINI | |
76 | help | |
77 | This driver supports turning off the Cortina Gemini SoC. | |
78 | Select this if you're building a kernel with Gemini SoC support. | |
79 | ||
96ff0f5c JL |
80 | config POWER_RESET_GPIO |
81 | bool "GPIO power-off driver" | |
6ca4f460 | 82 | depends on OF_GPIO |
96ff0f5c JL |
83 | help |
84 | This driver supports turning off your board via a GPIO line. | |
85 | If your board needs a GPIO high/low to power down, say Y and | |
86 | create a binding in your devicetree. | |
e8fc721a | 87 | |
371bb20d DR |
88 | config POWER_RESET_GPIO_RESTART |
89 | bool "GPIO restart driver" | |
50fa8617 | 90 | depends on OF_GPIO |
371bb20d DR |
91 | help |
92 | This driver supports restarting your board via a GPIO line. | |
93 | If your board needs a GPIO high/low to restart, say Y and | |
94 | create a binding in your devicetree. | |
95 | ||
4a9b3737 HZ |
96 | config POWER_RESET_HISI |
97 | bool "Hisilicon power-off driver" | |
50fa8617 | 98 | depends on ARCH_HISI |
4a9b3737 HZ |
99 | help |
100 | Reboot support for Hisilicon boards. | |
101 | ||
78be3176 AK |
102 | config POWER_RESET_MSM |
103 | bool "Qualcomm MSM power-off driver" | |
6ca4f460 | 104 | depends on ARCH_QCOM |
78be3176 AK |
105 | help |
106 | Power off and restart support for Qualcomm boards. | |
107 | ||
e6a578e2 VK |
108 | config POWER_RESET_QCOM_PON |
109 | tristate "Qualcomm power-on driver" | |
110 | depends on ARCH_QCOM | |
111 | depends on MFD_SPMI_PMIC | |
112 | select REBOOT_MODE | |
113 | help | |
114 | Power On support for Qualcomm boards. | |
115 | If you have a Qualcomm platform and need support for | |
116 | power-on and reboot reason, Say Y. | |
117 | If unsure, Say N. | |
118 | ||
6ab739bc AB |
119 | config POWER_RESET_OCELOT_RESET |
120 | bool "Microsemi Ocelot reset driver" | |
121 | depends on MSCC_OCELOT || COMPILE_TEST | |
122 | select MFD_SYSCON | |
123 | help | |
124 | This driver supports restart for Microsemi Ocelot SoC. | |
125 | ||
29676833 PB |
126 | config POWER_RESET_PIIX4_POWEROFF |
127 | tristate "Intel PIIX4 power-off driver" | |
128 | depends on PCI | |
129 | depends on MIPS || COMPILE_TEST | |
130 | help | |
131 | This driver supports powering off a system using the Intel PIIX4 | |
132 | southbridge, for example the MIPS Malta development board. The | |
133 | southbridge SOff state is entered in response to a request to | |
134 | power off the system. | |
135 | ||
6647156c RM |
136 | config POWER_RESET_LTC2952 |
137 | bool "LTC2952 PowerPath power-off driver" | |
50fa8617 | 138 | depends on OF_GPIO |
6647156c RM |
139 | help |
140 | This driver supports an external powerdown trigger and board power | |
141 | down via the LTC2952. Bindings are made in the device tree. | |
142 | ||
e8fc721a AL |
143 | config POWER_RESET_QNAP |
144 | bool "QNAP power-off driver" | |
6ca4f460 | 145 | depends on OF_GPIO && PLAT_ORION |
e8fc721a AL |
146 | help |
147 | This driver supports turning off QNAP NAS devices by sending | |
148 | commands to the microcontroller which controls the main power. | |
149 | ||
150 | Say Y if you have a QNAP NAS. | |
ffd8f9a7 AL |
151 | |
152 | config POWER_RESET_RESTART | |
153 | bool "Restart power-off driver" | |
ffd8f9a7 AL |
154 | help |
155 | Some boards don't actually have the ability to power off. | |
156 | Instead they restart, and u-boot holds the SoC until the | |
157 | user presses a key. u-boot then boots into Linux. | |
2655f51d | 158 | |
f0745f36 | 159 | config POWER_RESET_ST |
7fa650bc | 160 | bool "ST restart driver" |
50fa8617 | 161 | depends on ARCH_STI |
f0745f36 | 162 | help |
7fa650bc | 163 | Reset support for STMicroelectronics boards. |
f0745f36 | 164 | |
0e545f57 LW |
165 | config POWER_RESET_VERSATILE |
166 | bool "ARM Versatile family reboot driver" | |
167 | depends on ARM | |
168 | depends on MFD_SYSCON | |
169 | depends on OF | |
170 | help | |
171 | Power off and restart support for ARM Versatile family of | |
172 | reference boards. | |
173 | ||
2655f51d | 174 | config POWER_RESET_VEXPRESS |
b52eafcd PM |
175 | bool "ARM Versatile Express power-off and reset driver" |
176 | depends on ARM || ARM64 | |
6ca4f460 | 177 | depends on VEXPRESS_CONFIG |
2655f51d CM |
178 | help |
179 | Power off and reset support for the ARM Ltd. Versatile | |
180 | Express boards. | |
67778e0e LH |
181 | |
182 | config POWER_RESET_XGENE | |
183 | bool "APM SoC X-Gene reset driver" | |
184 | depends on ARM64 | |
67778e0e LH |
185 | help |
186 | Reboot support for the APM SoC X-Gene Eval boards. | |
a3e01e80 IK |
187 | |
188 | config POWER_RESET_KEYSTONE | |
189 | bool "Keystone reset driver" | |
e771e0a1 KK |
190 | depends on ARCH_KEYSTONE || COMPILE_TEST |
191 | depends on HAS_IOMEM | |
a3e01e80 IK |
192 | select MFD_SYSCON |
193 | help | |
194 | Reboot support for the KEYSTONE SoCs. | |
195 | ||
09fb07bc FK |
196 | config POWER_RESET_SYSCON |
197 | bool "Generic SYSCON regmap reset driver" | |
50fa8617 | 198 | depends on OF |
4f4bfe6b | 199 | depends on HAS_IOMEM |
afaebbdb | 200 | select MFD_SYSCON |
09fb07bc FK |
201 | help |
202 | Reboot support for generic SYSCON mapped register reset. | |
50fa8617 | 203 | |
8a577608 MF |
204 | config POWER_RESET_SYSCON_POWEROFF |
205 | bool "Generic SYSCON regmap poweroff driver" | |
206 | depends on OF | |
4f4bfe6b | 207 | depends on HAS_IOMEM |
8a577608 MF |
208 | select MFD_SYSCON |
209 | help | |
210 | Poweroff support for generic SYSCON mapped register poweroff. | |
211 | ||
fa0f8d67 GU |
212 | config POWER_RESET_RMOBILE |
213 | tristate "Renesas R-Mobile reset driver" | |
214 | depends on ARCH_RMOBILE || COMPILE_TEST | |
039ab50b | 215 | depends on HAS_IOMEM |
fa0f8d67 GU |
216 | help |
217 | Reboot support for Renesas R-Mobile and SH-Mobile SoCs. | |
218 | ||
dd9f1486 JN |
219 | config POWER_RESET_ZX |
220 | tristate "ZTE SoCs reset driver" | |
221 | depends on ARCH_ZX || COMPILE_TEST | |
222 | depends on HAS_IOMEM | |
223 | help | |
224 | Reboot support for ZTE SoCs. | |
225 | ||
4fcd504e AY |
226 | config REBOOT_MODE |
227 | tristate | |
228 | ||
229 | config SYSCON_REBOOT_MODE | |
230 | tristate "Generic SYSCON regmap reboot mode driver" | |
231 | depends on OF | |
7a4947cf | 232 | depends on MFD_SYSCON |
4fcd504e | 233 | select REBOOT_MODE |
4fcd504e AY |
234 | help |
235 | Say y here will enable reboot mode driver. This will | |
236 | get reboot mode arguments and store it in SYSCON mapped | |
237 | register, then the bootloader can read it to take different | |
238 | action according to the mode. | |
239 | ||
3f5faf3a BW |
240 | config POWER_RESET_SC27XX |
241 | bool "Spreadtrum SC27xx PMIC power-off driver" | |
242 | depends on MFD_SC27XX_PMIC || COMPILE_TEST | |
243 | help | |
244 | This driver supports powering off a system through | |
245 | Spreadtrum SC27xx series PMICs. The SC27xx series | |
246 | PMICs includes the SC2720, SC2721, SC2723, SC2730 | |
247 | and SC2731 chips. | |
248 | ||
7a78a7f7 HN |
249 | config NVMEM_REBOOT_MODE |
250 | tristate "Generic NVMEM reboot mode driver" | |
caa2b557 | 251 | depends on OF |
7a78a7f7 HN |
252 | select REBOOT_MODE |
253 | help | |
254 | Say y here will enable reboot mode driver. This will | |
255 | get reboot mode arguments and store it in a NVMEM cell, | |
256 | then the bootloader can read it and take different | |
257 | action according to the mode. | |
258 | ||
6ca4f460 | 259 | endif |
50fa8617 | 260 |