Kconfig 4.4 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 18
config POWER_RESET_AT91_POWEROFF
	bool "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 26
config POWER_RESET_AT91_RESET
	bool "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
config POWER_RESET_AXXIA
	bool "LSI Axxia reset driver"
35
	depends on ARCH_AXXIA
36 37 38 39 40
	help
	  This driver supports restart for Axxia SoC.

	  Say Y if you have an Axxia family SoC.

41 42
config POWER_RESET_BRCMSTB
	bool "Broadcom STB reset driver" if COMPILE_TEST
43
	depends on ARM
44 45 46 47 48 49 50 51
	default ARCH_BRCMSTB
	help
	  This driver provides restart support for ARM-based Broadcom STB
	  boards.

	  Say Y here if you have an ARM-based Broadcom STB board and you wish
	  to have restart support.

52 53
config POWER_RESET_GPIO
	bool "GPIO power-off driver"
54
	depends on OF_GPIO
55 56 57 58
	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.
59

60 61
config POWER_RESET_GPIO_RESTART
	bool "GPIO restart driver"
62
	depends on OF_GPIO
63 64 65 66 67
	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.

68 69
config POWER_RESET_HISI
	bool "Hisilicon power-off driver"
70
	depends on ARCH_HISI
71 72 73
	help
	  Reboot support for Hisilicon boards.

74 75 76 77 78 79 80 81 82
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.

83 84
config POWER_RESET_MSM
	bool "Qualcomm MSM power-off driver"
85
	depends on ARCH_QCOM
86 87 88
	help
	  Power off and restart support for Qualcomm boards.

89 90
config POWER_RESET_LTC2952
	bool "LTC2952 PowerPath power-off driver"
91
	depends on OF_GPIO
92 93 94 95
	help
	  This driver supports an external powerdown trigger and board power
	  down via the LTC2952. Bindings are made in the device tree.

96 97
config POWER_RESET_QNAP
	bool "QNAP power-off driver"
98
	depends on OF_GPIO && PLAT_ORION
99 100 101 102 103
	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.
104 105 106 107 108 109 110 111

config POWER_RESET_RESTART
	bool "Restart power-off driver"
	depends on ARM
	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.
112

113 114 115 116 117 118
config POWER_RESET_SUN6I
	bool "Allwinner A31 SoC reset driver"
	depends on ARCH_SUNXI
	help
	  Reboot support for the Allwinner A31 SoCs.

119 120
config POWER_RESET_ST
	bool "ST restart power-off driver"
121
	depends on ARCH_STI
122 123 124
	help
	  Power off and reset support for STMicroelectronics boards.

125 126 127 128 129 130 131 132 133
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.

134
config POWER_RESET_VEXPRESS
135 136
	bool "ARM Versatile Express power-off and reset driver"
	depends on ARM || ARM64
137
	depends on VEXPRESS_CONFIG
138 139 140
	help
	  Power off and reset support for the ARM Ltd. Versatile
	  Express boards.
141 142 143 144 145 146

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

config POWER_RESET_KEYSTONE
	bool "Keystone reset driver"
	depends on ARCH_KEYSTONE
	select MFD_SYSCON
	help
	  Reboot support for the KEYSTONE SoCs.

155 156
config POWER_RESET_SYSCON
	bool "Generic SYSCON regmap reset driver"
157
	depends on OF
158
	select MFD_SYSCON
159 160
	help
	  Reboot support for generic SYSCON mapped register reset.
161

162 163 164 165 166 167
config POWER_RESET_RMOBILE
	tristate "Renesas R-Mobile reset driver"
	depends on ARCH_RMOBILE || COMPILE_TEST
	help
	  Reboot support for Renesas R-Mobile and SH-Mobile SoCs.

168
endif
169