1 # SPDX-License-Identifier: GPL-2.0-only
3 bool "Board level reset or power off"
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.
8 Say Y here to enable board reset and power off
12 config POWER_RESET_AS3722
13 bool "ams AS3722 power-off driver"
16 This driver supports turning off board via a ams AS3722 power-off.
18 config POWER_RESET_AT91_POWEROFF
19 tristate "Atmel AT91 poweroff driver"
21 default SOC_AT91SAM9 || SOC_SAMA5
23 This driver supports poweroff for Atmel AT91SAM9 and SAMA5
26 config POWER_RESET_AT91_RESET
27 tristate "Atmel AT91 reset driver"
29 default SOC_AT91SAM9 || SOC_SAM9X60 || SOC_SAMA5
31 This driver supports restart for Atmel AT91SAM9 and SAMA5
34 config POWER_RESET_AT91_SAMA5D2_SHDWC
35 tristate "Atmel AT91 SAMA5D2-Compatible shutdown controller driver"
37 default SOC_SAM9X60 || SOC_SAMA5
39 This driver supports the alternate shutdown controller for some Atmel
40 SAMA5 SoCs. It is present for example on SAMA5D2 SoC.
42 config POWER_RESET_ATC260X
43 tristate "Actions Semi ATC260x PMIC power-off driver"
44 depends on MFD_ATC260X
46 This driver provides power-off and restart support for a system
47 through Actions Semi ATC260x series PMICs.
49 config POWER_RESET_AXXIA
50 bool "LSI Axxia reset driver"
53 This driver supports restart for Axxia SoC.
55 Say Y if you have an Axxia family SoC.
57 config POWER_RESET_BRCMKONA
58 bool "Broadcom Kona reset driver"
59 depends on ARM || COMPILE_TEST
60 default ARCH_BCM_MOBILE
62 This driver provides restart support for Broadcom Kona chips.
64 Say Y here if you have a Broadcom Kona-based board and you wish
65 to have restart support.
67 config POWER_RESET_BRCMSTB
68 bool "Broadcom STB reset driver"
69 depends on ARM || ARM64 || MIPS || COMPILE_TEST
71 default ARCH_BRCMSTB || BMIPS_GENERIC
73 This driver provides restart support for Broadcom STB boards.
75 Say Y here if you have a Broadcom STB board and you wish
76 to have restart support.
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
84 This driver supports turning off the Cortina Gemini SoC.
85 Select this if you're building a kernel with Gemini SoC support.
87 config POWER_RESET_GPIO
88 bool "GPIO power-off driver"
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.
95 config POWER_RESET_GPIO_RESTART
96 bool "GPIO restart driver"
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.
103 config POWER_RESET_HISI
104 bool "Hisilicon power-off driver"
107 Reboot support for Hisilicon boards.
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
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.
118 Say Y here if you have a Buffalo LinkStation LS421D/E.
120 config POWER_RESET_MSM
121 bool "Qualcomm MSM power-off driver"
124 Power off and restart support for Qualcomm boards.
126 config POWER_RESET_QCOM_PON
127 tristate "Qualcomm power-on driver"
129 depends on MFD_SPMI_PMIC
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.
137 config POWER_RESET_OCELOT_RESET
138 bool "Microsemi Ocelot reset driver"
139 depends on MSCC_OCELOT || ARCH_SPARX5 || COMPILE_TEST
142 This driver supports restart for Microsemi Ocelot SoC and similar.
144 config POWER_RESET_ODROID_GO_ULTRA_POWEROFF
145 bool "Odroid Go Ultra power-off driver"
146 depends on ARCH_MESON || COMPILE_TEST
147 depends on I2C=y && OF
149 This driver supports Power off for Odroid Go Ultra device.
151 config POWER_RESET_OXNAS
152 bool "OXNAS SoC restart driver"
153 depends on ARCH_OXNAS
156 Restart support for OXNAS/PLXTECH OX820 SoC.
158 config POWER_RESET_PIIX4_POWEROFF
159 tristate "Intel PIIX4 power-off driver"
161 depends on MIPS || COMPILE_TEST
163 This driver supports powering off a system using the Intel PIIX4
164 southbridge, for example the MIPS Malta development board. The
165 southbridge SOff state is entered in response to a request to
166 power off the system.
168 config POWER_RESET_LTC2952
169 bool "LTC2952 PowerPath power-off driver"
172 This driver supports an external powerdown trigger and board power
173 down via the LTC2952. Bindings are made in the device tree.
175 config POWER_RESET_MT6323
176 bool "MediaTek MT6323 power-off driver"
177 depends on MFD_MT6397
179 The power-off driver is responsible for externally shutdown down
180 the power of a remote MediaTek SoC MT6323 is connected to through
181 controlling a tiny circuit BBPU inside MT6323 RTC.
183 Say Y if you have a board where MT6323 could be found.
185 config POWER_RESET_QNAP
186 bool "QNAP power-off driver"
187 depends on OF_GPIO && PLAT_ORION
189 This driver supports turning off QNAP NAS devices by sending
190 commands to the microcontroller which controls the main power.
192 Say Y if you have a QNAP NAS.
194 config POWER_RESET_REGULATOR
195 bool "Regulator subsystem power-off driver"
196 depends on OF && REGULATOR
198 This driver supports turning off your board by disabling a
199 power regulator defined in the devicetree.
201 config POWER_RESET_RESTART
202 bool "Restart power-off driver"
204 Some boards don't actually have the ability to power off.
205 Instead they restart, and u-boot holds the SoC until the
206 user presses a key. u-boot then boots into Linux.
208 config POWER_RESET_ST
209 bool "ST restart driver"
212 Reset support for STMicroelectronics boards.
214 config POWER_RESET_TPS65086
215 bool "TPS65086 restart driver"
216 depends on MFD_TPS65086
218 This driver adds support for resetting the TPS65086 PMIC on restart.
220 config POWER_RESET_VERSATILE
221 bool "ARM Versatile family reboot driver"
223 depends on MFD_SYSCON
226 Power off and restart support for ARM Versatile family of
229 config POWER_RESET_VEXPRESS
230 bool "ARM Versatile Express power-off and reset driver"
231 depends on ARM || ARM64
232 depends on VEXPRESS_CONFIG=y
234 Power off and reset support for the ARM Ltd. Versatile
237 config POWER_RESET_XGENE
238 bool "APM SoC X-Gene reset driver"
241 Reboot support for the APM SoC X-Gene Eval boards.
243 config POWER_RESET_KEYSTONE
244 bool "Keystone reset driver"
245 depends on ARCH_KEYSTONE || COMPILE_TEST
249 Reboot support for the KEYSTONE SoCs.
251 config POWER_RESET_SYSCON
252 bool "Generic SYSCON regmap reset driver"
257 Reboot support for generic SYSCON mapped register reset.
259 config POWER_RESET_SYSCON_POWEROFF
260 bool "Generic SYSCON regmap poweroff driver"
265 Poweroff support for generic SYSCON mapped register poweroff.
267 config POWER_RESET_RMOBILE
268 tristate "Renesas R-Mobile reset driver"
269 depends on ARCH_RMOBILE || COMPILE_TEST
272 Reboot support for Renesas R-Mobile and SH-Mobile SoCs.
277 config SYSCON_REBOOT_MODE
278 tristate "Generic SYSCON regmap reboot mode driver"
280 depends on MFD_SYSCON
283 Say y here will enable reboot mode driver. This will
284 get reboot mode arguments and store it in SYSCON mapped
285 register, then the bootloader can read it to take different
286 action according to the mode.
288 config POWER_RESET_SC27XX
289 tristate "Spreadtrum SC27xx PMIC power-off driver"
290 depends on MFD_SC27XX_PMIC || COMPILE_TEST
292 This driver supports powering off a system through
293 Spreadtrum SC27xx series PMICs. The SC27xx series
294 PMICs includes the SC2720, SC2721, SC2723, SC2730
297 config NVMEM_REBOOT_MODE
298 tristate "Generic NVMEM reboot mode driver"
302 Say y here will enable reboot mode driver. This will
303 get reboot mode arguments and store it in a NVMEM cell,
304 then the bootloader can read it and take different
305 action according to the mode.
308 tristate "Mellanox BlueField power handling driver"
309 depends on (GPIO_MLXBF2 && ACPI)
311 This driver supports reset or low power mode handling for Mellanox BlueField.