Jamie Lentin | 96ff0f5 | 2012-11-17 09:51:04 +0100 | [diff] [blame] | 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 | |
Maxime Ripard | 6ca4f460 | 2014-07-01 16:58:40 +0200 | [diff] [blame] | 9 | if POWER_RESET |
| 10 | |
Laxman Dewangan | 56fb8de | 2013-12-20 18:54:00 +0530 | [diff] [blame] | 11 | config POWER_RESET_AS3722 |
| 12 | bool "ams AS3722 power-off driver" |
Maxime Ripard | 6ca4f460 | 2014-07-01 16:58:40 +0200 | [diff] [blame] | 13 | depends on MFD_AS3722 |
Laxman Dewangan | 56fb8de | 2013-12-20 18:54:00 +0530 | [diff] [blame] | 14 | help |
| 15 | This driver supports turning off board via a ams AS3722 power-off. |
| 16 | |
Maxime Ripard | ae499f0 | 2014-07-03 14:07:18 +0200 | [diff] [blame] | 17 | config POWER_RESET_AT91_POWEROFF |
Alexandre Belloni | 6dd1ad1 | 2015-08-11 11:12:49 +0200 | [diff] [blame] | 18 | tristate "Atmel AT91 poweroff driver" |
Nicolas Ferre | 94d450e | 2014-09-01 10:26:04 +0200 | [diff] [blame] | 19 | depends on ARCH_AT91 |
Maxime Ripard | ae499f0 | 2014-07-03 14:07:18 +0200 | [diff] [blame] | 20 | default SOC_AT91SAM9 || SOC_SAMA5 |
| 21 | help |
| 22 | This driver supports poweroff for Atmel AT91SAM9 and SAMA5 |
| 23 | SoCs |
| 24 | |
Maxime Ripard | ecfe64d | 2014-07-02 17:46:58 +0200 | [diff] [blame] | 25 | config POWER_RESET_AT91_RESET |
Alexandre Belloni | 6e64180 | 2015-08-11 11:12:47 +0200 | [diff] [blame] | 26 | tristate "Atmel AT91 reset driver" |
Nicolas Ferre | 94d450e | 2014-09-01 10:26:04 +0200 | [diff] [blame] | 27 | depends on ARCH_AT91 |
Maxime Ripard | ecfe64d | 2014-07-02 17:46:58 +0200 | [diff] [blame] | 28 | default SOC_AT91SAM9 || SOC_SAMA5 |
| 29 | help |
| 30 | This driver supports restart for Atmel AT91SAM9 and SAMA5 |
| 31 | SoCs |
| 32 | |
Nicolas Ferre | f80cb48 | 2016-03-16 14:19:50 +0100 | [diff] [blame] | 33 | config POWER_RESET_AT91_SAMA5D2_SHDWC |
| 34 | tristate "Atmel AT91 SAMA5D2-Compatible shutdown controller driver" |
Alexandre Belloni | 0b04087 | 2016-10-25 11:37:59 +0200 | [diff] [blame] | 35 | depends on ARCH_AT91 |
Nicolas Ferre | f80cb48 | 2016-03-16 14:19:50 +0100 | [diff] [blame] | 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 | |
Anders Berg | 4a315e3 | 2014-05-23 11:08:38 +0200 | [diff] [blame] | 41 | config POWER_RESET_AXXIA |
| 42 | bool "LSI Axxia reset driver" |
Maxime Ripard | 6ca4f460 | 2014-07-01 16:58:40 +0200 | [diff] [blame] | 43 | depends on ARCH_AXXIA |
Anders Berg | 4a315e3 | 2014-05-23 11:08:38 +0200 | [diff] [blame] | 44 | help |
| 45 | This driver supports restart for Axxia SoC. |
| 46 | |
| 47 | Say Y if you have an Axxia family SoC. |
| 48 | |
Chris Brand | 783cb94 | 2016-05-11 14:36:17 -0700 | [diff] [blame] | 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 | |
Marc Carino | 030494e | 2014-07-22 16:48:03 -0700 | [diff] [blame] | 59 | config POWER_RESET_BRCMSTB |
Kevin Cernekee | 4f5fd64 | 2014-11-25 16:49:46 -0800 | [diff] [blame] | 60 | bool "Broadcom STB reset driver" |
| 61 | depends on ARM || MIPS || COMPILE_TEST |
Florian Fainelli | 0a73125 | 2015-04-30 12:55:02 -0700 | [diff] [blame] | 62 | depends on MFD_SYSCON |
Marc Carino | 030494e | 2014-07-22 16:48:03 -0700 | [diff] [blame] | 63 | default ARCH_BRCMSTB |
| 64 | help |
Kevin Cernekee | 4f5fd64 | 2014-11-25 16:49:46 -0800 | [diff] [blame] | 65 | This driver provides restart support for Broadcom STB boards. |
Marc Carino | 030494e | 2014-07-22 16:48:03 -0700 | [diff] [blame] | 66 | |
Kevin Cernekee | 4f5fd64 | 2014-11-25 16:49:46 -0800 | [diff] [blame] | 67 | Say Y here if you have a Broadcom STB board and you wish |
Marc Carino | 030494e | 2014-07-22 16:48:03 -0700 | [diff] [blame] | 68 | to have restart support. |
| 69 | |
Linus Walleij | f7a388d | 2017-03-12 23:36:21 +0100 | [diff] [blame] | 70 | config POWER_RESET_GEMINI_POWEROFF |
| 71 | bool "Cortina Gemini power-off driver" |
| 72 | depends on ARCH_GEMINI || COMPILE_TEST |
| 73 | depends on OF && HAS_IOMEM |
| 74 | default ARCH_GEMINI |
| 75 | help |
| 76 | This driver supports turning off the Cortina Gemini SoC. |
| 77 | Select this if you're building a kernel with Gemini SoC support. |
| 78 | |
Jamie Lentin | 96ff0f5 | 2012-11-17 09:51:04 +0100 | [diff] [blame] | 79 | config POWER_RESET_GPIO |
| 80 | bool "GPIO power-off driver" |
Maxime Ripard | 6ca4f460 | 2014-07-01 16:58:40 +0200 | [diff] [blame] | 81 | depends on OF_GPIO |
Jamie Lentin | 96ff0f5 | 2012-11-17 09:51:04 +0100 | [diff] [blame] | 82 | help |
| 83 | This driver supports turning off your board via a GPIO line. |
| 84 | If your board needs a GPIO high/low to power down, say Y and |
| 85 | create a binding in your devicetree. |
Andrew Lunn | e8fc721 | 2012-12-28 13:25:09 +0100 | [diff] [blame] | 86 | |
David Riley | 371bb20 | 2014-08-27 12:23:51 -0700 | [diff] [blame] | 87 | config POWER_RESET_GPIO_RESTART |
| 88 | bool "GPIO restart driver" |
Linus Torvalds | 50fa861 | 2014-10-15 06:56:23 +0200 | [diff] [blame] | 89 | depends on OF_GPIO |
David Riley | 371bb20 | 2014-08-27 12:23:51 -0700 | [diff] [blame] | 90 | help |
| 91 | This driver supports restarting your board via a GPIO line. |
| 92 | If your board needs a GPIO high/low to restart, say Y and |
| 93 | create a binding in your devicetree. |
| 94 | |
Haojian Zhuang | 4a9b373 | 2014-05-13 17:11:28 +0800 | [diff] [blame] | 95 | config POWER_RESET_HISI |
| 96 | bool "Hisilicon power-off driver" |
Linus Torvalds | 50fa861 | 2014-10-15 06:56:23 +0200 | [diff] [blame] | 97 | depends on ARCH_HISI |
Haojian Zhuang | 4a9b373 | 2014-05-13 17:11:28 +0800 | [diff] [blame] | 98 | help |
| 99 | Reboot support for Hisilicon boards. |
| 100 | |
Robin Gong | 3db47dc | 2014-11-12 16:20:38 +0800 | [diff] [blame] | 101 | config POWER_RESET_IMX |
| 102 | bool "IMX6 power-off driver" |
| 103 | depends on POWER_RESET && SOC_IMX6 |
| 104 | help |
| 105 | This driver support power off external PMIC by PMIC_ON_REQ on i.mx6 |
| 106 | boards.If you want to use other pin to control external power,please |
| 107 | say N here or disable in dts to make sure pm_power_off never be |
| 108 | overwrote wrongly by this driver. |
| 109 | |
Abhimanyu Kapur | 78be317 | 2013-07-30 17:05:28 -0700 | [diff] [blame] | 110 | config POWER_RESET_MSM |
| 111 | bool "Qualcomm MSM power-off driver" |
Maxime Ripard | 6ca4f460 | 2014-07-01 16:58:40 +0200 | [diff] [blame] | 112 | depends on ARCH_QCOM |
Abhimanyu Kapur | 78be317 | 2013-07-30 17:05:28 -0700 | [diff] [blame] | 113 | help |
| 114 | Power off and restart support for Qualcomm boards. |
| 115 | |
Paul Burton | 2967683 | 2016-09-28 16:30:56 +0100 | [diff] [blame] | 116 | config POWER_RESET_PIIX4_POWEROFF |
| 117 | tristate "Intel PIIX4 power-off driver" |
| 118 | depends on PCI |
| 119 | depends on MIPS || COMPILE_TEST |
| 120 | help |
| 121 | This driver supports powering off a system using the Intel PIIX4 |
| 122 | southbridge, for example the MIPS Malta development board. The |
| 123 | southbridge SOff state is entered in response to a request to |
| 124 | power off the system. |
| 125 | |
René Moll | 6647156 | 2014-08-08 13:12:17 +0000 | [diff] [blame] | 126 | config POWER_RESET_LTC2952 |
| 127 | bool "LTC2952 PowerPath power-off driver" |
Linus Torvalds | 50fa861 | 2014-10-15 06:56:23 +0200 | [diff] [blame] | 128 | depends on OF_GPIO |
René Moll | 6647156 | 2014-08-08 13:12:17 +0000 | [diff] [blame] | 129 | help |
| 130 | This driver supports an external powerdown trigger and board power |
| 131 | down via the LTC2952. Bindings are made in the device tree. |
| 132 | |
Andrew Lunn | e8fc721 | 2012-12-28 13:25:09 +0100 | [diff] [blame] | 133 | config POWER_RESET_QNAP |
| 134 | bool "QNAP power-off driver" |
Maxime Ripard | 6ca4f460 | 2014-07-01 16:58:40 +0200 | [diff] [blame] | 135 | depends on OF_GPIO && PLAT_ORION |
Andrew Lunn | e8fc721 | 2012-12-28 13:25:09 +0100 | [diff] [blame] | 136 | help |
| 137 | This driver supports turning off QNAP NAS devices by sending |
| 138 | commands to the microcontroller which controls the main power. |
| 139 | |
| 140 | Say Y if you have a QNAP NAS. |
Andrew Lunn | ffd8f9a | 2012-12-28 13:25:11 +0100 | [diff] [blame] | 141 | |
| 142 | config POWER_RESET_RESTART |
| 143 | bool "Restart power-off driver" |
Andrew Lunn | ffd8f9a | 2012-12-28 13:25:11 +0100 | [diff] [blame] | 144 | help |
| 145 | Some boards don't actually have the ability to power off. |
| 146 | Instead they restart, and u-boot holds the SoC until the |
| 147 | user presses a key. u-boot then boots into Linux. |
Catalin Marinas | 2655f51 | 2013-01-15 11:24:14 +0000 | [diff] [blame] | 148 | |
Lee Jones | f0745f3 | 2014-07-22 15:52:28 +0100 | [diff] [blame] | 149 | config POWER_RESET_ST |
Guenter Roeck | 7fa650bc | 2015-01-25 12:30:44 -0800 | [diff] [blame] | 150 | bool "ST restart driver" |
Linus Torvalds | 50fa861 | 2014-10-15 06:56:23 +0200 | [diff] [blame] | 151 | depends on ARCH_STI |
Lee Jones | f0745f3 | 2014-07-22 15:52:28 +0100 | [diff] [blame] | 152 | help |
Guenter Roeck | 7fa650bc | 2015-01-25 12:30:44 -0800 | [diff] [blame] | 153 | Reset support for STMicroelectronics boards. |
Lee Jones | f0745f3 | 2014-07-22 15:52:28 +0100 | [diff] [blame] | 154 | |
Linus Walleij | 0e545f5 | 2014-05-22 10:20:38 +0200 | [diff] [blame] | 155 | config POWER_RESET_VERSATILE |
| 156 | bool "ARM Versatile family reboot driver" |
| 157 | depends on ARM |
| 158 | depends on MFD_SYSCON |
| 159 | depends on OF |
| 160 | help |
| 161 | Power off and restart support for ARM Versatile family of |
| 162 | reference boards. |
| 163 | |
Catalin Marinas | 2655f51 | 2013-01-15 11:24:14 +0000 | [diff] [blame] | 164 | config POWER_RESET_VEXPRESS |
Pawel Moll | b52eafc | 2013-06-10 16:12:01 +0100 | [diff] [blame] | 165 | bool "ARM Versatile Express power-off and reset driver" |
| 166 | depends on ARM || ARM64 |
Maxime Ripard | 6ca4f460 | 2014-07-01 16:58:40 +0200 | [diff] [blame] | 167 | depends on VEXPRESS_CONFIG |
Catalin Marinas | 2655f51 | 2013-01-15 11:24:14 +0000 | [diff] [blame] | 168 | help |
| 169 | Power off and reset support for the ARM Ltd. Versatile |
| 170 | Express boards. |
Loc Ho | 67778e0e | 2013-07-02 14:38:58 -0600 | [diff] [blame] | 171 | |
| 172 | config POWER_RESET_XGENE |
| 173 | bool "APM SoC X-Gene reset driver" |
| 174 | depends on ARM64 |
Loc Ho | 67778e0e | 2013-07-02 14:38:58 -0600 | [diff] [blame] | 175 | help |
| 176 | Reboot support for the APM SoC X-Gene Eval boards. |
Ivan Khoronzhuk | a3e01e8 | 2014-05-23 16:32:39 -0400 | [diff] [blame] | 177 | |
| 178 | config POWER_RESET_KEYSTONE |
| 179 | bool "Keystone reset driver" |
Krzysztof Kozlowski | e771e0a | 2016-03-30 09:49:48 +0900 | [diff] [blame] | 180 | depends on ARCH_KEYSTONE || COMPILE_TEST |
| 181 | depends on HAS_IOMEM |
Ivan Khoronzhuk | a3e01e8 | 2014-05-23 16:32:39 -0400 | [diff] [blame] | 182 | select MFD_SYSCON |
| 183 | help |
| 184 | Reboot support for the KEYSTONE SoCs. |
| 185 | |
Feng Kan | 09fb07b | 2014-09-30 16:25:03 -0700 | [diff] [blame] | 186 | config POWER_RESET_SYSCON |
| 187 | bool "Generic SYSCON regmap reset driver" |
Linus Torvalds | 50fa861 | 2014-10-15 06:56:23 +0200 | [diff] [blame] | 188 | depends on OF |
Richard Weinberger | 4f4bfe6 | 2016-01-25 23:24:00 +0100 | [diff] [blame] | 189 | depends on HAS_IOMEM |
Feng Kan | afaebbd | 2014-10-02 11:24:15 -0700 | [diff] [blame] | 190 | select MFD_SYSCON |
Feng Kan | 09fb07b | 2014-09-30 16:25:03 -0700 | [diff] [blame] | 191 | help |
| 192 | Reboot support for generic SYSCON mapped register reset. |
Linus Torvalds | 50fa861 | 2014-10-15 06:56:23 +0200 | [diff] [blame] | 193 | |
Moritz Fischer | 8a57760 | 2015-03-11 17:37:18 -0700 | [diff] [blame] | 194 | config POWER_RESET_SYSCON_POWEROFF |
| 195 | bool "Generic SYSCON regmap poweroff driver" |
| 196 | depends on OF |
Richard Weinberger | 4f4bfe6 | 2016-01-25 23:24:00 +0100 | [diff] [blame] | 197 | depends on HAS_IOMEM |
Moritz Fischer | 8a57760 | 2015-03-11 17:37:18 -0700 | [diff] [blame] | 198 | select MFD_SYSCON |
| 199 | help |
| 200 | Poweroff support for generic SYSCON mapped register poweroff. |
| 201 | |
Geert Uytterhoeven | fa0f8d6 | 2014-12-04 16:33:21 +0100 | [diff] [blame] | 202 | config POWER_RESET_RMOBILE |
| 203 | tristate "Renesas R-Mobile reset driver" |
| 204 | depends on ARCH_RMOBILE || COMPILE_TEST |
Richard Weinberger | 039ab50 | 2015-03-16 22:27:08 +0100 | [diff] [blame] | 205 | depends on HAS_IOMEM |
Geert Uytterhoeven | fa0f8d6 | 2014-12-04 16:33:21 +0100 | [diff] [blame] | 206 | help |
| 207 | Reboot support for Renesas R-Mobile and SH-Mobile SoCs. |
| 208 | |
Jun Nie | dd9f148 | 2015-07-15 11:25:58 +0800 | [diff] [blame] | 209 | config POWER_RESET_ZX |
| 210 | tristate "ZTE SoCs reset driver" |
| 211 | depends on ARCH_ZX || COMPILE_TEST |
| 212 | depends on HAS_IOMEM |
| 213 | help |
| 214 | Reboot support for ZTE SoCs. |
| 215 | |
Andy Yan | 4fcd504 | 2016-07-06 21:27:26 +0800 | [diff] [blame] | 216 | config REBOOT_MODE |
| 217 | tristate |
| 218 | |
| 219 | config SYSCON_REBOOT_MODE |
| 220 | tristate "Generic SYSCON regmap reboot mode driver" |
| 221 | depends on OF |
Andy Yan | 7a4947c | 2016-08-12 18:01:50 +0800 | [diff] [blame] | 222 | depends on MFD_SYSCON |
Andy Yan | 4fcd504 | 2016-07-06 21:27:26 +0800 | [diff] [blame] | 223 | select REBOOT_MODE |
Andy Yan | 4fcd504 | 2016-07-06 21:27:26 +0800 | [diff] [blame] | 224 | help |
| 225 | Say y here will enable reboot mode driver. This will |
| 226 | get reboot mode arguments and store it in SYSCON mapped |
| 227 | register, then the bootloader can read it to take different |
| 228 | action according to the mode. |
| 229 | |
Maxime Ripard | 6ca4f460 | 2014-07-01 16:58:40 +0200 | [diff] [blame] | 230 | endif |
Linus Torvalds | 50fa861 | 2014-10-15 06:56:23 +0200 | [diff] [blame] | 231 | |