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
9if POWER_RESET
10
11config 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
17config POWER_RESET_AT91_POWEROFF
18	tristate "Atmel AT91 poweroff driver"
19	depends on ARCH_AT91
20	default SOC_AT91SAM9 || SOC_SAMA5
21	help
22	  This driver supports poweroff for Atmel AT91SAM9 and SAMA5
23	  SoCs
24
25config POWER_RESET_AT91_RESET
26	tristate "Atmel AT91 reset driver"
27	depends on ARCH_AT91
28	default SOC_AT91SAM9 || SOC_SAMA5
29	help
30	  This driver supports restart for Atmel AT91SAM9 and SAMA5
31	  SoCs
32
33config POWER_RESET_AXXIA
34	bool "LSI Axxia reset driver"
35	depends on ARCH_AXXIA
36	help
37	  This driver supports restart for Axxia SoC.
38
39	  Say Y if you have an Axxia family SoC.
40
41config POWER_RESET_BRCMSTB
42	bool "Broadcom STB reset driver"
43	depends on ARM || MIPS || COMPILE_TEST
44	depends on MFD_SYSCON
45	default ARCH_BRCMSTB
46	help
47	  This driver provides restart support for Broadcom STB boards.
48
49	  Say Y here if you have a Broadcom STB board and you wish
50	  to have restart support.
51
52config POWER_RESET_GPIO
53	bool "GPIO power-off driver"
54	depends on OF_GPIO
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.
59
60config POWER_RESET_GPIO_RESTART
61	bool "GPIO restart driver"
62	depends on OF_GPIO
63	help
64	  This driver supports restarting your board via a GPIO line.
65	  If your board needs a GPIO high/low to restart, say Y and
66	  create a binding in your devicetree.
67
68config POWER_RESET_HISI
69	bool "Hisilicon power-off driver"
70	depends on ARCH_HISI
71	help
72	  Reboot support for Hisilicon boards.
73
74config POWER_RESET_IMX
75	bool "IMX6 power-off driver"
76	depends on POWER_RESET && SOC_IMX6
77	help
78	  This driver support power off external PMIC by PMIC_ON_REQ on i.mx6
79	  boards.If you want to use other pin to control external power,please
80	  say N here or disable in dts to make sure pm_power_off never be
81	  overwrote wrongly by this driver.
82
83config POWER_RESET_MSM
84	bool "Qualcomm MSM power-off driver"
85	depends on ARCH_QCOM
86	help
87	  Power off and restart support for Qualcomm boards.
88
89config POWER_RESET_LTC2952
90	bool "LTC2952 PowerPath power-off driver"
91	depends on OF_GPIO
92	help
93	  This driver supports an external powerdown trigger and board power
94	  down via the LTC2952. Bindings are made in the device tree.
95
96config POWER_RESET_QNAP
97	bool "QNAP power-off driver"
98	depends on OF_GPIO && PLAT_ORION
99	help
100	  This driver supports turning off QNAP NAS devices by sending
101	  commands to the microcontroller which controls the main power.
102
103	  Say Y if you have a QNAP NAS.
104
105config POWER_RESET_RESTART
106	bool "Restart power-off driver"
107	help
108	  Some boards don't actually have the ability to power off.
109	  Instead they restart, and u-boot holds the SoC until the
110	  user presses a key. u-boot then boots into Linux.
111
112config POWER_RESET_ST
113	bool "ST restart driver"
114	depends on ARCH_STI
115	help
116	  Reset support for STMicroelectronics boards.
117
118config POWER_RESET_VERSATILE
119	bool "ARM Versatile family reboot driver"
120	depends on ARM
121	depends on MFD_SYSCON
122	depends on OF
123	help
124	  Power off and restart support for ARM Versatile family of
125	  reference boards.
126
127config POWER_RESET_VEXPRESS
128	bool "ARM Versatile Express power-off and reset driver"
129	depends on ARM || ARM64
130	depends on VEXPRESS_CONFIG
131	help
132	  Power off and reset support for the ARM Ltd. Versatile
133	  Express boards.
134
135config POWER_RESET_XGENE
136	bool "APM SoC X-Gene reset driver"
137	depends on ARM64
138	help
139	  Reboot support for the APM SoC X-Gene Eval boards.
140
141config POWER_RESET_KEYSTONE
142	bool "Keystone reset driver"
143	depends on ARCH_KEYSTONE
144	select MFD_SYSCON
145	help
146	  Reboot support for the KEYSTONE SoCs.
147
148config POWER_RESET_SYSCON
149	bool "Generic SYSCON regmap reset driver"
150	depends on OF
151	select MFD_SYSCON
152	help
153	  Reboot support for generic SYSCON mapped register reset.
154
155config POWER_RESET_SYSCON_POWEROFF
156	bool "Generic SYSCON regmap poweroff driver"
157	depends on OF
158	select MFD_SYSCON
159	help
160	  Poweroff support for generic SYSCON mapped register poweroff.
161
162config POWER_RESET_RMOBILE
163	tristate "Renesas R-Mobile reset driver"
164	depends on ARCH_RMOBILE || COMPILE_TEST
165	depends on HAS_IOMEM
166	help
167	  Reboot support for Renesas R-Mobile and SH-Mobile SoCs.
168
169config POWER_RESET_ZX
170	tristate "ZTE SoCs reset driver"
171	depends on ARCH_ZX || COMPILE_TEST
172	depends on HAS_IOMEM
173	help
174	  Reboot support for ZTE SoCs.
175
176endif
177
178