xref: /openbmc/linux/drivers/power/reset/Kconfig (revision 4a9b3737)
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
956fb8de5SLaxman Dewanganconfig POWER_RESET_AS3722
1056fb8de5SLaxman Dewangan	bool "ams AS3722 power-off driver"
1156fb8de5SLaxman Dewangan	depends on MFD_AS3722 && POWER_RESET
1256fb8de5SLaxman Dewangan	help
1356fb8de5SLaxman Dewangan	  This driver supports turning off board via a ams AS3722 power-off.
1456fb8de5SLaxman Dewangan
154a315e34SAnders Bergconfig POWER_RESET_AXXIA
164a315e34SAnders Berg	bool "LSI Axxia reset driver"
174a315e34SAnders Berg	depends on POWER_RESET && ARCH_AXXIA
184a315e34SAnders Berg	help
194a315e34SAnders Berg	  This driver supports restart for Axxia SoC.
204a315e34SAnders Berg
214a315e34SAnders Berg	  Say Y if you have an Axxia family SoC.
224a315e34SAnders Berg
2396ff0f5cSJamie Lentinconfig POWER_RESET_GPIO
2496ff0f5cSJamie Lentin	bool "GPIO power-off driver"
2596ff0f5cSJamie Lentin	depends on OF_GPIO && POWER_RESET
2696ff0f5cSJamie Lentin	help
2796ff0f5cSJamie Lentin	  This driver supports turning off your board via a GPIO line.
2896ff0f5cSJamie Lentin	  If your board needs a GPIO high/low to power down, say Y and
2996ff0f5cSJamie Lentin	  create a binding in your devicetree.
30e8fc721aSAndrew Lunn
314a9b3737SHaojian Zhuangconfig POWER_RESET_HISI
324a9b3737SHaojian Zhuang	bool "Hisilicon power-off driver"
334a9b3737SHaojian Zhuang	depends on POWER_RESET && ARCH_HISI
344a9b3737SHaojian Zhuang	help
354a9b3737SHaojian Zhuang	  Reboot support for Hisilicon boards.
364a9b3737SHaojian Zhuang
3778be3176SAbhimanyu Kapurconfig POWER_RESET_MSM
3878be3176SAbhimanyu Kapur	bool "Qualcomm MSM power-off driver"
39d118966cSKumar Gala	depends on POWER_RESET && ARCH_QCOM
4078be3176SAbhimanyu Kapur	help
4178be3176SAbhimanyu Kapur	  Power off and restart support for Qualcomm boards.
4278be3176SAbhimanyu Kapur
43e8fc721aSAndrew Lunnconfig POWER_RESET_QNAP
44e8fc721aSAndrew Lunn	bool "QNAP power-off driver"
45e8fc721aSAndrew Lunn	depends on OF_GPIO && POWER_RESET && PLAT_ORION
46e8fc721aSAndrew Lunn	help
47e8fc721aSAndrew Lunn	  This driver supports turning off QNAP NAS devices by sending
48e8fc721aSAndrew Lunn	  commands to the microcontroller which controls the main power.
49e8fc721aSAndrew Lunn
50e8fc721aSAndrew Lunn	  Say Y if you have a QNAP NAS.
51ffd8f9a7SAndrew Lunn
52ffd8f9a7SAndrew Lunnconfig POWER_RESET_RESTART
53ffd8f9a7SAndrew Lunn	bool "Restart power-off driver"
54ffd8f9a7SAndrew Lunn	depends on ARM
55ffd8f9a7SAndrew Lunn	help
56ffd8f9a7SAndrew Lunn	  Some boards don't actually have the ability to power off.
57ffd8f9a7SAndrew Lunn	  Instead they restart, and u-boot holds the SoC until the
58ffd8f9a7SAndrew Lunn	  user presses a key. u-boot then boots into Linux.
592655f51dSCatalin Marinas
601be7f552SMaxime Ripardconfig POWER_RESET_SUN6I
611be7f552SMaxime Ripard	bool "Allwinner A31 SoC reset driver"
621be7f552SMaxime Ripard	depends on ARCH_SUNXI
631be7f552SMaxime Ripard	depends on POWER_RESET
641be7f552SMaxime Ripard	help
651be7f552SMaxime Ripard	  Reboot support for the Allwinner A31 SoCs.
661be7f552SMaxime Ripard
672655f51dSCatalin Marinasconfig POWER_RESET_VEXPRESS
68b52eafcdSPawel Moll	bool "ARM Versatile Express power-off and reset driver"
69b52eafcdSPawel Moll	depends on ARM || ARM64
70a2c0206aSPawel Moll	depends on POWER_RESET && VEXPRESS_CONFIG
712655f51dSCatalin Marinas	help
722655f51dSCatalin Marinas	  Power off and reset support for the ARM Ltd. Versatile
732655f51dSCatalin Marinas	  Express boards.
7467778e0eSLoc Ho
7567778e0eSLoc Hoconfig POWER_RESET_XGENE
7667778e0eSLoc Ho	bool "APM SoC X-Gene reset driver"
7767778e0eSLoc Ho	depends on ARM64
7867778e0eSLoc Ho	depends on POWER_RESET
7967778e0eSLoc Ho	help
8067778e0eSLoc Ho	  Reboot support for the APM SoC X-Gene Eval boards.
81a3e01e80SIvan Khoronzhuk
82a3e01e80SIvan Khoronzhukconfig POWER_RESET_KEYSTONE
83a3e01e80SIvan Khoronzhuk	bool "Keystone reset driver"
84a3e01e80SIvan Khoronzhuk	depends on ARCH_KEYSTONE
85a3e01e80SIvan Khoronzhuk	select MFD_SYSCON
86a3e01e80SIvan Khoronzhuk	help
87a3e01e80SIvan Khoronzhuk	  Reboot support for the KEYSTONE SoCs.
88a3e01e80SIvan Khoronzhuk
89