xref: /openbmc/linux/drivers/power/reset/Kconfig (revision ffd8f9a7)
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
996ff0f5cSJamie Lentinconfig POWER_RESET_GPIO
1096ff0f5cSJamie Lentin	bool "GPIO power-off driver"
1196ff0f5cSJamie Lentin	depends on OF_GPIO && POWER_RESET
1296ff0f5cSJamie Lentin	help
1396ff0f5cSJamie Lentin	  This driver supports turning off your board via a GPIO line.
1496ff0f5cSJamie Lentin	  If your board needs a GPIO high/low to power down, say Y and
1596ff0f5cSJamie Lentin	  create a binding in your devicetree.
16e8fc721aSAndrew Lunn
17e8fc721aSAndrew Lunnconfig POWER_RESET_QNAP
18e8fc721aSAndrew Lunn	bool "QNAP power-off driver"
19e8fc721aSAndrew Lunn	depends on OF_GPIO && POWER_RESET && PLAT_ORION
20e8fc721aSAndrew Lunn	help
21e8fc721aSAndrew Lunn	  This driver supports turning off QNAP NAS devices by sending
22e8fc721aSAndrew Lunn	  commands to the microcontroller which controls the main power.
23e8fc721aSAndrew Lunn
24e8fc721aSAndrew Lunn	  Say Y if you have a QNAP NAS.
25ffd8f9a7SAndrew Lunn
26ffd8f9a7SAndrew Lunnconfig POWER_RESET_RESTART
27ffd8f9a7SAndrew Lunn	bool "Restart power-off driver"
28ffd8f9a7SAndrew Lunn	depends on ARM
29ffd8f9a7SAndrew Lunn	help
30ffd8f9a7SAndrew Lunn	  Some boards don't actually have the ability to power off.
31ffd8f9a7SAndrew Lunn	  Instead they restart, and u-boot holds the SoC until the
32ffd8f9a7SAndrew Lunn	  user presses a key. u-boot then boots into Linux.
33