xref: /openbmc/linux/drivers/power/reset/Kconfig (revision 3932b9ca)
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
9config POWER_RESET_AS3722
10	bool "ams AS3722 power-off driver"
11	depends on MFD_AS3722 && POWER_RESET
12	help
13	  This driver supports turning off board via a ams AS3722 power-off.
14
15config POWER_RESET_AXXIA
16	bool "LSI Axxia reset driver"
17	depends on POWER_RESET && ARCH_AXXIA
18	help
19	  This driver supports restart for Axxia SoC.
20
21	  Say Y if you have an Axxia family SoC.
22
23config POWER_RESET_BRCMSTB
24	bool "Broadcom STB reset driver" if COMPILE_TEST
25	depends on POWER_RESET && ARM
26	default ARCH_BRCMSTB
27	help
28	  This driver provides restart support for ARM-based Broadcom STB
29	  boards.
30
31	  Say Y here if you have an ARM-based Broadcom STB board and you wish
32	  to have restart support.
33
34config POWER_RESET_GPIO
35	bool "GPIO power-off driver"
36	depends on OF_GPIO && POWER_RESET
37	help
38	  This driver supports turning off your board via a GPIO line.
39	  If your board needs a GPIO high/low to power down, say Y and
40	  create a binding in your devicetree.
41
42config POWER_RESET_HISI
43	bool "Hisilicon power-off driver"
44	depends on POWER_RESET && ARCH_HISI
45	help
46	  Reboot support for Hisilicon boards.
47
48config POWER_RESET_MSM
49	bool "Qualcomm MSM power-off driver"
50	depends on POWER_RESET && ARCH_QCOM
51	help
52	  Power off and restart support for Qualcomm boards.
53
54config POWER_RESET_QNAP
55	bool "QNAP power-off driver"
56	depends on OF_GPIO && POWER_RESET && PLAT_ORION
57	help
58	  This driver supports turning off QNAP NAS devices by sending
59	  commands to the microcontroller which controls the main power.
60
61	  Say Y if you have a QNAP NAS.
62
63config POWER_RESET_RESTART
64	bool "Restart power-off driver"
65	depends on ARM
66	help
67	  Some boards don't actually have the ability to power off.
68	  Instead they restart, and u-boot holds the SoC until the
69	  user presses a key. u-boot then boots into Linux.
70
71config POWER_RESET_SUN6I
72	bool "Allwinner A31 SoC reset driver"
73	depends on ARCH_SUNXI
74	depends on POWER_RESET
75	help
76	  Reboot support for the Allwinner A31 SoCs.
77
78config POWER_RESET_VEXPRESS
79	bool "ARM Versatile Express power-off and reset driver"
80	depends on ARM || ARM64
81	depends on POWER_RESET && VEXPRESS_CONFIG
82	help
83	  Power off and reset support for the ARM Ltd. Versatile
84	  Express boards.
85
86config POWER_RESET_XGENE
87	bool "APM SoC X-Gene reset driver"
88	depends on ARM64
89	depends on POWER_RESET
90	help
91	  Reboot support for the APM SoC X-Gene Eval boards.
92
93config POWER_RESET_KEYSTONE
94	bool "Keystone reset driver"
95	depends on ARCH_KEYSTONE
96	select MFD_SYSCON
97	help
98	  Reboot support for the KEYSTONE SoCs.
99
100