xref: /openbmc/linux/drivers/power/reset/Kconfig (revision 4f5fd640)
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
42*4f5fd640SKevin Cernekee	bool "Broadcom STB reset driver"
43*4f5fd640SKevin Cernekee	depends on ARM || MIPS || COMPILE_TEST
44030494e7SMarc Carino	default ARCH_BRCMSTB
45030494e7SMarc Carino	help
46*4f5fd640SKevin Cernekee	  This driver provides restart support for Broadcom STB boards.
47030494e7SMarc Carino
48*4f5fd640SKevin Cernekee	  Say Y here if you have a Broadcom STB board and you wish
49030494e7SMarc Carino	  to have restart support.
50030494e7SMarc Carino
5196ff0f5cSJamie Lentinconfig POWER_RESET_GPIO
5296ff0f5cSJamie Lentin	bool "GPIO power-off driver"
536ca4f460SMaxime Ripard	depends on OF_GPIO
5496ff0f5cSJamie Lentin	help
5596ff0f5cSJamie Lentin	  This driver supports turning off your board via a GPIO line.
5696ff0f5cSJamie Lentin	  If your board needs a GPIO high/low to power down, say Y and
5796ff0f5cSJamie Lentin	  create a binding in your devicetree.
58e8fc721aSAndrew Lunn
59371bb20dSDavid Rileyconfig POWER_RESET_GPIO_RESTART
60371bb20dSDavid Riley	bool "GPIO restart driver"
6150fa8617SLinus Torvalds	depends on OF_GPIO
62371bb20dSDavid Riley	help
63371bb20dSDavid Riley	  This driver supports restarting your board via a GPIO line.
64371bb20dSDavid Riley	  If your board needs a GPIO high/low to restart, say Y and
65371bb20dSDavid Riley	  create a binding in your devicetree.
66371bb20dSDavid Riley
674a9b3737SHaojian Zhuangconfig POWER_RESET_HISI
684a9b3737SHaojian Zhuang	bool "Hisilicon power-off driver"
6950fa8617SLinus Torvalds	depends on ARCH_HISI
704a9b3737SHaojian Zhuang	help
714a9b3737SHaojian Zhuang	  Reboot support for Hisilicon boards.
724a9b3737SHaojian Zhuang
733db47dc0SRobin Gongconfig POWER_RESET_IMX
743db47dc0SRobin Gong	bool "IMX6 power-off driver"
753db47dc0SRobin Gong	depends on POWER_RESET && SOC_IMX6
763db47dc0SRobin Gong	help
773db47dc0SRobin Gong	  This driver support power off external PMIC by PMIC_ON_REQ on i.mx6
783db47dc0SRobin Gong	  boards.If you want to use other pin to control external power,please
793db47dc0SRobin Gong	  say N here or disable in dts to make sure pm_power_off never be
803db47dc0SRobin Gong	  overwrote wrongly by this driver.
813db47dc0SRobin Gong
8278be3176SAbhimanyu Kapurconfig POWER_RESET_MSM
8378be3176SAbhimanyu Kapur	bool "Qualcomm MSM power-off driver"
846ca4f460SMaxime Ripard	depends on ARCH_QCOM
8578be3176SAbhimanyu Kapur	help
8678be3176SAbhimanyu Kapur	  Power off and restart support for Qualcomm boards.
8778be3176SAbhimanyu Kapur
886647156cSRené Mollconfig POWER_RESET_LTC2952
896647156cSRené Moll	bool "LTC2952 PowerPath power-off driver"
9050fa8617SLinus Torvalds	depends on OF_GPIO
916647156cSRené Moll	help
926647156cSRené Moll	  This driver supports an external powerdown trigger and board power
936647156cSRené Moll	  down via the LTC2952. Bindings are made in the device tree.
946647156cSRené Moll
95e8fc721aSAndrew Lunnconfig POWER_RESET_QNAP
96e8fc721aSAndrew Lunn	bool "QNAP power-off driver"
976ca4f460SMaxime Ripard	depends on OF_GPIO && PLAT_ORION
98e8fc721aSAndrew Lunn	help
99e8fc721aSAndrew Lunn	  This driver supports turning off QNAP NAS devices by sending
100e8fc721aSAndrew Lunn	  commands to the microcontroller which controls the main power.
101e8fc721aSAndrew Lunn
102e8fc721aSAndrew Lunn	  Say Y if you have a QNAP NAS.
103ffd8f9a7SAndrew Lunn
104ffd8f9a7SAndrew Lunnconfig POWER_RESET_RESTART
105ffd8f9a7SAndrew Lunn	bool "Restart power-off driver"
106ffd8f9a7SAndrew Lunn	depends on ARM
107ffd8f9a7SAndrew Lunn	help
108ffd8f9a7SAndrew Lunn	  Some boards don't actually have the ability to power off.
109ffd8f9a7SAndrew Lunn	  Instead they restart, and u-boot holds the SoC until the
110ffd8f9a7SAndrew Lunn	  user presses a key. u-boot then boots into Linux.
1112655f51dSCatalin Marinas
1121be7f552SMaxime Ripardconfig POWER_RESET_SUN6I
1131be7f552SMaxime Ripard	bool "Allwinner A31 SoC reset driver"
1141be7f552SMaxime Ripard	depends on ARCH_SUNXI
1151be7f552SMaxime Ripard	help
1161be7f552SMaxime Ripard	  Reboot support for the Allwinner A31 SoCs.
1171be7f552SMaxime Ripard
118f0745f36SLee Jonesconfig POWER_RESET_ST
119f0745f36SLee Jones	bool "ST restart power-off driver"
12050fa8617SLinus Torvalds	depends on ARCH_STI
121f0745f36SLee Jones	help
122f0745f36SLee Jones	  Power off and reset support for STMicroelectronics boards.
123f0745f36SLee Jones
1240e545f57SLinus Walleijconfig POWER_RESET_VERSATILE
1250e545f57SLinus Walleij	bool "ARM Versatile family reboot driver"
1260e545f57SLinus Walleij	depends on ARM
1270e545f57SLinus Walleij	depends on MFD_SYSCON
1280e545f57SLinus Walleij	depends on OF
1290e545f57SLinus Walleij	help
1300e545f57SLinus Walleij	  Power off and restart support for ARM Versatile family of
1310e545f57SLinus Walleij	  reference boards.
1320e545f57SLinus Walleij
1332655f51dSCatalin Marinasconfig POWER_RESET_VEXPRESS
134b52eafcdSPawel Moll	bool "ARM Versatile Express power-off and reset driver"
135b52eafcdSPawel Moll	depends on ARM || ARM64
1366ca4f460SMaxime Ripard	depends on VEXPRESS_CONFIG
1372655f51dSCatalin Marinas	help
1382655f51dSCatalin Marinas	  Power off and reset support for the ARM Ltd. Versatile
1392655f51dSCatalin Marinas	  Express boards.
14067778e0eSLoc Ho
14167778e0eSLoc Hoconfig POWER_RESET_XGENE
14267778e0eSLoc Ho	bool "APM SoC X-Gene reset driver"
14367778e0eSLoc Ho	depends on ARM64
14467778e0eSLoc Ho	help
14567778e0eSLoc Ho	  Reboot support for the APM SoC X-Gene Eval boards.
146a3e01e80SIvan Khoronzhuk
147a3e01e80SIvan Khoronzhukconfig POWER_RESET_KEYSTONE
148a3e01e80SIvan Khoronzhuk	bool "Keystone reset driver"
149a3e01e80SIvan Khoronzhuk	depends on ARCH_KEYSTONE
150a3e01e80SIvan Khoronzhuk	select MFD_SYSCON
151a3e01e80SIvan Khoronzhuk	help
152a3e01e80SIvan Khoronzhuk	  Reboot support for the KEYSTONE SoCs.
153a3e01e80SIvan Khoronzhuk
15409fb07bcSFeng Kanconfig POWER_RESET_SYSCON
15509fb07bcSFeng Kan	bool "Generic SYSCON regmap reset driver"
15650fa8617SLinus Torvalds	depends on OF
157afaebbdbSFeng Kan	select MFD_SYSCON
15809fb07bcSFeng Kan	help
15909fb07bcSFeng Kan	  Reboot support for generic SYSCON mapped register reset.
16050fa8617SLinus Torvalds
161fa0f8d67SGeert Uytterhoevenconfig POWER_RESET_RMOBILE
162fa0f8d67SGeert Uytterhoeven	tristate "Renesas R-Mobile reset driver"
163fa0f8d67SGeert Uytterhoeven	depends on ARCH_RMOBILE || COMPILE_TEST
164fa0f8d67SGeert Uytterhoeven	help
165fa0f8d67SGeert Uytterhoeven	  Reboot support for Renesas R-Mobile and SH-Mobile SoCs.
166fa0f8d67SGeert Uytterhoeven
1676ca4f460SMaxime Ripardendif
16850fa8617SLinus Torvalds
169