Commit | Line | Data |
---|---|---|
96ff0f5c JL |
1 | menuconfig POWER_RESET |
2 | bool "Board level reset or power off" | |
3 | help | |
4 | Provides a number of drivers which either reset a complete board | |
5 | or shut it down, by manipulating the main power supply on the board. | |
6 | ||
7 | Say Y here to enable board reset and power off | |
8 | ||
6ca4f460 MR |
9 | if POWER_RESET |
10 | ||
56fb8de5 LD |
11 | config POWER_RESET_AS3722 |
12 | bool "ams AS3722 power-off driver" | |
6ca4f460 | 13 | depends on MFD_AS3722 |
56fb8de5 LD |
14 | help |
15 | This driver supports turning off board via a ams AS3722 power-off. | |
16 | ||
ae499f0f | 17 | config POWER_RESET_AT91_POWEROFF |
6dd1ad1f | 18 | tristate "Atmel AT91 poweroff driver" |
94d450ed | 19 | depends on ARCH_AT91 |
ae499f0f MR |
20 | default SOC_AT91SAM9 || SOC_SAMA5 |
21 | help | |
22 | This driver supports poweroff for Atmel AT91SAM9 and SAMA5 | |
23 | SoCs | |
24 | ||
ecfe64d8 | 25 | config POWER_RESET_AT91_RESET |
6e64180a | 26 | tristate "Atmel AT91 reset driver" |
94d450ed | 27 | depends on ARCH_AT91 |
ecfe64d8 MR |
28 | default SOC_AT91SAM9 || SOC_SAMA5 |
29 | help | |
30 | This driver supports restart for Atmel AT91SAM9 and SAMA5 | |
31 | SoCs | |
32 | ||
f80cb488 NF |
33 | config POWER_RESET_AT91_SAMA5D2_SHDWC |
34 | tristate "Atmel AT91 SAMA5D2-Compatible shutdown controller driver" | |
35 | depends on ARCH_AT91 || COMPILE_TEST | |
36 | default SOC_SAMA5 | |
37 | help | |
38 | This driver supports the alternate shutdown controller for some Atmel | |
39 | SAMA5 SoCs. It is present for example on SAMA5D2 SoC. | |
40 | ||
4a315e34 AB |
41 | config POWER_RESET_AXXIA |
42 | bool "LSI Axxia reset driver" | |
6ca4f460 | 43 | depends on ARCH_AXXIA |
4a315e34 AB |
44 | help |
45 | This driver supports restart for Axxia SoC. | |
46 | ||
47 | Say Y if you have an Axxia family SoC. | |
48 | ||
783cb948 CB |
49 | config POWER_RESET_BRCMKONA |
50 | bool "Broadcom Kona reset driver" | |
51 | depends on ARM || COMPILE_TEST | |
52 | default ARCH_BCM_MOBILE | |
53 | help | |
54 | This driver provides restart support for Broadcom Kona chips. | |
55 | ||
56 | Say Y here if you have a Broadcom Kona-based board and you wish | |
57 | to have restart support. | |
58 | ||
030494e7 | 59 | config POWER_RESET_BRCMSTB |
4f5fd640 KC |
60 | bool "Broadcom STB reset driver" |
61 | depends on ARM || MIPS || COMPILE_TEST | |
0a73125d | 62 | depends on MFD_SYSCON |
030494e7 MC |
63 | default ARCH_BRCMSTB |
64 | help | |
4f5fd640 | 65 | This driver provides restart support for Broadcom STB boards. |
030494e7 | 66 | |
4f5fd640 | 67 | Say Y here if you have a Broadcom STB board and you wish |
030494e7 MC |
68 | to have restart support. |
69 | ||
96ff0f5c JL |
70 | config POWER_RESET_GPIO |
71 | bool "GPIO power-off driver" | |
6ca4f460 | 72 | depends on OF_GPIO |
96ff0f5c JL |
73 | help |
74 | This driver supports turning off your board via a GPIO line. | |
75 | If your board needs a GPIO high/low to power down, say Y and | |
76 | create a binding in your devicetree. | |
e8fc721a | 77 | |
371bb20d DR |
78 | config POWER_RESET_GPIO_RESTART |
79 | bool "GPIO restart driver" | |
50fa8617 | 80 | depends on OF_GPIO |
371bb20d DR |
81 | help |
82 | This driver supports restarting your board via a GPIO line. | |
83 | If your board needs a GPIO high/low to restart, say Y and | |
84 | create a binding in your devicetree. | |
85 | ||
4a9b3737 HZ |
86 | config POWER_RESET_HISI |
87 | bool "Hisilicon power-off driver" | |
50fa8617 | 88 | depends on ARCH_HISI |
4a9b3737 HZ |
89 | help |
90 | Reboot support for Hisilicon boards. | |
91 | ||
3db47dc0 RG |
92 | config POWER_RESET_IMX |
93 | bool "IMX6 power-off driver" | |
94 | depends on POWER_RESET && SOC_IMX6 | |
95 | help | |
96 | This driver support power off external PMIC by PMIC_ON_REQ on i.mx6 | |
97 | boards.If you want to use other pin to control external power,please | |
98 | say N here or disable in dts to make sure pm_power_off never be | |
99 | overwrote wrongly by this driver. | |
100 | ||
78be3176 AK |
101 | config POWER_RESET_MSM |
102 | bool "Qualcomm MSM power-off driver" | |
6ca4f460 | 103 | depends on ARCH_QCOM |
78be3176 AK |
104 | help |
105 | Power off and restart support for Qualcomm boards. | |
106 | ||
6647156c RM |
107 | config POWER_RESET_LTC2952 |
108 | bool "LTC2952 PowerPath power-off driver" | |
50fa8617 | 109 | depends on OF_GPIO |
6647156c RM |
110 | help |
111 | This driver supports an external powerdown trigger and board power | |
112 | down via the LTC2952. Bindings are made in the device tree. | |
113 | ||
e8fc721a AL |
114 | config POWER_RESET_QNAP |
115 | bool "QNAP power-off driver" | |
6ca4f460 | 116 | depends on OF_GPIO && PLAT_ORION |
e8fc721a AL |
117 | help |
118 | This driver supports turning off QNAP NAS devices by sending | |
119 | commands to the microcontroller which controls the main power. | |
120 | ||
121 | Say Y if you have a QNAP NAS. | |
ffd8f9a7 AL |
122 | |
123 | config POWER_RESET_RESTART | |
124 | bool "Restart power-off driver" | |
ffd8f9a7 AL |
125 | help |
126 | Some boards don't actually have the ability to power off. | |
127 | Instead they restart, and u-boot holds the SoC until the | |
128 | user presses a key. u-boot then boots into Linux. | |
2655f51d | 129 | |
f0745f36 | 130 | config POWER_RESET_ST |
7fa650bc | 131 | bool "ST restart driver" |
50fa8617 | 132 | depends on ARCH_STI |
f0745f36 | 133 | help |
7fa650bc | 134 | Reset support for STMicroelectronics boards. |
f0745f36 | 135 | |
0e545f57 LW |
136 | config POWER_RESET_VERSATILE |
137 | bool "ARM Versatile family reboot driver" | |
138 | depends on ARM | |
139 | depends on MFD_SYSCON | |
140 | depends on OF | |
141 | help | |
142 | Power off and restart support for ARM Versatile family of | |
143 | reference boards. | |
144 | ||
2655f51d | 145 | config POWER_RESET_VEXPRESS |
b52eafcd PM |
146 | bool "ARM Versatile Express power-off and reset driver" |
147 | depends on ARM || ARM64 | |
6ca4f460 | 148 | depends on VEXPRESS_CONFIG |
2655f51d CM |
149 | help |
150 | Power off and reset support for the ARM Ltd. Versatile | |
151 | Express boards. | |
67778e0e LH |
152 | |
153 | config POWER_RESET_XGENE | |
154 | bool "APM SoC X-Gene reset driver" | |
155 | depends on ARM64 | |
67778e0e LH |
156 | help |
157 | Reboot support for the APM SoC X-Gene Eval boards. | |
a3e01e80 IK |
158 | |
159 | config POWER_RESET_KEYSTONE | |
160 | bool "Keystone reset driver" | |
e771e0a1 KK |
161 | depends on ARCH_KEYSTONE || COMPILE_TEST |
162 | depends on HAS_IOMEM | |
a3e01e80 IK |
163 | select MFD_SYSCON |
164 | help | |
165 | Reboot support for the KEYSTONE SoCs. | |
166 | ||
09fb07bc FK |
167 | config POWER_RESET_SYSCON |
168 | bool "Generic SYSCON regmap reset driver" | |
50fa8617 | 169 | depends on OF |
4f4bfe6b | 170 | depends on HAS_IOMEM |
afaebbdb | 171 | select MFD_SYSCON |
09fb07bc FK |
172 | help |
173 | Reboot support for generic SYSCON mapped register reset. | |
50fa8617 | 174 | |
8a577608 MF |
175 | config POWER_RESET_SYSCON_POWEROFF |
176 | bool "Generic SYSCON regmap poweroff driver" | |
177 | depends on OF | |
4f4bfe6b | 178 | depends on HAS_IOMEM |
8a577608 MF |
179 | select MFD_SYSCON |
180 | help | |
181 | Poweroff support for generic SYSCON mapped register poweroff. | |
182 | ||
fa0f8d67 GU |
183 | config POWER_RESET_RMOBILE |
184 | tristate "Renesas R-Mobile reset driver" | |
185 | depends on ARCH_RMOBILE || COMPILE_TEST | |
039ab50b | 186 | depends on HAS_IOMEM |
fa0f8d67 GU |
187 | help |
188 | Reboot support for Renesas R-Mobile and SH-Mobile SoCs. | |
189 | ||
dd9f1486 JN |
190 | config POWER_RESET_ZX |
191 | tristate "ZTE SoCs reset driver" | |
192 | depends on ARCH_ZX || COMPILE_TEST | |
193 | depends on HAS_IOMEM | |
194 | help | |
195 | Reboot support for ZTE SoCs. | |
196 | ||
4fcd504e AY |
197 | config REBOOT_MODE |
198 | tristate | |
199 | ||
200 | config SYSCON_REBOOT_MODE | |
201 | tristate "Generic SYSCON regmap reboot mode driver" | |
202 | depends on OF | |
203 | select REBOOT_MODE | |
204 | select MFD_SYSCON | |
205 | help | |
206 | Say y here will enable reboot mode driver. This will | |
207 | get reboot mode arguments and store it in SYSCON mapped | |
208 | register, then the bootloader can read it to take different | |
209 | action according to the mode. | |
210 | ||
6ca4f460 | 211 | endif |
50fa8617 | 212 |