Kconfig 6 KB
Newer Older
1 2 3 4 5 6 7 8
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

9 10
if POWER_RESET

11 12
config POWER_RESET_AS3722
	bool "ams AS3722 power-off driver"
13
	depends on MFD_AS3722
14 15 16
	help
	  This driver supports turning off board via a ams AS3722 power-off.

17
config POWER_RESET_AT91_POWEROFF
18
	tristate "Atmel AT91 poweroff driver"
19
	depends on ARCH_AT91
20 21 22 23 24
	default SOC_AT91SAM9 || SOC_SAMA5
	help
	  This driver supports poweroff for Atmel AT91SAM9 and SAMA5
	  SoCs

25
config POWER_RESET_AT91_RESET
26
	tristate "Atmel AT91 reset driver"
27
	depends on ARCH_AT91
28 29 30 31 32
	default SOC_AT91SAM9 || SOC_SAMA5
	help
	  This driver supports restart for Atmel AT91SAM9 and SAMA5
	  SoCs

33 34 35 36 37 38 39 40
config POWER_RESET_AT91_SAMA5D2_SHDWC
	tristate "Atmel AT91 SAMA5D2-Compatible shutdown controller driver"
	depends on ARCH_AT91 || COMPILE_TEST
	default SOC_SAMA5
	help
	  This driver supports the alternate shutdown controller for some Atmel
	  SAMA5 SoCs. It is present for example on SAMA5D2 SoC.

41 42
config POWER_RESET_AXXIA
	bool "LSI Axxia reset driver"
43
	depends on ARCH_AXXIA
44 45 46 47 48
	help
	  This driver supports restart for Axxia SoC.

	  Say Y if you have an Axxia family SoC.

49 50 51 52 53 54 55 56 57 58
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.

59
config POWER_RESET_BRCMSTB
60 61
	bool "Broadcom STB reset driver"
	depends on ARM || MIPS || COMPILE_TEST
62
	depends on MFD_SYSCON
63 64
	default ARCH_BRCMSTB
	help
65
	  This driver provides restart support for Broadcom STB boards.
66

67
	  Say Y here if you have a Broadcom STB board and you wish
68 69
	  to have restart support.

70 71
config POWER_RESET_GPIO
	bool "GPIO power-off driver"
72
	depends on OF_GPIO
73 74 75 76
	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.
77

78 79
config POWER_RESET_GPIO_RESTART
	bool "GPIO restart driver"
80
	depends on OF_GPIO
81 82 83 84 85
	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.

86 87
config POWER_RESET_HISI
	bool "Hisilicon power-off driver"
88
	depends on ARCH_HISI
89 90 91
	help
	  Reboot support for Hisilicon boards.

92 93 94 95 96 97 98 99 100
config POWER_RESET_IMX
	bool "IMX6 power-off driver"
	depends on POWER_RESET && SOC_IMX6
	help
	  This driver support power off external PMIC by PMIC_ON_REQ on i.mx6
	  boards.If you want to use other pin to control external power,please
	  say N here or disable in dts to make sure pm_power_off never be
	  overwrote wrongly by this driver.

101 102
config POWER_RESET_MSM
	bool "Qualcomm MSM power-off driver"
103
	depends on ARCH_QCOM
104 105 106
	help
	  Power off and restart support for Qualcomm boards.

107 108 109 110 111 112 113 114 115 116
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.

117 118
config POWER_RESET_LTC2952
	bool "LTC2952 PowerPath power-off driver"
119
	depends on OF_GPIO
120 121 122 123
	help
	  This driver supports an external powerdown trigger and board power
	  down via the LTC2952. Bindings are made in the device tree.

124 125
config POWER_RESET_QNAP
	bool "QNAP power-off driver"
126
	depends on OF_GPIO && PLAT_ORION
127 128 129 130 131
	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.
132 133 134 135 136 137 138

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.
139

140
config POWER_RESET_ST
141
	bool "ST restart driver"
142
	depends on ARCH_STI
143
	help
144
	  Reset support for STMicroelectronics boards.
145

146 147 148 149 150 151 152 153 154
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.

155
config POWER_RESET_VEXPRESS
156 157
	bool "ARM Versatile Express power-off and reset driver"
	depends on ARM || ARM64
158
	depends on VEXPRESS_CONFIG
159 160 161
	help
	  Power off and reset support for the ARM Ltd. Versatile
	  Express boards.
162 163 164 165 166 167

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.
168 169 170

config POWER_RESET_KEYSTONE
	bool "Keystone reset driver"
171 172
	depends on ARCH_KEYSTONE || COMPILE_TEST
	depends on HAS_IOMEM
173 174 175 176
	select MFD_SYSCON
	help
	  Reboot support for the KEYSTONE SoCs.

177 178
config POWER_RESET_SYSCON
	bool "Generic SYSCON regmap reset driver"
179
	depends on OF
180
	depends on HAS_IOMEM
181
	select MFD_SYSCON
182 183
	help
	  Reboot support for generic SYSCON mapped register reset.
184

185 186 187
config POWER_RESET_SYSCON_POWEROFF
	bool "Generic SYSCON regmap poweroff driver"
	depends on OF
188
	depends on HAS_IOMEM
189 190 191 192
	select MFD_SYSCON
	help
	  Poweroff support for generic SYSCON mapped register poweroff.

193 194 195
config POWER_RESET_RMOBILE
	tristate "Renesas R-Mobile reset driver"
	depends on ARCH_RMOBILE || COMPILE_TEST
196
	depends on HAS_IOMEM
197 198 199
	help
	  Reboot support for Renesas R-Mobile and SH-Mobile SoCs.

200 201 202 203 204 205 206
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.

207 208 209 210 211 212
config REBOOT_MODE
	tristate

config SYSCON_REBOOT_MODE
	tristate "Generic SYSCON regmap reboot mode driver"
	depends on OF
213
	depends on MFD_SYSCON
214 215 216 217 218 219 220
	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.

221
endif
222