2019-05-19 20:07:45 +08:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
2012-11-17 16:51:04 +08:00
|
|
|
menuconfig POWER_RESET
|
|
|
|
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
|
|
|
|
|
2014-07-01 22:58:40 +08:00
|
|
|
if POWER_RESET
|
|
|
|
|
2013-12-20 21:24:00 +08:00
|
|
|
config POWER_RESET_AS3722
|
|
|
|
bool "ams AS3722 power-off driver"
|
2014-07-01 22:58:40 +08:00
|
|
|
depends on MFD_AS3722
|
2013-12-20 21:24:00 +08:00
|
|
|
help
|
|
|
|
This driver supports turning off board via a ams AS3722 power-off.
|
|
|
|
|
2014-07-03 20:07:18 +08:00
|
|
|
config POWER_RESET_AT91_POWEROFF
|
2015-08-11 17:12:49 +08:00
|
|
|
tristate "Atmel AT91 poweroff driver"
|
2014-09-01 16:26:04 +08:00
|
|
|
depends on ARCH_AT91
|
2014-07-03 20:07:18 +08:00
|
|
|
default SOC_AT91SAM9 || SOC_SAMA5
|
|
|
|
help
|
|
|
|
This driver supports poweroff for Atmel AT91SAM9 and SAMA5
|
|
|
|
SoCs
|
|
|
|
|
2014-07-02 23:46:58 +08:00
|
|
|
config POWER_RESET_AT91_RESET
|
2015-08-11 17:12:47 +08:00
|
|
|
tristate "Atmel AT91 reset driver"
|
2014-09-01 16:26:04 +08:00
|
|
|
depends on ARCH_AT91
|
2019-11-29 21:51:41 +08:00
|
|
|
default SOC_AT91SAM9 || SOC_SAM9X60 || SOC_SAMA5
|
2014-07-02 23:46:58 +08:00
|
|
|
help
|
|
|
|
This driver supports restart for Atmel AT91SAM9 and SAMA5
|
|
|
|
SoCs
|
|
|
|
|
2016-03-16 21:19:50 +08:00
|
|
|
config POWER_RESET_AT91_SAMA5D2_SHDWC
|
|
|
|
tristate "Atmel AT91 SAMA5D2-Compatible shutdown controller driver"
|
2016-10-25 17:37:59 +08:00
|
|
|
depends on ARCH_AT91
|
2019-11-29 21:51:42 +08:00
|
|
|
default SOC_SAM9X60 || SOC_SAMA5
|
2016-03-16 21:19:50 +08:00
|
|
|
help
|
|
|
|
This driver supports the alternate shutdown controller for some Atmel
|
|
|
|
SAMA5 SoCs. It is present for example on SAMA5D2 SoC.
|
|
|
|
|
2014-05-23 17:08:38 +08:00
|
|
|
config POWER_RESET_AXXIA
|
|
|
|
bool "LSI Axxia reset driver"
|
2014-07-01 22:58:40 +08:00
|
|
|
depends on ARCH_AXXIA
|
2014-05-23 17:08:38 +08:00
|
|
|
help
|
|
|
|
This driver supports restart for Axxia SoC.
|
|
|
|
|
|
|
|
Say Y if you have an Axxia family SoC.
|
|
|
|
|
2016-05-12 05:36:17 +08:00
|
|
|
config POWER_RESET_BRCMKONA
|
|
|
|
bool "Broadcom Kona reset driver"
|
|
|
|
depends on ARM || COMPILE_TEST
|
|
|
|
default ARCH_BCM_MOBILE
|
|
|
|
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.
|
|
|
|
|
2014-07-23 07:48:03 +08:00
|
|
|
config POWER_RESET_BRCMSTB
|
2014-11-26 08:49:46 +08:00
|
|
|
bool "Broadcom STB reset driver"
|
2017-06-01 04:39:45 +08:00
|
|
|
depends on ARM || ARM64 || MIPS || COMPILE_TEST
|
2015-05-01 03:55:02 +08:00
|
|
|
depends on MFD_SYSCON
|
2017-06-01 04:39:46 +08:00
|
|
|
default ARCH_BRCMSTB || BMIPS_GENERIC
|
2014-07-23 07:48:03 +08:00
|
|
|
help
|
2014-11-26 08:49:46 +08:00
|
|
|
This driver provides restart support for Broadcom STB boards.
|
2014-07-23 07:48:03 +08:00
|
|
|
|
2014-11-26 08:49:46 +08:00
|
|
|
Say Y here if you have a Broadcom STB board and you wish
|
2014-07-23 07:48:03 +08:00
|
|
|
to have restart support.
|
|
|
|
|
2017-03-13 06:36:21 +08:00
|
|
|
config POWER_RESET_GEMINI_POWEROFF
|
|
|
|
bool "Cortina Gemini power-off driver"
|
|
|
|
depends on ARCH_GEMINI || COMPILE_TEST
|
|
|
|
depends on OF && HAS_IOMEM
|
|
|
|
default ARCH_GEMINI
|
|
|
|
help
|
|
|
|
This driver supports turning off the Cortina Gemini SoC.
|
|
|
|
Select this if you're building a kernel with Gemini SoC support.
|
|
|
|
|
2012-11-17 16:51:04 +08:00
|
|
|
config POWER_RESET_GPIO
|
|
|
|
bool "GPIO power-off driver"
|
2014-07-01 22:58:40 +08:00
|
|
|
depends on OF_GPIO
|
2012-11-17 16:51:04 +08:00
|
|
|
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.
|
2012-12-28 20:25:09 +08:00
|
|
|
|
2014-08-28 03:23:51 +08:00
|
|
|
config POWER_RESET_GPIO_RESTART
|
|
|
|
bool "GPIO restart driver"
|
2014-10-15 12:56:23 +08:00
|
|
|
depends on OF_GPIO
|
2014-08-28 03:23:51 +08:00
|
|
|
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.
|
|
|
|
|
2014-05-13 17:11:28 +08:00
|
|
|
config POWER_RESET_HISI
|
|
|
|
bool "Hisilicon power-off driver"
|
2014-10-15 12:56:23 +08:00
|
|
|
depends on ARCH_HISI
|
2014-05-13 17:11:28 +08:00
|
|
|
help
|
|
|
|
Reboot support for Hisilicon boards.
|
|
|
|
|
2020-07-15 21:35:14 +08:00
|
|
|
config POWER_RESET_LINKSTATION
|
|
|
|
tristate "Buffalo LinkStation power-off driver"
|
|
|
|
depends on ARCH_MVEBU || COMPILE_TEST
|
|
|
|
depends on OF_MDIO && PHYLIB
|
|
|
|
help
|
|
|
|
This driver supports turning off some Buffalo LinkStations by
|
|
|
|
setting an output pin at the ethernet PHY to the correct state.
|
|
|
|
It also makes the device compatible with the WoL function.
|
|
|
|
|
|
|
|
Say Y here if you have a Buffalo LinkStation LS421D/E.
|
|
|
|
|
2013-07-31 08:05:28 +08:00
|
|
|
config POWER_RESET_MSM
|
|
|
|
bool "Qualcomm MSM power-off driver"
|
2014-07-01 22:58:40 +08:00
|
|
|
depends on ARCH_QCOM
|
2013-07-31 08:05:28 +08:00
|
|
|
help
|
|
|
|
Power off and restart support for Qualcomm boards.
|
|
|
|
|
2018-06-28 23:08:46 +08:00
|
|
|
config POWER_RESET_QCOM_PON
|
|
|
|
tristate "Qualcomm power-on driver"
|
|
|
|
depends on ARCH_QCOM
|
|
|
|
depends on MFD_SPMI_PMIC
|
|
|
|
select REBOOT_MODE
|
|
|
|
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.
|
|
|
|
|
2018-01-16 18:12:35 +08:00
|
|
|
config POWER_RESET_OCELOT_RESET
|
|
|
|
bool "Microsemi Ocelot reset driver"
|
|
|
|
depends on MSCC_OCELOT || COMPILE_TEST
|
|
|
|
select MFD_SYSCON
|
|
|
|
help
|
|
|
|
This driver supports restart for Microsemi Ocelot SoC.
|
2020-03-31 06:09:59 +08:00
|
|
|
|
|
|
|
config POWER_RESET_OXNAS
|
|
|
|
bool "OXNAS SoC restart driver"
|
|
|
|
depends on ARCH_OXNAS
|
|
|
|
default MACH_OX820
|
|
|
|
help
|
|
|
|
Restart support for OXNAS/PLXTECH OX820 SoC.
|
2018-01-16 18:12:35 +08:00
|
|
|
|
2016-09-28 23:30:56 +08:00
|
|
|
config POWER_RESET_PIIX4_POWEROFF
|
|
|
|
tristate "Intel PIIX4 power-off driver"
|
|
|
|
depends on PCI
|
|
|
|
depends on MIPS || COMPILE_TEST
|
|
|
|
help
|
|
|
|
This driver supports powering off a system using the Intel PIIX4
|
|
|
|
southbridge, for example the MIPS Malta development board. The
|
|
|
|
southbridge SOff state is entered in response to a request to
|
|
|
|
power off the system.
|
|
|
|
|
2014-08-08 21:12:17 +08:00
|
|
|
config POWER_RESET_LTC2952
|
|
|
|
bool "LTC2952 PowerPath power-off driver"
|
2014-10-15 12:56:23 +08:00
|
|
|
depends on OF_GPIO
|
2014-08-08 21:12:17 +08:00
|
|
|
help
|
|
|
|
This driver supports an external powerdown trigger and board power
|
|
|
|
down via the LTC2952. Bindings are made in the device tree.
|
|
|
|
|
2019-09-10 15:04:44 +08:00
|
|
|
config POWER_RESET_MT6323
|
2019-11-21 11:19:55 +08:00
|
|
|
bool "MediaTek MT6323 power-off driver"
|
|
|
|
depends on MFD_MT6397
|
|
|
|
help
|
|
|
|
The power-off driver is responsible for externally shutdown down
|
|
|
|
the power of a remote MediaTek SoC MT6323 is connected to through
|
|
|
|
controlling a tiny circuit BBPU inside MT6323 RTC.
|
|
|
|
|
|
|
|
Say Y if you have a board where MT6323 could be found.
|
2019-09-10 15:04:44 +08:00
|
|
|
|
2012-12-28 20:25:09 +08:00
|
|
|
config POWER_RESET_QNAP
|
|
|
|
bool "QNAP power-off driver"
|
2014-07-01 22:58:40 +08:00
|
|
|
depends on OF_GPIO && PLAT_ORION
|
2012-12-28 20:25:09 +08:00
|
|
|
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.
|
2012-12-28 20:25:11 +08:00
|
|
|
|
|
|
|
config POWER_RESET_RESTART
|
|
|
|
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.
|
2013-01-15 19:24:14 +08:00
|
|
|
|
2014-07-22 22:52:28 +08:00
|
|
|
config POWER_RESET_ST
|
2015-01-26 04:30:44 +08:00
|
|
|
bool "ST restart driver"
|
2014-10-15 12:56:23 +08:00
|
|
|
depends on ARCH_STI
|
2014-07-22 22:52:28 +08:00
|
|
|
help
|
2015-01-26 04:30:44 +08:00
|
|
|
Reset support for STMicroelectronics boards.
|
2014-07-22 22:52:28 +08:00
|
|
|
|
2014-05-22 16:20:38 +08:00
|
|
|
config POWER_RESET_VERSATILE
|
|
|
|
bool "ARM Versatile family reboot driver"
|
|
|
|
depends on ARM
|
|
|
|
depends on MFD_SYSCON
|
|
|
|
depends on OF
|
|
|
|
help
|
|
|
|
Power off and restart support for ARM Versatile family of
|
|
|
|
reference boards.
|
|
|
|
|
2013-01-15 19:24:14 +08:00
|
|
|
config POWER_RESET_VEXPRESS
|
2013-06-10 23:12:01 +08:00
|
|
|
bool "ARM Versatile Express power-off and reset driver"
|
|
|
|
depends on ARM || ARM64
|
2020-05-27 19:26:07 +08:00
|
|
|
depends on VEXPRESS_CONFIG=y
|
2013-01-15 19:24:14 +08:00
|
|
|
help
|
|
|
|
Power off and reset support for the ARM Ltd. Versatile
|
|
|
|
Express boards.
|
2013-07-03 04:38:58 +08:00
|
|
|
|
|
|
|
config POWER_RESET_XGENE
|
|
|
|
bool "APM SoC X-Gene reset driver"
|
|
|
|
depends on ARM64
|
|
|
|
help
|
|
|
|
Reboot support for the APM SoC X-Gene Eval boards.
|
2014-05-24 04:32:39 +08:00
|
|
|
|
|
|
|
config POWER_RESET_KEYSTONE
|
|
|
|
bool "Keystone reset driver"
|
2016-03-30 08:49:48 +08:00
|
|
|
depends on ARCH_KEYSTONE || COMPILE_TEST
|
|
|
|
depends on HAS_IOMEM
|
2014-05-24 04:32:39 +08:00
|
|
|
select MFD_SYSCON
|
|
|
|
help
|
|
|
|
Reboot support for the KEYSTONE SoCs.
|
|
|
|
|
2014-10-01 07:25:03 +08:00
|
|
|
config POWER_RESET_SYSCON
|
|
|
|
bool "Generic SYSCON regmap reset driver"
|
2014-10-15 12:56:23 +08:00
|
|
|
depends on OF
|
2016-01-26 06:24:00 +08:00
|
|
|
depends on HAS_IOMEM
|
2014-10-03 02:24:15 +08:00
|
|
|
select MFD_SYSCON
|
2014-10-01 07:25:03 +08:00
|
|
|
help
|
|
|
|
Reboot support for generic SYSCON mapped register reset.
|
2014-10-15 12:56:23 +08:00
|
|
|
|
2015-03-12 08:37:18 +08:00
|
|
|
config POWER_RESET_SYSCON_POWEROFF
|
|
|
|
bool "Generic SYSCON regmap poweroff driver"
|
|
|
|
depends on OF
|
2016-01-26 06:24:00 +08:00
|
|
|
depends on HAS_IOMEM
|
2015-03-12 08:37:18 +08:00
|
|
|
select MFD_SYSCON
|
|
|
|
help
|
|
|
|
Poweroff support for generic SYSCON mapped register poweroff.
|
|
|
|
|
2014-12-04 23:33:21 +08:00
|
|
|
config POWER_RESET_RMOBILE
|
|
|
|
tristate "Renesas R-Mobile reset driver"
|
|
|
|
depends on ARCH_RMOBILE || COMPILE_TEST
|
2015-03-17 05:27:08 +08:00
|
|
|
depends on HAS_IOMEM
|
2014-12-04 23:33:21 +08:00
|
|
|
help
|
|
|
|
Reboot support for Renesas R-Mobile and SH-Mobile SoCs.
|
|
|
|
|
2015-07-15 11:25:58 +08:00
|
|
|
config POWER_RESET_ZX
|
|
|
|
tristate "ZTE SoCs reset driver"
|
|
|
|
depends on ARCH_ZX || COMPILE_TEST
|
|
|
|
depends on HAS_IOMEM
|
|
|
|
help
|
|
|
|
Reboot support for ZTE SoCs.
|
|
|
|
|
2016-07-06 21:27:26 +08:00
|
|
|
config REBOOT_MODE
|
|
|
|
tristate
|
|
|
|
|
|
|
|
config SYSCON_REBOOT_MODE
|
|
|
|
tristate "Generic SYSCON regmap reboot mode driver"
|
|
|
|
depends on OF
|
2016-08-12 18:01:50 +08:00
|
|
|
depends on MFD_SYSCON
|
2016-07-06 21:27:26 +08:00
|
|
|
select REBOOT_MODE
|
|
|
|
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.
|
|
|
|
|
2018-02-26 10:23:14 +08:00
|
|
|
config POWER_RESET_SC27XX
|
2020-03-09 16:18:46 +08:00
|
|
|
tristate "Spreadtrum SC27xx PMIC power-off driver"
|
2018-02-26 10:23:14 +08:00
|
|
|
depends on MFD_SC27XX_PMIC || COMPILE_TEST
|
|
|
|
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.
|
|
|
|
|
2019-05-15 18:47:14 +08:00
|
|
|
config NVMEM_REBOOT_MODE
|
|
|
|
tristate "Generic NVMEM reboot mode driver"
|
2019-07-08 20:52:39 +08:00
|
|
|
depends on OF
|
2019-05-15 18:47:14 +08:00
|
|
|
select REBOOT_MODE
|
|
|
|
help
|
|
|
|
Say y here will enable reboot mode driver. This will
|
|
|
|
get reboot mode arguments and store it in a NVMEM cell,
|
|
|
|
then the bootloader can read it and take different
|
|
|
|
action according to the mode.
|
|
|
|
|
2014-07-01 22:58:40 +08:00
|
|
|
endif
|
2014-10-15 12:56:23 +08:00
|
|
|
|