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_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"
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_AXXIA
43 bool "LSI Axxia reset driver"
46 This driver supports restart for Axxia SoC.
48 Say Y if you have an Axxia family SoC.
50 config POWER_RESET_BRCMKONA
51 bool "Broadcom Kona reset driver"
52 depends on ARM || COMPILE_TEST
53 default ARCH_BCM_MOBILE
55 This driver provides restart support for Broadcom Kona chips.
57 Say Y here if you have a Broadcom Kona-based board and you wish
58 to have restart support.
60 config POWER_RESET_BRCMSTB
61 bool "Broadcom STB reset driver"
62 depends on ARM || ARM64 || MIPS || COMPILE_TEST
64 default ARCH_BRCMSTB || BMIPS_GENERIC
66 This driver provides restart support for Broadcom STB boards.
68 Say Y here if you have a Broadcom STB board and you wish
69 to have restart support.
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
77 This driver supports turning off the Cortina Gemini SoC.
78 Select this if you're building a kernel with Gemini SoC support.
80 config POWER_RESET_GPIO
81 bool "GPIO power-off driver"
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.
88 config POWER_RESET_GPIO_RESTART
89 bool "GPIO restart driver"
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.
96 config POWER_RESET_HISI
97 bool "Hisilicon power-off driver"
100 Reboot support for Hisilicon boards.
102 config POWER_RESET_MSM
103 bool "Qualcomm MSM power-off driver"
106 Power off and restart support for Qualcomm boards.
108 config POWER_RESET_QCOM_PON
109 tristate "Qualcomm power-on driver"
111 depends on MFD_SPMI_PMIC
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.
119 config POWER_RESET_OCELOT_RESET
120 bool "Microsemi Ocelot reset driver"
121 depends on MSCC_OCELOT || COMPILE_TEST
124 This driver supports restart for Microsemi Ocelot SoC.
126 config POWER_RESET_PIIX4_POWEROFF
127 tristate "Intel PIIX4 power-off driver"
129 depends on MIPS || COMPILE_TEST
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.
136 config POWER_RESET_LTC2952
137 bool "LTC2952 PowerPath power-off driver"
140 This driver supports an external powerdown trigger and board power
141 down via the LTC2952. Bindings are made in the device tree.
143 config POWER_RESET_MT6323
144 bool "MediaTek MT6323 power-off driver"
145 depends on MFD_MT6397
147 The power-off driver is responsible for externally shutdown down
148 the power of a remote MediaTek SoC MT6323 is connected to through
149 controlling a tiny circuit BBPU inside MT6323 RTC.
151 Say Y if you have a board where MT6323 could be found.
153 config POWER_RESET_QNAP
154 bool "QNAP power-off driver"
155 depends on OF_GPIO && PLAT_ORION
157 This driver supports turning off QNAP NAS devices by sending
158 commands to the microcontroller which controls the main power.
160 Say Y if you have a QNAP NAS.
162 config POWER_RESET_RESTART
163 bool "Restart power-off driver"
165 Some boards don't actually have the ability to power off.
166 Instead they restart, and u-boot holds the SoC until the
167 user presses a key. u-boot then boots into Linux.
169 config POWER_RESET_ST
170 bool "ST restart driver"
173 Reset support for STMicroelectronics boards.
175 config POWER_RESET_VERSATILE
176 bool "ARM Versatile family reboot driver"
178 depends on MFD_SYSCON
181 Power off and restart support for ARM Versatile family of
184 config POWER_RESET_VEXPRESS
185 bool "ARM Versatile Express power-off and reset driver"
186 depends on ARM || ARM64
187 depends on VEXPRESS_CONFIG
189 Power off and reset support for the ARM Ltd. Versatile
192 config POWER_RESET_XGENE
193 bool "APM SoC X-Gene reset driver"
196 Reboot support for the APM SoC X-Gene Eval boards.
198 config POWER_RESET_KEYSTONE
199 bool "Keystone reset driver"
200 depends on ARCH_KEYSTONE || COMPILE_TEST
204 Reboot support for the KEYSTONE SoCs.
206 config POWER_RESET_SYSCON
207 bool "Generic SYSCON regmap reset driver"
212 Reboot support for generic SYSCON mapped register reset.
214 config POWER_RESET_SYSCON_POWEROFF
215 bool "Generic SYSCON regmap poweroff driver"
220 Poweroff support for generic SYSCON mapped register poweroff.
222 config POWER_RESET_RMOBILE
223 tristate "Renesas R-Mobile reset driver"
224 depends on ARCH_RMOBILE || COMPILE_TEST
227 Reboot support for Renesas R-Mobile and SH-Mobile SoCs.
229 config POWER_RESET_ZX
230 tristate "ZTE SoCs reset driver"
231 depends on ARCH_ZX || COMPILE_TEST
234 Reboot support for ZTE SoCs.
239 config SYSCON_REBOOT_MODE
240 tristate "Generic SYSCON regmap reboot mode driver"
242 depends on MFD_SYSCON
245 Say y here will enable reboot mode driver. This will
246 get reboot mode arguments and store it in SYSCON mapped
247 register, then the bootloader can read it to take different
248 action according to the mode.
250 config POWER_RESET_SC27XX
251 bool "Spreadtrum SC27xx PMIC power-off driver"
252 depends on MFD_SC27XX_PMIC || COMPILE_TEST
254 This driver supports powering off a system through
255 Spreadtrum SC27xx series PMICs. The SC27xx series
256 PMICs includes the SC2720, SC2721, SC2723, SC2730
259 config NVMEM_REBOOT_MODE
260 tristate "Generic NVMEM reboot mode driver"
264 Say y here will enable reboot mode driver. This will
265 get reboot mode arguments and store it in a NVMEM cell,
266 then the bootloader can read it and take different
267 action according to the mode.