xref: /openbmc/linux/drivers/power/reset/Kconfig (revision afaebbdb)
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
23030494e7SMarc Carinoconfig POWER_RESET_BRCMSTB
24030494e7SMarc Carino	bool "Broadcom STB reset driver" if COMPILE_TEST
25030494e7SMarc Carino	depends on POWER_RESET && ARM
26030494e7SMarc Carino	default ARCH_BRCMSTB
27030494e7SMarc Carino	help
28030494e7SMarc Carino	  This driver provides restart support for ARM-based Broadcom STB
29030494e7SMarc Carino	  boards.
30030494e7SMarc Carino
31030494e7SMarc Carino	  Say Y here if you have an ARM-based Broadcom STB board and you wish
32030494e7SMarc Carino	  to have restart support.
33030494e7SMarc Carino
3496ff0f5cSJamie Lentinconfig POWER_RESET_GPIO
3596ff0f5cSJamie Lentin	bool "GPIO power-off driver"
3696ff0f5cSJamie Lentin	depends on OF_GPIO && POWER_RESET
3796ff0f5cSJamie Lentin	help
3896ff0f5cSJamie Lentin	  This driver supports turning off your board via a GPIO line.
3996ff0f5cSJamie Lentin	  If your board needs a GPIO high/low to power down, say Y and
4096ff0f5cSJamie Lentin	  create a binding in your devicetree.
41e8fc721aSAndrew Lunn
42371bb20dSDavid Rileyconfig POWER_RESET_GPIO_RESTART
43371bb20dSDavid Riley	bool "GPIO restart driver"
44371bb20dSDavid Riley	depends on OF_GPIO && POWER_RESET
45371bb20dSDavid Riley	help
46371bb20dSDavid Riley	  This driver supports restarting your board via a GPIO line.
47371bb20dSDavid Riley	  If your board needs a GPIO high/low to restart, say Y and
48371bb20dSDavid Riley	  create a binding in your devicetree.
49371bb20dSDavid Riley
504a9b3737SHaojian Zhuangconfig POWER_RESET_HISI
514a9b3737SHaojian Zhuang	bool "Hisilicon power-off driver"
524a9b3737SHaojian Zhuang	depends on POWER_RESET && ARCH_HISI
534a9b3737SHaojian Zhuang	help
544a9b3737SHaojian Zhuang	  Reboot support for Hisilicon boards.
554a9b3737SHaojian Zhuang
5678be3176SAbhimanyu Kapurconfig POWER_RESET_MSM
5778be3176SAbhimanyu Kapur	bool "Qualcomm MSM power-off driver"
58d118966cSKumar Gala	depends on POWER_RESET && ARCH_QCOM
5978be3176SAbhimanyu Kapur	help
6078be3176SAbhimanyu Kapur	  Power off and restart support for Qualcomm boards.
6178be3176SAbhimanyu Kapur
626647156cSRené Mollconfig POWER_RESET_LTC2952
636647156cSRené Moll	bool "LTC2952 PowerPath power-off driver"
646647156cSRené Moll	depends on OF_GPIO && POWER_RESET
656647156cSRené Moll	help
666647156cSRené Moll	  This driver supports an external powerdown trigger and board power
676647156cSRené Moll	  down via the LTC2952. Bindings are made in the device tree.
686647156cSRené Moll
69e8fc721aSAndrew Lunnconfig POWER_RESET_QNAP
70e8fc721aSAndrew Lunn	bool "QNAP power-off driver"
71e8fc721aSAndrew Lunn	depends on OF_GPIO && POWER_RESET && PLAT_ORION
72e8fc721aSAndrew Lunn	help
73e8fc721aSAndrew Lunn	  This driver supports turning off QNAP NAS devices by sending
74e8fc721aSAndrew Lunn	  commands to the microcontroller which controls the main power.
75e8fc721aSAndrew Lunn
76e8fc721aSAndrew Lunn	  Say Y if you have a QNAP NAS.
77ffd8f9a7SAndrew Lunn
78ffd8f9a7SAndrew Lunnconfig POWER_RESET_RESTART
79ffd8f9a7SAndrew Lunn	bool "Restart power-off driver"
80ffd8f9a7SAndrew Lunn	depends on ARM
81ffd8f9a7SAndrew Lunn	help
82ffd8f9a7SAndrew Lunn	  Some boards don't actually have the ability to power off.
83ffd8f9a7SAndrew Lunn	  Instead they restart, and u-boot holds the SoC until the
84ffd8f9a7SAndrew Lunn	  user presses a key. u-boot then boots into Linux.
852655f51dSCatalin Marinas
861be7f552SMaxime Ripardconfig POWER_RESET_SUN6I
871be7f552SMaxime Ripard	bool "Allwinner A31 SoC reset driver"
881be7f552SMaxime Ripard	depends on ARCH_SUNXI
891be7f552SMaxime Ripard	depends on POWER_RESET
901be7f552SMaxime Ripard	help
911be7f552SMaxime Ripard	  Reboot support for the Allwinner A31 SoCs.
921be7f552SMaxime Ripard
93f0745f36SLee Jonesconfig POWER_RESET_ST
94f0745f36SLee Jones	bool "ST restart power-off driver"
95f0745f36SLee Jones	depends on POWER_RESET && ARCH_STI
96f0745f36SLee Jones	help
97f0745f36SLee Jones	  Power off and reset support for STMicroelectronics boards.
98f0745f36SLee Jones
992655f51dSCatalin Marinasconfig POWER_RESET_VEXPRESS
100b52eafcdSPawel Moll	bool "ARM Versatile Express power-off and reset driver"
101b52eafcdSPawel Moll	depends on ARM || ARM64
102a2c0206aSPawel Moll	depends on POWER_RESET && VEXPRESS_CONFIG
1032655f51dSCatalin Marinas	help
1042655f51dSCatalin Marinas	  Power off and reset support for the ARM Ltd. Versatile
1052655f51dSCatalin Marinas	  Express boards.
10667778e0eSLoc Ho
10767778e0eSLoc Hoconfig POWER_RESET_XGENE
10867778e0eSLoc Ho	bool "APM SoC X-Gene reset driver"
10967778e0eSLoc Ho	depends on ARM64
11067778e0eSLoc Ho	depends on POWER_RESET
11167778e0eSLoc Ho	help
11267778e0eSLoc Ho	  Reboot support for the APM SoC X-Gene Eval boards.
113a3e01e80SIvan Khoronzhuk
114a3e01e80SIvan Khoronzhukconfig POWER_RESET_KEYSTONE
115a3e01e80SIvan Khoronzhuk	bool "Keystone reset driver"
116a3e01e80SIvan Khoronzhuk	depends on ARCH_KEYSTONE
117a3e01e80SIvan Khoronzhuk	select MFD_SYSCON
118a3e01e80SIvan Khoronzhuk	help
119a3e01e80SIvan Khoronzhuk	  Reboot support for the KEYSTONE SoCs.
120a3e01e80SIvan Khoronzhuk
12109fb07bcSFeng Kanconfig POWER_RESET_SYSCON
12209fb07bcSFeng Kan	bool "Generic SYSCON regmap reset driver"
123afaebbdbSFeng Kan	depends on POWER_RESET && OF
124afaebbdbSFeng Kan	select MFD_SYSCON
12509fb07bcSFeng Kan	help
12609fb07bcSFeng Kan	  Reboot support for generic SYSCON mapped register reset.
127