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 |
| 18 | bool "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 |
| 26 | bool "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 | |
Anders Berg | 4a315e3 | 2014-05-23 11:08:38 +0200 | [diff] [blame] | 33 | config POWER_RESET_AXXIA |
| 34 | bool "LSI Axxia reset driver" |
Maxime Ripard | 6ca4f460 | 2014-07-01 16:58:40 +0200 | [diff] [blame] | 35 | depends on ARCH_AXXIA |
Anders Berg | 4a315e3 | 2014-05-23 11:08:38 +0200 | [diff] [blame] | 36 | help |
| 37 | This driver supports restart for Axxia SoC. |
| 38 | |
| 39 | Say Y if you have an Axxia family SoC. |
| 40 | |
Marc Carino | 030494e | 2014-07-22 16:48:03 -0700 | [diff] [blame] | 41 | config POWER_RESET_BRCMSTB |
| 42 | bool "Broadcom STB reset driver" if COMPILE_TEST |
| 43 | depends on POWER_RESET && ARM |
| 44 | default ARCH_BRCMSTB |
| 45 | help |
| 46 | This driver provides restart support for ARM-based Broadcom STB |
| 47 | boards. |
| 48 | |
| 49 | Say Y here if you have an ARM-based Broadcom STB board and you wish |
| 50 | to have restart support. |
| 51 | |
Jamie Lentin | 96ff0f5 | 2012-11-17 09:51:04 +0100 | [diff] [blame] | 52 | config POWER_RESET_GPIO |
| 53 | bool "GPIO power-off driver" |
Maxime Ripard | 6ca4f460 | 2014-07-01 16:58:40 +0200 | [diff] [blame] | 54 | depends on OF_GPIO |
Jamie Lentin | 96ff0f5 | 2012-11-17 09:51:04 +0100 | [diff] [blame] | 55 | help |
| 56 | This driver supports turning off your board via a GPIO line. |
| 57 | If your board needs a GPIO high/low to power down, say Y and |
| 58 | create a binding in your devicetree. |
Andrew Lunn | e8fc721 | 2012-12-28 13:25:09 +0100 | [diff] [blame] | 59 | |
Haojian Zhuang | 4a9b373 | 2014-05-13 17:11:28 +0800 | [diff] [blame] | 60 | config POWER_RESET_HISI |
| 61 | bool "Hisilicon power-off driver" |
| 62 | depends on POWER_RESET && ARCH_HISI |
| 63 | help |
| 64 | Reboot support for Hisilicon boards. |
| 65 | |
Abhimanyu Kapur | 78be317 | 2013-07-30 17:05:28 -0700 | [diff] [blame] | 66 | config POWER_RESET_MSM |
| 67 | bool "Qualcomm MSM power-off driver" |
Maxime Ripard | 6ca4f460 | 2014-07-01 16:58:40 +0200 | [diff] [blame] | 68 | depends on ARCH_QCOM |
Abhimanyu Kapur | 78be317 | 2013-07-30 17:05:28 -0700 | [diff] [blame] | 69 | help |
| 70 | Power off and restart support for Qualcomm boards. |
| 71 | |
Andrew Lunn | e8fc721 | 2012-12-28 13:25:09 +0100 | [diff] [blame] | 72 | config POWER_RESET_QNAP |
| 73 | bool "QNAP power-off driver" |
Maxime Ripard | 6ca4f460 | 2014-07-01 16:58:40 +0200 | [diff] [blame] | 74 | depends on OF_GPIO && PLAT_ORION |
Andrew Lunn | e8fc721 | 2012-12-28 13:25:09 +0100 | [diff] [blame] | 75 | help |
| 76 | This driver supports turning off QNAP NAS devices by sending |
| 77 | commands to the microcontroller which controls the main power. |
| 78 | |
| 79 | Say Y if you have a QNAP NAS. |
Andrew Lunn | ffd8f9a | 2012-12-28 13:25:11 +0100 | [diff] [blame] | 80 | |
| 81 | config POWER_RESET_RESTART |
| 82 | bool "Restart power-off driver" |
| 83 | depends on ARM |
| 84 | help |
| 85 | Some boards don't actually have the ability to power off. |
| 86 | Instead they restart, and u-boot holds the SoC until the |
| 87 | user presses a key. u-boot then boots into Linux. |
Catalin Marinas | 2655f51 | 2013-01-15 11:24:14 +0000 | [diff] [blame] | 88 | |
Maxime Ripard | 1be7f55 | 2014-05-06 21:44:20 -0500 | [diff] [blame] | 89 | config POWER_RESET_SUN6I |
| 90 | bool "Allwinner A31 SoC reset driver" |
| 91 | depends on ARCH_SUNXI |
Maxime Ripard | 1be7f55 | 2014-05-06 21:44:20 -0500 | [diff] [blame] | 92 | help |
| 93 | Reboot support for the Allwinner A31 SoCs. |
| 94 | |
Linus Walleij | 0e545f5 | 2014-05-22 10:20:38 +0200 | [diff] [blame^] | 95 | config POWER_RESET_VERSATILE |
| 96 | bool "ARM Versatile family reboot driver" |
| 97 | depends on ARM |
| 98 | depends on MFD_SYSCON |
| 99 | depends on OF |
| 100 | help |
| 101 | Power off and restart support for ARM Versatile family of |
| 102 | reference boards. |
| 103 | |
Catalin Marinas | 2655f51 | 2013-01-15 11:24:14 +0000 | [diff] [blame] | 104 | config POWER_RESET_VEXPRESS |
Pawel Moll | b52eafc | 2013-06-10 16:12:01 +0100 | [diff] [blame] | 105 | bool "ARM Versatile Express power-off and reset driver" |
| 106 | depends on ARM || ARM64 |
Maxime Ripard | 6ca4f460 | 2014-07-01 16:58:40 +0200 | [diff] [blame] | 107 | depends on VEXPRESS_CONFIG |
Catalin Marinas | 2655f51 | 2013-01-15 11:24:14 +0000 | [diff] [blame] | 108 | help |
| 109 | Power off and reset support for the ARM Ltd. Versatile |
| 110 | Express boards. |
Loc Ho | 67778e0e | 2013-07-02 14:38:58 -0600 | [diff] [blame] | 111 | |
| 112 | config POWER_RESET_XGENE |
| 113 | bool "APM SoC X-Gene reset driver" |
| 114 | depends on ARM64 |
Loc Ho | 67778e0e | 2013-07-02 14:38:58 -0600 | [diff] [blame] | 115 | help |
| 116 | Reboot support for the APM SoC X-Gene Eval boards. |
Ivan Khoronzhuk | a3e01e8 | 2014-05-23 16:32:39 -0400 | [diff] [blame] | 117 | |
| 118 | config POWER_RESET_KEYSTONE |
| 119 | bool "Keystone reset driver" |
| 120 | depends on ARCH_KEYSTONE |
| 121 | select MFD_SYSCON |
| 122 | help |
| 123 | Reboot support for the KEYSTONE SoCs. |
| 124 | |
Maxime Ripard | 6ca4f460 | 2014-07-01 16:58:40 +0200 | [diff] [blame] | 125 | endif |