# SPDX-License-Identifier: GPL-2.0-only
menuconfig [31mCONFIG_POWER_RESET[0m
bool "Board level reset or power off"
help
Provides a number of drivers which either reset a complete board
or shut it down, by manipulating the main power supply on the board.
Say Y here to enable board reset and power off
if [31mCONFIG_POWER_RESET[0m
config [31mCONFIG_POWER_RESET_AS3722[0m
bool "ams AS3722 power-off driver"
depends on [31mCONFIG_MFD_AS3722[0m
help
This driver supports turning off board via a ams AS3722 power-off.
config [31mCONFIG_POWER_RESET_AT91_POWEROFF[0m
tristate "Atmel AT91 poweroff driver"
depends on [31mCONFIG_ARCH_AT91[0m
default [31mCONFIG_SOC_AT91SAM9[0m || [31mCONFIG_SOC_SAMA5[0m
help
This driver supports poweroff for Atmel AT91SAM9 and SAMA5
SoCs
config [31mCONFIG_POWER_RESET_AT91_RESET[0m
tristate "Atmel AT91 reset driver"
depends on [31mCONFIG_ARCH_AT91[0m
default [31mCONFIG_SOC_AT91SAM9[0m || [31mCONFIG_SOC_SAMA5[0m
help
This driver supports restart for Atmel AT91SAM9 and SAMA5
SoCs
config [31mCONFIG_POWER_RESET_AT91_SAMA5D2_SHDWC[0m
tristate "Atmel AT91 SAMA5D2-Compatible shutdown controller driver"
depends on [31mCONFIG_ARCH_AT91[0m
default [31mCONFIG_SOC_SAMA5[0m
help
This driver supports the alternate shutdown controller for some Atmel
SAMA5 SoCs. It is present for example on SAMA5D2 SoC.
config [31mCONFIG_POWER_RESET_AXXIA[0m
bool "LSI Axxia reset driver"
depends on [31mCONFIG_ARCH_AXXIA[0m
help
This driver supports restart for Axxia SoC.
Say Y if you have an Axxia family SoC.
config [31mCONFIG_POWER_RESET_BRCMKONA[0m
bool "Broadcom Kona reset driver"
depends on [31mCONFIG_ARM[0m || [31mCONFIG_COMPILE_TEST[0m
default [31mCONFIG_ARCH_BCM_MOBILE[0m
help
This driver provides restart support for Broadcom Kona chips.
Say Y here if you have a Broadcom Kona-based board and you wish
to have restart support.
config [31mCONFIG_POWER_RESET_BRCMSTB[0m
bool "Broadcom STB reset driver"
depends on [31mCONFIG_ARM[0m || [31mCONFIG_ARM64[0m || [31mCONFIG_MIPS[0m || [31mCONFIG_COMPILE_TEST[0m
depends on [31mCONFIG_MFD_SYSCON[0m
default [31mCONFIG_ARCH_BRCMSTB[0m || [31mCONFIG_BMIPS_GENERIC[0m
help
This driver provides restart support for Broadcom STB boards.
Say Y here if you have a Broadcom STB board and you wish
to have restart support.
config [31mCONFIG_POWER_RESET_GEMINI_POWEROFF[0m
bool "Cortina Gemini power-off driver"
depends on [31mCONFIG_ARCH_GEMINI[0m || [31mCONFIG_COMPILE_TEST[0m
depends on [31mCONFIG_OF[0m && [31mCONFIG_HAS_IOMEM[0m
default [31mCONFIG_ARCH_GEMINI[0m
help
This driver supports turning off the Cortina Gemini SoC.
Select this if you're building a kernel with Gemini SoC support.
config [31mCONFIG_POWER_RESET_GPIO[0m
bool "GPIO power-off driver"
depends on [31mCONFIG_OF_GPIO[0m
help
This driver supports turning off your board via a GPIO line.
If your board needs a GPIO high/low to power down, say Y and
create a binding in your devicetree.
config [31mCONFIG_POWER_RESET_GPIO_RESTART[0m
bool "GPIO restart driver"
depends on [31mCONFIG_OF_GPIO[0m
help
This driver supports restarting your board via a GPIO line.
If your board needs a GPIO high/low to restart, say Y and
create a binding in your devicetree.
config [31mCONFIG_POWER_RESET_HISI[0m
bool "Hisilicon power-off driver"
depends on [31mCONFIG_ARCH_HISI[0m
help
Reboot support for Hisilicon boards.
config [31mCONFIG_POWER_RESET_MSM[0m
bool "Qualcomm MSM power-off driver"
depends on [31mCONFIG_ARCH_QCOM[0m
help
Power off and restart support for Qualcomm boards.
config [31mCONFIG_POWER_RESET_QCOM_PON[0m
tristate "Qualcomm power-on driver"
depends on [31mCONFIG_ARCH_QCOM[0m
depends on [31mCONFIG_MFD_SPMI_PMIC[0m
select [31mCONFIG_REBOOT_MODE[0m
help
Power On support for Qualcomm boards.
If you have a Qualcomm platform and need support for
power-on and reboot reason, Say Y.
If unsure, Say N.
config [31mCONFIG_POWER_RESET_OCELOT_RESET[0m
bool "Microsemi Ocelot reset driver"
depends on [31mCONFIG_MSCC_OCELOT[0m || [31mCONFIG_COMPILE_TEST[0m
select [31mCONFIG_MFD_SYSCON[0m
help
This driver supports restart for Microsemi Ocelot SoC.
config [31mCONFIG_POWER_RESET_PIIX4_POWEROFF[0m
tristate "Intel PIIX4 power-off driver"
depends on [31mCONFIG_PCI[0m
depends on [31mCONFIG_MIPS[0m || [31mCONFIG_COMPILE_TEST[0m
help
This driver supports powering off a system using the Intel PIIX4
southbridge, for example the [31mCONFIG_MIPS[0m Malta development board. The
southbridge SOff state is entered in response to a request to
power off the system.
config [31mCONFIG_POWER_RESET_LTC2952[0m
bool "LTC2952 PowerPath power-off driver"
depends on [31mCONFIG_OF_GPIO[0m
help
This driver supports an external powerdown trigger and board power
down via the LTC2952. Bindings are made in the device tree.
config [31mCONFIG_POWER_RESET_QNAP[0m
bool "QNAP power-off driver"
depends on [31mCONFIG_OF_GPIO[0m && [31mCONFIG_PLAT_ORION[0m
help
This driver supports turning off QNAP NAS devices by sending
commands to the microcontroller which controls the main power.
Say Y if you have a QNAP NAS.
config [31mCONFIG_POWER_RESET_RESTART[0m
bool "Restart power-off driver"
help
Some boards don't actually have the ability to power off.
Instead they restart, and u-boot holds the SoC until the
user presses a key. u-boot then boots into Linux.
config [31mCONFIG_POWER_RESET_ST[0m
bool "ST restart driver"
depends on [31mCONFIG_ARCH_STI[0m
help
Reset support for STMicroelectronics boards.
config [31mCONFIG_POWER_RESET_VERSATILE[0m
bool "ARM Versatile family reboot driver"
depends on [31mCONFIG_ARM[0m
depends on [31mCONFIG_MFD_SYSCON[0m
depends on [31mCONFIG_OF[0m
help
Power off and restart support for [31mCONFIG_ARM[0m Versatile family of
reference boards.
config [31mCONFIG_POWER_RESET_VEXPRESS[0m
bool "ARM Versatile Express power-off and reset driver"
depends on [31mCONFIG_ARM[0m || [31mCONFIG_ARM64[0m
depends on [31mCONFIG_VEXPRESS_CONFIG[0m
help
Power off and reset support for the [31mCONFIG_ARM[0m Ltd. Versatile
Express boards.
config [31mCONFIG_POWER_RESET_XGENE[0m
bool "APM SoC X-Gene reset driver"
depends on [31mCONFIG_ARM64[0m
help
Reboot support for the [31mCONFIG_APM[0m SoC X-Gene Eval boards.
config [31mCONFIG_POWER_RESET_KEYSTONE[0m
bool "Keystone reset driver"
depends on [31mCONFIG_ARCH_KEYSTONE[0m || [31mCONFIG_COMPILE_TEST[0m
depends on [31mCONFIG_HAS_IOMEM[0m
select [31mCONFIG_MFD_SYSCON[0m
help
Reboot support for the KEYSTONE SoCs.
config [31mCONFIG_POWER_RESET_SYSCON[0m
bool "Generic SYSCON regmap reset driver"
depends on [31mCONFIG_OF[0m
depends on [31mCONFIG_HAS_IOMEM[0m
select [31mCONFIG_MFD_SYSCON[0m
help
Reboot support for generic SYSCON mapped register reset.
config [31mCONFIG_POWER_RESET_SYSCON_POWEROFF[0m
bool "Generic SYSCON regmap poweroff driver"
depends on [31mCONFIG_OF[0m
depends on [31mCONFIG_HAS_IOMEM[0m
select [31mCONFIG_MFD_SYSCON[0m
help
Poweroff support for generic SYSCON mapped register poweroff.
config [31mCONFIG_POWER_RESET_RMOBILE[0m
tristate "Renesas R-Mobile reset driver"
depends on [31mCONFIG_ARCH_RMOBILE[0m || [31mCONFIG_COMPILE_TEST[0m
depends on [31mCONFIG_HAS_IOMEM[0m
help
Reboot support for Renesas R-Mobile and SH-Mobile SoCs.
config [31mCONFIG_POWER_RESET_ZX[0m
tristate "ZTE SoCs reset driver"
depends on [31mCONFIG_ARCH_ZX[0m || [31mCONFIG_COMPILE_TEST[0m
depends on [31mCONFIG_HAS_IOMEM[0m
help
Reboot support for ZTE SoCs.
config [31mCONFIG_REBOOT_MODE[0m
tristate
config [31mCONFIG_SYSCON_REBOOT_MODE[0m
tristate "Generic SYSCON regmap reboot mode driver"
depends on [31mCONFIG_OF[0m
depends on [31mCONFIG_MFD_SYSCON[0m
select [31mCONFIG_REBOOT_MODE[0m
help
Say y here will enable reboot mode driver. This will
get reboot mode arguments and store it in SYSCON mapped
register, then the bootloader can read it to take different
action according to the mode.
config [31mCONFIG_POWER_RESET_SC27XX[0m
bool "Spreadtrum SC27xx PMIC power-off driver"
depends on [31mCONFIG_MFD_SC27XX_PMIC[0m || [31mCONFIG_COMPILE_TEST[0m
help
This driver supports powering off a system through
Spreadtrum SC27xx series PMICs. The SC27xx series
PMICs includes the SC2720, SC2721, SC2723, SC2730
and SC2731 chips.
config [31mCONFIG_NVMEM_REBOOT_MODE[0m
tristate "Generic NVMEM reboot mode driver"
depends on [31mCONFIG_OF[0m
select [31mCONFIG_REBOOT_MODE[0m
help
Say y here will enable reboot mode driver. This will
get reboot mode arguments and store it in a [31mCONFIG_NVMEM[0m cell,
then the bootloader can read it and take different
action according to the mode.
endif