]> git.karo-electronics.de Git - karo-tx-linux.git/blob - drivers/power/reset/Kconfig
power: reset: Add if statement instead of multiple depends on
[karo-tx-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 if POWER_RESET
10
11 config POWER_RESET_AS3722
12         bool "ams AS3722 power-off driver"
13         depends on MFD_AS3722
14         help
15           This driver supports turning off board via a ams AS3722 power-off.
16
17 config POWER_RESET_AXXIA
18         bool "LSI Axxia reset driver"
19         depends on ARCH_AXXIA
20         help
21           This driver supports restart for Axxia SoC.
22
23           Say Y if you have an Axxia family SoC.
24
25 config POWER_RESET_GPIO
26         bool "GPIO power-off driver"
27         depends on OF_GPIO
28         help
29           This driver supports turning off your board via a GPIO line.
30           If your board needs a GPIO high/low to power down, say Y and
31           create a binding in your devicetree.
32
33 config POWER_RESET_MSM
34         bool "Qualcomm MSM power-off driver"
35         depends on ARCH_QCOM
36         help
37           Power off and restart support for Qualcomm boards.
38
39 config POWER_RESET_QNAP
40         bool "QNAP power-off driver"
41         depends on OF_GPIO && PLAT_ORION
42         help
43           This driver supports turning off QNAP NAS devices by sending
44           commands to the microcontroller which controls the main power.
45
46           Say Y if you have a QNAP NAS.
47
48 config POWER_RESET_RESTART
49         bool "Restart power-off driver"
50         depends on ARM
51         help
52           Some boards don't actually have the ability to power off.
53           Instead they restart, and u-boot holds the SoC until the
54           user presses a key. u-boot then boots into Linux.
55
56 config POWER_RESET_SUN6I
57         bool "Allwinner A31 SoC reset driver"
58         depends on ARCH_SUNXI
59         help
60           Reboot support for the Allwinner A31 SoCs.
61
62 config POWER_RESET_VEXPRESS
63         bool "ARM Versatile Express power-off and reset driver"
64         depends on ARM || ARM64
65         depends on VEXPRESS_CONFIG
66         help
67           Power off and reset support for the ARM Ltd. Versatile
68           Express boards.
69
70 config POWER_RESET_XGENE
71         bool "APM SoC X-Gene reset driver"
72         depends on ARM64
73         help
74           Reboot support for the APM SoC X-Gene Eval boards.
75
76 config POWER_RESET_KEYSTONE
77         bool "Keystone reset driver"
78         depends on ARCH_KEYSTONE
79         select MFD_SYSCON
80         help
81           Reboot support for the KEYSTONE SoCs.
82
83 endif