xref: /openbmc/linux/drivers/power/reset/Kconfig (revision 0e545f57)
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
96ca4f460SMaxime Ripardif POWER_RESET
106ca4f460SMaxime Ripard
1156fb8de5SLaxman Dewanganconfig POWER_RESET_AS3722
1256fb8de5SLaxman Dewangan	bool "ams AS3722 power-off driver"
136ca4f460SMaxime Ripard	depends on MFD_AS3722
1456fb8de5SLaxman Dewangan	help
1556fb8de5SLaxman Dewangan	  This driver supports turning off board via a ams AS3722 power-off.
1656fb8de5SLaxman Dewangan
17ae499f0fSMaxime Ripardconfig POWER_RESET_AT91_POWEROFF
18ae499f0fSMaxime Ripard	bool "Atmel AT91 poweroff driver"
1994d450edSNicolas Ferre	depends on ARCH_AT91
20ae499f0fSMaxime Ripard	default SOC_AT91SAM9 || SOC_SAMA5
21ae499f0fSMaxime Ripard	help
22ae499f0fSMaxime Ripard	  This driver supports poweroff for Atmel AT91SAM9 and SAMA5
23ae499f0fSMaxime Ripard	  SoCs
24ae499f0fSMaxime Ripard
25ecfe64d8SMaxime Ripardconfig POWER_RESET_AT91_RESET
26ecfe64d8SMaxime Ripard	bool "Atmel AT91 reset driver"
2794d450edSNicolas Ferre	depends on ARCH_AT91
28ecfe64d8SMaxime Ripard	default SOC_AT91SAM9 || SOC_SAMA5
29ecfe64d8SMaxime Ripard	help
30ecfe64d8SMaxime Ripard	  This driver supports restart for Atmel AT91SAM9 and SAMA5
31ecfe64d8SMaxime Ripard	  SoCs
32ecfe64d8SMaxime Ripard
334a315e34SAnders Bergconfig POWER_RESET_AXXIA
344a315e34SAnders Berg	bool "LSI Axxia reset driver"
356ca4f460SMaxime Ripard	depends on ARCH_AXXIA
364a315e34SAnders Berg	help
374a315e34SAnders Berg	  This driver supports restart for Axxia SoC.
384a315e34SAnders Berg
394a315e34SAnders Berg	  Say Y if you have an Axxia family SoC.
404a315e34SAnders Berg
41030494e7SMarc Carinoconfig POWER_RESET_BRCMSTB
42030494e7SMarc Carino	bool "Broadcom STB reset driver" if COMPILE_TEST
43030494e7SMarc Carino	depends on POWER_RESET && ARM
44030494e7SMarc Carino	default ARCH_BRCMSTB
45030494e7SMarc Carino	help
46030494e7SMarc Carino	  This driver provides restart support for ARM-based Broadcom STB
47030494e7SMarc Carino	  boards.
48030494e7SMarc Carino
49030494e7SMarc Carino	  Say Y here if you have an ARM-based Broadcom STB board and you wish
50030494e7SMarc Carino	  to have restart support.
51030494e7SMarc Carino
5296ff0f5cSJamie Lentinconfig POWER_RESET_GPIO
5396ff0f5cSJamie Lentin	bool "GPIO power-off driver"
546ca4f460SMaxime Ripard	depends on OF_GPIO
5596ff0f5cSJamie Lentin	help
5696ff0f5cSJamie Lentin	  This driver supports turning off your board via a GPIO line.
5796ff0f5cSJamie Lentin	  If your board needs a GPIO high/low to power down, say Y and
5896ff0f5cSJamie Lentin	  create a binding in your devicetree.
59e8fc721aSAndrew Lunn
604a9b3737SHaojian Zhuangconfig POWER_RESET_HISI
614a9b3737SHaojian Zhuang	bool "Hisilicon power-off driver"
624a9b3737SHaojian Zhuang	depends on POWER_RESET && ARCH_HISI
634a9b3737SHaojian Zhuang	help
644a9b3737SHaojian Zhuang	  Reboot support for Hisilicon boards.
654a9b3737SHaojian Zhuang
6678be3176SAbhimanyu Kapurconfig POWER_RESET_MSM
6778be3176SAbhimanyu Kapur	bool "Qualcomm MSM power-off driver"
686ca4f460SMaxime Ripard	depends on ARCH_QCOM
6978be3176SAbhimanyu Kapur	help
7078be3176SAbhimanyu Kapur	  Power off and restart support for Qualcomm boards.
7178be3176SAbhimanyu Kapur
72e8fc721aSAndrew Lunnconfig POWER_RESET_QNAP
73e8fc721aSAndrew Lunn	bool "QNAP power-off driver"
746ca4f460SMaxime Ripard	depends on OF_GPIO && PLAT_ORION
75e8fc721aSAndrew Lunn	help
76e8fc721aSAndrew Lunn	  This driver supports turning off QNAP NAS devices by sending
77e8fc721aSAndrew Lunn	  commands to the microcontroller which controls the main power.
78e8fc721aSAndrew Lunn
79e8fc721aSAndrew Lunn	  Say Y if you have a QNAP NAS.
80ffd8f9a7SAndrew Lunn
81ffd8f9a7SAndrew Lunnconfig POWER_RESET_RESTART
82ffd8f9a7SAndrew Lunn	bool "Restart power-off driver"
83ffd8f9a7SAndrew Lunn	depends on ARM
84ffd8f9a7SAndrew Lunn	help
85ffd8f9a7SAndrew Lunn	  Some boards don't actually have the ability to power off.
86ffd8f9a7SAndrew Lunn	  Instead they restart, and u-boot holds the SoC until the
87ffd8f9a7SAndrew Lunn	  user presses a key. u-boot then boots into Linux.
882655f51dSCatalin Marinas
891be7f552SMaxime Ripardconfig POWER_RESET_SUN6I
901be7f552SMaxime Ripard	bool "Allwinner A31 SoC reset driver"
911be7f552SMaxime Ripard	depends on ARCH_SUNXI
921be7f552SMaxime Ripard	help
931be7f552SMaxime Ripard	  Reboot support for the Allwinner A31 SoCs.
941be7f552SMaxime Ripard
950e545f57SLinus Walleijconfig POWER_RESET_VERSATILE
960e545f57SLinus Walleij	bool "ARM Versatile family reboot driver"
970e545f57SLinus Walleij	depends on ARM
980e545f57SLinus Walleij	depends on MFD_SYSCON
990e545f57SLinus Walleij	depends on OF
1000e545f57SLinus Walleij	help
1010e545f57SLinus Walleij	  Power off and restart support for ARM Versatile family of
1020e545f57SLinus Walleij	  reference boards.
1030e545f57SLinus Walleij
1042655f51dSCatalin Marinasconfig POWER_RESET_VEXPRESS
105b52eafcdSPawel Moll	bool "ARM Versatile Express power-off and reset driver"
106b52eafcdSPawel Moll	depends on ARM || ARM64
1076ca4f460SMaxime Ripard	depends on VEXPRESS_CONFIG
1082655f51dSCatalin Marinas	help
1092655f51dSCatalin Marinas	  Power off and reset support for the ARM Ltd. Versatile
1102655f51dSCatalin Marinas	  Express boards.
11167778e0eSLoc Ho
11267778e0eSLoc Hoconfig POWER_RESET_XGENE
11367778e0eSLoc Ho	bool "APM SoC X-Gene reset driver"
11467778e0eSLoc Ho	depends on ARM64
11567778e0eSLoc Ho	help
11667778e0eSLoc Ho	  Reboot support for the APM SoC X-Gene Eval boards.
117a3e01e80SIvan Khoronzhuk
118a3e01e80SIvan Khoronzhukconfig POWER_RESET_KEYSTONE
119a3e01e80SIvan Khoronzhuk	bool "Keystone reset driver"
120a3e01e80SIvan Khoronzhuk	depends on ARCH_KEYSTONE
121a3e01e80SIvan Khoronzhuk	select MFD_SYSCON
122a3e01e80SIvan Khoronzhuk	help
123a3e01e80SIvan Khoronzhuk	  Reboot support for the KEYSTONE SoCs.
124a3e01e80SIvan Khoronzhuk
1256ca4f460SMaxime Ripardendif
126