power: Add APM X-Gene system reboot driver
[cascardo/linux.git] / drivers / power / reset / Kconfig
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
9 config POWER_RESET_GPIO
10         bool "GPIO power-off driver"
11         depends on OF_GPIO && POWER_RESET
12         help
13           This driver supports turning off your board via a GPIO line.
14           If your board needs a GPIO high/low to power down, say Y and
15           create a binding in your devicetree.
16
17 config POWER_RESET_MSM
18         bool "Qualcomm MSM power-off driver"
19         depends on POWER_RESET && ARCH_MSM
20         help
21           Power off and restart support for Qualcomm boards.
22
23 config POWER_RESET_QNAP
24         bool "QNAP power-off driver"
25         depends on OF_GPIO && POWER_RESET && PLAT_ORION
26         help
27           This driver supports turning off QNAP NAS devices by sending
28           commands to the microcontroller which controls the main power.
29
30           Say Y if you have a QNAP NAS.
31
32 config POWER_RESET_RESTART
33         bool "Restart power-off driver"
34         depends on ARM
35         help
36           Some boards don't actually have the ability to power off.
37           Instead they restart, and u-boot holds the SoC until the
38           user presses a key. u-boot then boots into Linux.
39
40 config POWER_RESET_VEXPRESS
41         bool "ARM Versatile Express power-off and reset driver"
42         depends on ARM || ARM64
43         depends on POWER_RESET
44         help
45           Power off and reset support for the ARM Ltd. Versatile
46           Express boards.
47
48 config POWER_RESET_XGENE
49         bool "APM SoC X-Gene reset driver"
50         depends on ARM64
51         depends on POWER_RESET
52         help
53           Reboot support for the APM SoC X-Gene Eval boards.