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" 350b040874SAlexandre Belloni depends on ARCH_AT91 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 49783cb948SChris Brandconfig POWER_RESET_BRCMKONA 50783cb948SChris Brand bool "Broadcom Kona reset driver" 51783cb948SChris Brand depends on ARM || COMPILE_TEST 52783cb948SChris Brand default ARCH_BCM_MOBILE 53783cb948SChris Brand help 54783cb948SChris Brand This driver provides restart support for Broadcom Kona chips. 55783cb948SChris Brand 56783cb948SChris Brand Say Y here if you have a Broadcom Kona-based board and you wish 57783cb948SChris Brand to have restart support. 58783cb948SChris Brand 59030494e7SMarc Carinoconfig POWER_RESET_BRCMSTB 604f5fd640SKevin Cernekee bool "Broadcom STB reset driver" 614f5fd640SKevin Cernekee depends on ARM || MIPS || COMPILE_TEST 620a73125dSFlorian Fainelli depends on MFD_SYSCON 63030494e7SMarc Carino default ARCH_BRCMSTB 64030494e7SMarc Carino help 654f5fd640SKevin Cernekee This driver provides restart support for Broadcom STB boards. 66030494e7SMarc Carino 674f5fd640SKevin Cernekee Say Y here if you have a Broadcom STB board and you wish 68030494e7SMarc Carino to have restart support. 69030494e7SMarc Carino 70f7a388d6SLinus Walleijconfig POWER_RESET_GEMINI_POWEROFF 71f7a388d6SLinus Walleij bool "Cortina Gemini power-off driver" 72f7a388d6SLinus Walleij depends on ARCH_GEMINI || COMPILE_TEST 73f7a388d6SLinus Walleij depends on OF && HAS_IOMEM 74f7a388d6SLinus Walleij default ARCH_GEMINI 75f7a388d6SLinus Walleij help 76f7a388d6SLinus Walleij This driver supports turning off the Cortina Gemini SoC. 77f7a388d6SLinus Walleij Select this if you're building a kernel with Gemini SoC support. 78f7a388d6SLinus Walleij 7996ff0f5cSJamie Lentinconfig POWER_RESET_GPIO 8096ff0f5cSJamie Lentin bool "GPIO power-off driver" 816ca4f460SMaxime Ripard depends on OF_GPIO 8296ff0f5cSJamie Lentin help 8396ff0f5cSJamie Lentin This driver supports turning off your board via a GPIO line. 8496ff0f5cSJamie Lentin If your board needs a GPIO high/low to power down, say Y and 8596ff0f5cSJamie Lentin create a binding in your devicetree. 86e8fc721aSAndrew Lunn 87371bb20dSDavid Rileyconfig POWER_RESET_GPIO_RESTART 88371bb20dSDavid Riley bool "GPIO restart driver" 8950fa8617SLinus Torvalds depends on OF_GPIO 90371bb20dSDavid Riley help 91371bb20dSDavid Riley This driver supports restarting your board via a GPIO line. 92371bb20dSDavid Riley If your board needs a GPIO high/low to restart, say Y and 93371bb20dSDavid Riley create a binding in your devicetree. 94371bb20dSDavid Riley 954a9b3737SHaojian Zhuangconfig POWER_RESET_HISI 964a9b3737SHaojian Zhuang bool "Hisilicon power-off driver" 9750fa8617SLinus Torvalds depends on ARCH_HISI 984a9b3737SHaojian Zhuang help 994a9b3737SHaojian Zhuang Reboot support for Hisilicon boards. 1004a9b3737SHaojian Zhuang 1013db47dc0SRobin Gongconfig POWER_RESET_IMX 1023db47dc0SRobin Gong bool "IMX6 power-off driver" 1033db47dc0SRobin Gong depends on POWER_RESET && SOC_IMX6 1043db47dc0SRobin Gong help 1053db47dc0SRobin Gong This driver support power off external PMIC by PMIC_ON_REQ on i.mx6 1063db47dc0SRobin Gong boards.If you want to use other pin to control external power,please 1073db47dc0SRobin Gong say N here or disable in dts to make sure pm_power_off never be 1083db47dc0SRobin Gong overwrote wrongly by this driver. 1093db47dc0SRobin Gong 11078be3176SAbhimanyu Kapurconfig POWER_RESET_MSM 11178be3176SAbhimanyu Kapur bool "Qualcomm MSM power-off driver" 1126ca4f460SMaxime Ripard depends on ARCH_QCOM 11378be3176SAbhimanyu Kapur help 11478be3176SAbhimanyu Kapur Power off and restart support for Qualcomm boards. 11578be3176SAbhimanyu Kapur 11629676833SPaul Burtonconfig POWER_RESET_PIIX4_POWEROFF 11729676833SPaul Burton tristate "Intel PIIX4 power-off driver" 11829676833SPaul Burton depends on PCI 11929676833SPaul Burton depends on MIPS || COMPILE_TEST 12029676833SPaul Burton help 12129676833SPaul Burton This driver supports powering off a system using the Intel PIIX4 12229676833SPaul Burton southbridge, for example the MIPS Malta development board. The 12329676833SPaul Burton southbridge SOff state is entered in response to a request to 12429676833SPaul Burton power off the system. 12529676833SPaul Burton 1266647156cSRené Mollconfig POWER_RESET_LTC2952 1276647156cSRené Moll bool "LTC2952 PowerPath power-off driver" 12850fa8617SLinus Torvalds depends on OF_GPIO 1296647156cSRené Moll help 1306647156cSRené Moll This driver supports an external powerdown trigger and board power 1316647156cSRené Moll down via the LTC2952. Bindings are made in the device tree. 1326647156cSRené Moll 133e8fc721aSAndrew Lunnconfig POWER_RESET_QNAP 134e8fc721aSAndrew Lunn bool "QNAP power-off driver" 1356ca4f460SMaxime Ripard depends on OF_GPIO && PLAT_ORION 136e8fc721aSAndrew Lunn help 137e8fc721aSAndrew Lunn This driver supports turning off QNAP NAS devices by sending 138e8fc721aSAndrew Lunn commands to the microcontroller which controls the main power. 139e8fc721aSAndrew Lunn 140e8fc721aSAndrew Lunn Say Y if you have a QNAP NAS. 141ffd8f9a7SAndrew Lunn 142ffd8f9a7SAndrew Lunnconfig POWER_RESET_RESTART 143ffd8f9a7SAndrew Lunn bool "Restart power-off driver" 144ffd8f9a7SAndrew Lunn help 145ffd8f9a7SAndrew Lunn Some boards don't actually have the ability to power off. 146ffd8f9a7SAndrew Lunn Instead they restart, and u-boot holds the SoC until the 147ffd8f9a7SAndrew Lunn user presses a key. u-boot then boots into Linux. 1482655f51dSCatalin Marinas 149f0745f36SLee Jonesconfig POWER_RESET_ST 1507fa650bcSGuenter Roeck bool "ST restart driver" 15150fa8617SLinus Torvalds depends on ARCH_STI 152f0745f36SLee Jones help 1537fa650bcSGuenter Roeck Reset support for STMicroelectronics boards. 154f0745f36SLee Jones 1550e545f57SLinus Walleijconfig POWER_RESET_VERSATILE 1560e545f57SLinus Walleij bool "ARM Versatile family reboot driver" 1570e545f57SLinus Walleij depends on ARM 1580e545f57SLinus Walleij depends on MFD_SYSCON 1590e545f57SLinus Walleij depends on OF 1600e545f57SLinus Walleij help 1610e545f57SLinus Walleij Power off and restart support for ARM Versatile family of 1620e545f57SLinus Walleij reference boards. 1630e545f57SLinus Walleij 1642655f51dSCatalin Marinasconfig POWER_RESET_VEXPRESS 165b52eafcdSPawel Moll bool "ARM Versatile Express power-off and reset driver" 166b52eafcdSPawel Moll depends on ARM || ARM64 1676ca4f460SMaxime Ripard depends on VEXPRESS_CONFIG 1682655f51dSCatalin Marinas help 1692655f51dSCatalin Marinas Power off and reset support for the ARM Ltd. Versatile 1702655f51dSCatalin Marinas Express boards. 17167778e0eSLoc Ho 17267778e0eSLoc Hoconfig POWER_RESET_XGENE 17367778e0eSLoc Ho bool "APM SoC X-Gene reset driver" 17467778e0eSLoc Ho depends on ARM64 17567778e0eSLoc Ho help 17667778e0eSLoc Ho Reboot support for the APM SoC X-Gene Eval boards. 177a3e01e80SIvan Khoronzhuk 178a3e01e80SIvan Khoronzhukconfig POWER_RESET_KEYSTONE 179a3e01e80SIvan Khoronzhuk bool "Keystone reset driver" 180e771e0a1SKrzysztof Kozlowski depends on ARCH_KEYSTONE || COMPILE_TEST 181e771e0a1SKrzysztof Kozlowski depends on HAS_IOMEM 182a3e01e80SIvan Khoronzhuk select MFD_SYSCON 183a3e01e80SIvan Khoronzhuk help 184a3e01e80SIvan Khoronzhuk Reboot support for the KEYSTONE SoCs. 185a3e01e80SIvan Khoronzhuk 18609fb07bcSFeng Kanconfig POWER_RESET_SYSCON 18709fb07bcSFeng Kan bool "Generic SYSCON regmap reset driver" 18850fa8617SLinus Torvalds depends on OF 1894f4bfe6bSRichard Weinberger depends on HAS_IOMEM 190afaebbdbSFeng Kan select MFD_SYSCON 19109fb07bcSFeng Kan help 19209fb07bcSFeng Kan Reboot support for generic SYSCON mapped register reset. 19350fa8617SLinus Torvalds 1948a577608SMoritz Fischerconfig POWER_RESET_SYSCON_POWEROFF 1958a577608SMoritz Fischer bool "Generic SYSCON regmap poweroff driver" 1968a577608SMoritz Fischer depends on OF 1974f4bfe6bSRichard Weinberger depends on HAS_IOMEM 1988a577608SMoritz Fischer select MFD_SYSCON 1998a577608SMoritz Fischer help 2008a577608SMoritz Fischer Poweroff support for generic SYSCON mapped register poweroff. 2018a577608SMoritz Fischer 202fa0f8d67SGeert Uytterhoevenconfig POWER_RESET_RMOBILE 203fa0f8d67SGeert Uytterhoeven tristate "Renesas R-Mobile reset driver" 204fa0f8d67SGeert Uytterhoeven depends on ARCH_RMOBILE || COMPILE_TEST 205039ab50bSRichard Weinberger depends on HAS_IOMEM 206fa0f8d67SGeert Uytterhoeven help 207fa0f8d67SGeert Uytterhoeven Reboot support for Renesas R-Mobile and SH-Mobile SoCs. 208fa0f8d67SGeert Uytterhoeven 209dd9f1486SJun Nieconfig POWER_RESET_ZX 210dd9f1486SJun Nie tristate "ZTE SoCs reset driver" 211dd9f1486SJun Nie depends on ARCH_ZX || COMPILE_TEST 212dd9f1486SJun Nie depends on HAS_IOMEM 213dd9f1486SJun Nie help 214dd9f1486SJun Nie Reboot support for ZTE SoCs. 215dd9f1486SJun Nie 2164fcd504eSAndy Yanconfig REBOOT_MODE 2174fcd504eSAndy Yan tristate 2184fcd504eSAndy Yan 2194fcd504eSAndy Yanconfig SYSCON_REBOOT_MODE 2204fcd504eSAndy Yan tristate "Generic SYSCON regmap reboot mode driver" 2214fcd504eSAndy Yan depends on OF 2227a4947cfSAndy Yan depends on MFD_SYSCON 2234fcd504eSAndy Yan select REBOOT_MODE 2244fcd504eSAndy Yan help 2254fcd504eSAndy Yan Say y here will enable reboot mode driver. This will 2264fcd504eSAndy Yan get reboot mode arguments and store it in SYSCON mapped 2274fcd504eSAndy Yan register, then the bootloader can read it to take different 2284fcd504eSAndy Yan action according to the mode. 2294fcd504eSAndy Yan 2306ca4f460SMaxime Ripardendif 23150fa8617SLinus Torvalds 232