xref: /openbmc/linux/drivers/power/reset/Kconfig (revision 5e29a910)
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	bool "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	bool "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	default ARCH_BRCMSTB
45	help
46	  This driver provides restart support for Broadcom STB boards.
47
48	  Say Y here if you have a Broadcom STB board and you wish
49	  to have restart support.
50
51config POWER_RESET_GPIO
52	bool "GPIO power-off driver"
53	depends on OF_GPIO
54	help
55	  This driver supports turning off your board via a GPIO line.
56	  If your board needs a GPIO high/low to power down, say Y and
57	  create a binding in your devicetree.
58
59config POWER_RESET_GPIO_RESTART
60	bool "GPIO restart driver"
61	depends on OF_GPIO
62	help
63	  This driver supports restarting your board via a GPIO line.
64	  If your board needs a GPIO high/low to restart, say Y and
65	  create a binding in your devicetree.
66
67config POWER_RESET_HISI
68	bool "Hisilicon power-off driver"
69	depends on ARCH_HISI
70	help
71	  Reboot support for Hisilicon boards.
72
73config POWER_RESET_IMX
74	bool "IMX6 power-off driver"
75	depends on POWER_RESET && SOC_IMX6
76	help
77	  This driver support power off external PMIC by PMIC_ON_REQ on i.mx6
78	  boards.If you want to use other pin to control external power,please
79	  say N here or disable in dts to make sure pm_power_off never be
80	  overwrote wrongly by this driver.
81
82config POWER_RESET_MSM
83	bool "Qualcomm MSM power-off driver"
84	depends on ARCH_QCOM
85	help
86	  Power off and restart support for Qualcomm boards.
87
88config POWER_RESET_LTC2952
89	bool "LTC2952 PowerPath power-off driver"
90	depends on OF_GPIO
91	help
92	  This driver supports an external powerdown trigger and board power
93	  down via the LTC2952. Bindings are made in the device tree.
94
95config POWER_RESET_QNAP
96	bool "QNAP power-off driver"
97	depends on OF_GPIO && PLAT_ORION
98	help
99	  This driver supports turning off QNAP NAS devices by sending
100	  commands to the microcontroller which controls the main power.
101
102	  Say Y if you have a QNAP NAS.
103
104config POWER_RESET_RESTART
105	bool "Restart power-off driver"
106	help
107	  Some boards don't actually have the ability to power off.
108	  Instead they restart, and u-boot holds the SoC until the
109	  user presses a key. u-boot then boots into Linux.
110
111config POWER_RESET_ST
112	bool "ST restart driver"
113	depends on ARCH_STI
114	help
115	  Reset support for STMicroelectronics boards.
116
117config POWER_RESET_VERSATILE
118	bool "ARM Versatile family reboot driver"
119	depends on ARM
120	depends on MFD_SYSCON
121	depends on OF
122	help
123	  Power off and restart support for ARM Versatile family of
124	  reference boards.
125
126config POWER_RESET_VEXPRESS
127	bool "ARM Versatile Express power-off and reset driver"
128	depends on ARM || ARM64
129	depends on VEXPRESS_CONFIG
130	help
131	  Power off and reset support for the ARM Ltd. Versatile
132	  Express boards.
133
134config POWER_RESET_XGENE
135	bool "APM SoC X-Gene reset driver"
136	depends on ARM64
137	help
138	  Reboot support for the APM SoC X-Gene Eval boards.
139
140config POWER_RESET_KEYSTONE
141	bool "Keystone reset driver"
142	depends on ARCH_KEYSTONE
143	select MFD_SYSCON
144	help
145	  Reboot support for the KEYSTONE SoCs.
146
147config POWER_RESET_SYSCON
148	bool "Generic SYSCON regmap reset driver"
149	depends on OF
150	select MFD_SYSCON
151	help
152	  Reboot support for generic SYSCON mapped register reset.
153
154config POWER_RESET_RMOBILE
155	tristate "Renesas R-Mobile reset driver"
156	depends on ARCH_RMOBILE || COMPILE_TEST
157	help
158	  Reboot support for Renesas R-Mobile and SH-Mobile SoCs.
159
160endif
161
162