Linux 4.7-rc1
[linux-block.git] / drivers / power / reset / Kconfig
CommitLineData
96ff0f5c
JL
1menuconfig 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
9if POWER_RESET
10
56fb8de5
LD
11config 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 17config 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 25config 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
33config 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
41config 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
030494e7 49config POWER_RESET_BRCMSTB
4f5fd640
KC
50 bool "Broadcom STB reset driver"
51 depends on ARM || MIPS || COMPILE_TEST
0a73125d 52 depends on MFD_SYSCON
030494e7
MC
53 default ARCH_BRCMSTB
54 help
4f5fd640 55 This driver provides restart support for Broadcom STB boards.
030494e7 56
4f5fd640 57 Say Y here if you have a Broadcom STB board and you wish
030494e7
MC
58 to have restart support.
59
96ff0f5c
JL
60config POWER_RESET_GPIO
61 bool "GPIO power-off driver"
6ca4f460 62 depends on OF_GPIO
96ff0f5c
JL
63 help
64 This driver supports turning off your board via a GPIO line.
65 If your board needs a GPIO high/low to power down, say Y and
66 create a binding in your devicetree.
e8fc721a 67
371bb20d
DR
68config POWER_RESET_GPIO_RESTART
69 bool "GPIO restart driver"
50fa8617 70 depends on OF_GPIO
371bb20d
DR
71 help
72 This driver supports restarting your board via a GPIO line.
73 If your board needs a GPIO high/low to restart, say Y and
74 create a binding in your devicetree.
75
4a9b3737
HZ
76config POWER_RESET_HISI
77 bool "Hisilicon power-off driver"
50fa8617 78 depends on ARCH_HISI
4a9b3737
HZ
79 help
80 Reboot support for Hisilicon boards.
81
3db47dc0
RG
82config POWER_RESET_IMX
83 bool "IMX6 power-off driver"
84 depends on POWER_RESET && SOC_IMX6
85 help
86 This driver support power off external PMIC by PMIC_ON_REQ on i.mx6
87 boards.If you want to use other pin to control external power,please
88 say N here or disable in dts to make sure pm_power_off never be
89 overwrote wrongly by this driver.
90
78be3176
AK
91config POWER_RESET_MSM
92 bool "Qualcomm MSM power-off driver"
6ca4f460 93 depends on ARCH_QCOM
78be3176
AK
94 help
95 Power off and restart support for Qualcomm boards.
96
6647156c
RM
97config POWER_RESET_LTC2952
98 bool "LTC2952 PowerPath power-off driver"
50fa8617 99 depends on OF_GPIO
6647156c
RM
100 help
101 This driver supports an external powerdown trigger and board power
102 down via the LTC2952. Bindings are made in the device tree.
103
e8fc721a
AL
104config POWER_RESET_QNAP
105 bool "QNAP power-off driver"
6ca4f460 106 depends on OF_GPIO && PLAT_ORION
e8fc721a
AL
107 help
108 This driver supports turning off QNAP NAS devices by sending
109 commands to the microcontroller which controls the main power.
110
111 Say Y if you have a QNAP NAS.
ffd8f9a7
AL
112
113config POWER_RESET_RESTART
114 bool "Restart power-off driver"
ffd8f9a7
AL
115 help
116 Some boards don't actually have the ability to power off.
117 Instead they restart, and u-boot holds the SoC until the
118 user presses a key. u-boot then boots into Linux.
2655f51d 119
f0745f36 120config POWER_RESET_ST
7fa650bc 121 bool "ST restart driver"
50fa8617 122 depends on ARCH_STI
f0745f36 123 help
7fa650bc 124 Reset support for STMicroelectronics boards.
f0745f36 125
0e545f57
LW
126config POWER_RESET_VERSATILE
127 bool "ARM Versatile family reboot driver"
128 depends on ARM
129 depends on MFD_SYSCON
130 depends on OF
131 help
132 Power off and restart support for ARM Versatile family of
133 reference boards.
134
2655f51d 135config POWER_RESET_VEXPRESS
b52eafcd
PM
136 bool "ARM Versatile Express power-off and reset driver"
137 depends on ARM || ARM64
6ca4f460 138 depends on VEXPRESS_CONFIG
2655f51d
CM
139 help
140 Power off and reset support for the ARM Ltd. Versatile
141 Express boards.
67778e0e
LH
142
143config POWER_RESET_XGENE
144 bool "APM SoC X-Gene reset driver"
145 depends on ARM64
67778e0e
LH
146 help
147 Reboot support for the APM SoC X-Gene Eval boards.
a3e01e80
IK
148
149config POWER_RESET_KEYSTONE
150 bool "Keystone reset driver"
151 depends on ARCH_KEYSTONE
152 select MFD_SYSCON
153 help
154 Reboot support for the KEYSTONE SoCs.
155
09fb07bc
FK
156config POWER_RESET_SYSCON
157 bool "Generic SYSCON regmap reset driver"
50fa8617 158 depends on OF
4f4bfe6b 159 depends on HAS_IOMEM
afaebbdb 160 select MFD_SYSCON
09fb07bc
FK
161 help
162 Reboot support for generic SYSCON mapped register reset.
50fa8617 163
8a577608
MF
164config POWER_RESET_SYSCON_POWEROFF
165 bool "Generic SYSCON regmap poweroff driver"
166 depends on OF
4f4bfe6b 167 depends on HAS_IOMEM
8a577608
MF
168 select MFD_SYSCON
169 help
170 Poweroff support for generic SYSCON mapped register poweroff.
171
fa0f8d67
GU
172config POWER_RESET_RMOBILE
173 tristate "Renesas R-Mobile reset driver"
174 depends on ARCH_RMOBILE || COMPILE_TEST
039ab50b 175 depends on HAS_IOMEM
fa0f8d67
GU
176 help
177 Reboot support for Renesas R-Mobile and SH-Mobile SoCs.
178
dd9f1486
JN
179config POWER_RESET_ZX
180 tristate "ZTE SoCs reset driver"
181 depends on ARCH_ZX || COMPILE_TEST
182 depends on HAS_IOMEM
183 help
184 Reboot support for ZTE SoCs.
185
6ca4f460 186endif
50fa8617 187