xref: /openbmc/linux/drivers/power/reset/Kconfig (revision 6ca4f460)
196ff0f5cSJamie Lentinmenuconfig POWER_RESET
296ff0f5cSJamie Lentin	bool "Board level reset or power off"
396ff0f5cSJamie Lentin	help
496ff0f5cSJamie Lentin	  Provides a number of drivers which either reset a complete board
596ff0f5cSJamie Lentin	  or shut it down, by manipulating the main power supply on the board.
696ff0f5cSJamie Lentin
796ff0f5cSJamie Lentin	  Say Y here to enable board reset and power off
896ff0f5cSJamie Lentin
9*6ca4f460SMaxime Ripardif POWER_RESET
10*6ca4f460SMaxime Ripard
1156fb8de5SLaxman Dewanganconfig POWER_RESET_AS3722
1256fb8de5SLaxman Dewangan	bool "ams AS3722 power-off driver"
13*6ca4f460SMaxime Ripard	depends on MFD_AS3722
1456fb8de5SLaxman Dewangan	help
1556fb8de5SLaxman Dewangan	  This driver supports turning off board via a ams AS3722 power-off.
1656fb8de5SLaxman Dewangan
174a315e34SAnders Bergconfig POWER_RESET_AXXIA
184a315e34SAnders Berg	bool "LSI Axxia reset driver"
19*6ca4f460SMaxime Ripard	depends on ARCH_AXXIA
204a315e34SAnders Berg	help
214a315e34SAnders Berg	  This driver supports restart for Axxia SoC.
224a315e34SAnders Berg
234a315e34SAnders Berg	  Say Y if you have an Axxia family SoC.
244a315e34SAnders Berg
2596ff0f5cSJamie Lentinconfig POWER_RESET_GPIO
2696ff0f5cSJamie Lentin	bool "GPIO power-off driver"
27*6ca4f460SMaxime Ripard	depends on OF_GPIO
2896ff0f5cSJamie Lentin	help
2996ff0f5cSJamie Lentin	  This driver supports turning off your board via a GPIO line.
3096ff0f5cSJamie Lentin	  If your board needs a GPIO high/low to power down, say Y and
3196ff0f5cSJamie Lentin	  create a binding in your devicetree.
32e8fc721aSAndrew Lunn
3378be3176SAbhimanyu Kapurconfig POWER_RESET_MSM
3478be3176SAbhimanyu Kapur	bool "Qualcomm MSM power-off driver"
35*6ca4f460SMaxime Ripard	depends on ARCH_QCOM
3678be3176SAbhimanyu Kapur	help
3778be3176SAbhimanyu Kapur	  Power off and restart support for Qualcomm boards.
3878be3176SAbhimanyu Kapur
39e8fc721aSAndrew Lunnconfig POWER_RESET_QNAP
40e8fc721aSAndrew Lunn	bool "QNAP power-off driver"
41*6ca4f460SMaxime Ripard	depends on OF_GPIO && PLAT_ORION
42e8fc721aSAndrew Lunn	help
43e8fc721aSAndrew Lunn	  This driver supports turning off QNAP NAS devices by sending
44e8fc721aSAndrew Lunn	  commands to the microcontroller which controls the main power.
45e8fc721aSAndrew Lunn
46e8fc721aSAndrew Lunn	  Say Y if you have a QNAP NAS.
47ffd8f9a7SAndrew Lunn
48ffd8f9a7SAndrew Lunnconfig POWER_RESET_RESTART
49ffd8f9a7SAndrew Lunn	bool "Restart power-off driver"
50ffd8f9a7SAndrew Lunn	depends on ARM
51ffd8f9a7SAndrew Lunn	help
52ffd8f9a7SAndrew Lunn	  Some boards don't actually have the ability to power off.
53ffd8f9a7SAndrew Lunn	  Instead they restart, and u-boot holds the SoC until the
54ffd8f9a7SAndrew Lunn	  user presses a key. u-boot then boots into Linux.
552655f51dSCatalin Marinas
561be7f552SMaxime Ripardconfig POWER_RESET_SUN6I
571be7f552SMaxime Ripard	bool "Allwinner A31 SoC reset driver"
581be7f552SMaxime Ripard	depends on ARCH_SUNXI
591be7f552SMaxime Ripard	help
601be7f552SMaxime Ripard	  Reboot support for the Allwinner A31 SoCs.
611be7f552SMaxime Ripard
622655f51dSCatalin Marinasconfig POWER_RESET_VEXPRESS
63b52eafcdSPawel Moll	bool "ARM Versatile Express power-off and reset driver"
64b52eafcdSPawel Moll	depends on ARM || ARM64
65*6ca4f460SMaxime Ripard	depends on VEXPRESS_CONFIG
662655f51dSCatalin Marinas	help
672655f51dSCatalin Marinas	  Power off and reset support for the ARM Ltd. Versatile
682655f51dSCatalin Marinas	  Express boards.
6967778e0eSLoc Ho
7067778e0eSLoc Hoconfig POWER_RESET_XGENE
7167778e0eSLoc Ho	bool "APM SoC X-Gene reset driver"
7267778e0eSLoc Ho	depends on ARM64
7367778e0eSLoc Ho	help
7467778e0eSLoc Ho	  Reboot support for the APM SoC X-Gene Eval boards.
75a3e01e80SIvan Khoronzhuk
76a3e01e80SIvan Khoronzhukconfig POWER_RESET_KEYSTONE
77a3e01e80SIvan Khoronzhuk	bool "Keystone reset driver"
78a3e01e80SIvan Khoronzhuk	depends on ARCH_KEYSTONE
79a3e01e80SIvan Khoronzhuk	select MFD_SYSCON
80a3e01e80SIvan Khoronzhuk	help
81a3e01e80SIvan Khoronzhuk	  Reboot support for the KEYSTONE SoCs.
82a3e01e80SIvan Khoronzhuk
83*6ca4f460SMaxime Ripardendif
84