xref: /openbmc/linux/drivers/power/reset/Kconfig (revision e771e0a1)
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
186dd1ad1fSAlexandre Belloni	tristate "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
266e64180aSAlexandre Belloni	tristate "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
33f80cb488SNicolas Ferreconfig POWER_RESET_AT91_SAMA5D2_SHDWC
34f80cb488SNicolas Ferre	tristate "Atmel AT91 SAMA5D2-Compatible shutdown controller driver"
35f80cb488SNicolas Ferre	depends on ARCH_AT91 || COMPILE_TEST
36f80cb488SNicolas Ferre	default SOC_SAMA5
37f80cb488SNicolas Ferre	help
38f80cb488SNicolas Ferre	  This driver supports the alternate shutdown controller for some Atmel
39f80cb488SNicolas Ferre	  SAMA5 SoCs. It is present for example on SAMA5D2 SoC.
40f80cb488SNicolas Ferre
414a315e34SAnders Bergconfig POWER_RESET_AXXIA
424a315e34SAnders Berg	bool "LSI Axxia reset driver"
436ca4f460SMaxime Ripard	depends on ARCH_AXXIA
444a315e34SAnders Berg	help
454a315e34SAnders Berg	  This driver supports restart for Axxia SoC.
464a315e34SAnders Berg
474a315e34SAnders Berg	  Say Y if you have an Axxia family SoC.
484a315e34SAnders Berg
49030494e7SMarc Carinoconfig POWER_RESET_BRCMSTB
504f5fd640SKevin Cernekee	bool "Broadcom STB reset driver"
514f5fd640SKevin Cernekee	depends on ARM || MIPS || COMPILE_TEST
520a73125dSFlorian Fainelli	depends on MFD_SYSCON
53030494e7SMarc Carino	default ARCH_BRCMSTB
54030494e7SMarc Carino	help
554f5fd640SKevin Cernekee	  This driver provides restart support for Broadcom STB boards.
56030494e7SMarc Carino
574f5fd640SKevin Cernekee	  Say Y here if you have a Broadcom STB board and you wish
58030494e7SMarc Carino	  to have restart support.
59030494e7SMarc Carino
6096ff0f5cSJamie Lentinconfig POWER_RESET_GPIO
6196ff0f5cSJamie Lentin	bool "GPIO power-off driver"
626ca4f460SMaxime Ripard	depends on OF_GPIO
6396ff0f5cSJamie Lentin	help
6496ff0f5cSJamie Lentin	  This driver supports turning off your board via a GPIO line.
6596ff0f5cSJamie Lentin	  If your board needs a GPIO high/low to power down, say Y and
6696ff0f5cSJamie Lentin	  create a binding in your devicetree.
67e8fc721aSAndrew Lunn
68371bb20dSDavid Rileyconfig POWER_RESET_GPIO_RESTART
69371bb20dSDavid Riley	bool "GPIO restart driver"
7050fa8617SLinus Torvalds	depends on OF_GPIO
71371bb20dSDavid Riley	help
72371bb20dSDavid Riley	  This driver supports restarting your board via a GPIO line.
73371bb20dSDavid Riley	  If your board needs a GPIO high/low to restart, say Y and
74371bb20dSDavid Riley	  create a binding in your devicetree.
75371bb20dSDavid Riley
764a9b3737SHaojian Zhuangconfig POWER_RESET_HISI
774a9b3737SHaojian Zhuang	bool "Hisilicon power-off driver"
7850fa8617SLinus Torvalds	depends on ARCH_HISI
794a9b3737SHaojian Zhuang	help
804a9b3737SHaojian Zhuang	  Reboot support for Hisilicon boards.
814a9b3737SHaojian Zhuang
823db47dc0SRobin Gongconfig POWER_RESET_IMX
833db47dc0SRobin Gong	bool "IMX6 power-off driver"
843db47dc0SRobin Gong	depends on POWER_RESET && SOC_IMX6
853db47dc0SRobin Gong	help
863db47dc0SRobin Gong	  This driver support power off external PMIC by PMIC_ON_REQ on i.mx6
873db47dc0SRobin Gong	  boards.If you want to use other pin to control external power,please
883db47dc0SRobin Gong	  say N here or disable in dts to make sure pm_power_off never be
893db47dc0SRobin Gong	  overwrote wrongly by this driver.
903db47dc0SRobin Gong
9178be3176SAbhimanyu Kapurconfig POWER_RESET_MSM
9278be3176SAbhimanyu Kapur	bool "Qualcomm MSM power-off driver"
936ca4f460SMaxime Ripard	depends on ARCH_QCOM
9478be3176SAbhimanyu Kapur	help
9578be3176SAbhimanyu Kapur	  Power off and restart support for Qualcomm boards.
9678be3176SAbhimanyu Kapur
976647156cSRené Mollconfig POWER_RESET_LTC2952
986647156cSRené Moll	bool "LTC2952 PowerPath power-off driver"
9950fa8617SLinus Torvalds	depends on OF_GPIO
1006647156cSRené Moll	help
1016647156cSRené Moll	  This driver supports an external powerdown trigger and board power
1026647156cSRené Moll	  down via the LTC2952. Bindings are made in the device tree.
1036647156cSRené Moll
104e8fc721aSAndrew Lunnconfig POWER_RESET_QNAP
105e8fc721aSAndrew Lunn	bool "QNAP power-off driver"
1066ca4f460SMaxime Ripard	depends on OF_GPIO && PLAT_ORION
107e8fc721aSAndrew Lunn	help
108e8fc721aSAndrew Lunn	  This driver supports turning off QNAP NAS devices by sending
109e8fc721aSAndrew Lunn	  commands to the microcontroller which controls the main power.
110e8fc721aSAndrew Lunn
111e8fc721aSAndrew Lunn	  Say Y if you have a QNAP NAS.
112ffd8f9a7SAndrew Lunn
113ffd8f9a7SAndrew Lunnconfig POWER_RESET_RESTART
114ffd8f9a7SAndrew Lunn	bool "Restart power-off driver"
115ffd8f9a7SAndrew Lunn	help
116ffd8f9a7SAndrew Lunn	  Some boards don't actually have the ability to power off.
117ffd8f9a7SAndrew Lunn	  Instead they restart, and u-boot holds the SoC until the
118ffd8f9a7SAndrew Lunn	  user presses a key. u-boot then boots into Linux.
1192655f51dSCatalin Marinas
120f0745f36SLee Jonesconfig POWER_RESET_ST
1217fa650bcSGuenter Roeck	bool "ST restart driver"
12250fa8617SLinus Torvalds	depends on ARCH_STI
123f0745f36SLee Jones	help
1247fa650bcSGuenter Roeck	  Reset support for STMicroelectronics boards.
125f0745f36SLee Jones
1260e545f57SLinus Walleijconfig POWER_RESET_VERSATILE
1270e545f57SLinus Walleij	bool "ARM Versatile family reboot driver"
1280e545f57SLinus Walleij	depends on ARM
1290e545f57SLinus Walleij	depends on MFD_SYSCON
1300e545f57SLinus Walleij	depends on OF
1310e545f57SLinus Walleij	help
1320e545f57SLinus Walleij	  Power off and restart support for ARM Versatile family of
1330e545f57SLinus Walleij	  reference boards.
1340e545f57SLinus Walleij
1352655f51dSCatalin Marinasconfig POWER_RESET_VEXPRESS
136b52eafcdSPawel Moll	bool "ARM Versatile Express power-off and reset driver"
137b52eafcdSPawel Moll	depends on ARM || ARM64
1386ca4f460SMaxime Ripard	depends on VEXPRESS_CONFIG
1392655f51dSCatalin Marinas	help
1402655f51dSCatalin Marinas	  Power off and reset support for the ARM Ltd. Versatile
1412655f51dSCatalin Marinas	  Express boards.
14267778e0eSLoc Ho
14367778e0eSLoc Hoconfig POWER_RESET_XGENE
14467778e0eSLoc Ho	bool "APM SoC X-Gene reset driver"
14567778e0eSLoc Ho	depends on ARM64
14667778e0eSLoc Ho	help
14767778e0eSLoc Ho	  Reboot support for the APM SoC X-Gene Eval boards.
148a3e01e80SIvan Khoronzhuk
149a3e01e80SIvan Khoronzhukconfig POWER_RESET_KEYSTONE
150a3e01e80SIvan Khoronzhuk	bool "Keystone reset driver"
151e771e0a1SKrzysztof Kozlowski	depends on ARCH_KEYSTONE || COMPILE_TEST
152e771e0a1SKrzysztof Kozlowski	depends on HAS_IOMEM
153a3e01e80SIvan Khoronzhuk	select MFD_SYSCON
154a3e01e80SIvan Khoronzhuk	help
155a3e01e80SIvan Khoronzhuk	  Reboot support for the KEYSTONE SoCs.
156a3e01e80SIvan Khoronzhuk
15709fb07bcSFeng Kanconfig POWER_RESET_SYSCON
15809fb07bcSFeng Kan	bool "Generic SYSCON regmap reset driver"
15950fa8617SLinus Torvalds	depends on OF
1604f4bfe6bSRichard Weinberger	depends on HAS_IOMEM
161afaebbdbSFeng Kan	select MFD_SYSCON
16209fb07bcSFeng Kan	help
16309fb07bcSFeng Kan	  Reboot support for generic SYSCON mapped register reset.
16450fa8617SLinus Torvalds
1658a577608SMoritz Fischerconfig POWER_RESET_SYSCON_POWEROFF
1668a577608SMoritz Fischer	bool "Generic SYSCON regmap poweroff driver"
1678a577608SMoritz Fischer	depends on OF
1684f4bfe6bSRichard Weinberger	depends on HAS_IOMEM
1698a577608SMoritz Fischer	select MFD_SYSCON
1708a577608SMoritz Fischer	help
1718a577608SMoritz Fischer	  Poweroff support for generic SYSCON mapped register poweroff.
1728a577608SMoritz Fischer
173fa0f8d67SGeert Uytterhoevenconfig POWER_RESET_RMOBILE
174fa0f8d67SGeert Uytterhoeven	tristate "Renesas R-Mobile reset driver"
175fa0f8d67SGeert Uytterhoeven	depends on ARCH_RMOBILE || COMPILE_TEST
176039ab50bSRichard Weinberger	depends on HAS_IOMEM
177fa0f8d67SGeert Uytterhoeven	help
178fa0f8d67SGeert Uytterhoeven	  Reboot support for Renesas R-Mobile and SH-Mobile SoCs.
179fa0f8d67SGeert Uytterhoeven
180dd9f1486SJun Nieconfig POWER_RESET_ZX
181dd9f1486SJun Nie	tristate "ZTE SoCs reset driver"
182dd9f1486SJun Nie	depends on ARCH_ZX || COMPILE_TEST
183dd9f1486SJun Nie	depends on HAS_IOMEM
184dd9f1486SJun Nie	help
185dd9f1486SJun Nie	  Reboot support for ZTE SoCs.
186dd9f1486SJun Nie
1876ca4f460SMaxime Ripardendif
18850fa8617SLinus Torvalds
189