1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only 296ff0f5cSJamie Lentinmenuconfig POWER_RESET 396ff0f5cSJamie Lentin bool "Board level reset or power off" 496ff0f5cSJamie Lentin help 596ff0f5cSJamie Lentin Provides a number of drivers which either reset a complete board 696ff0f5cSJamie Lentin or shut it down, by manipulating the main power supply on the board. 796ff0f5cSJamie Lentin 896ff0f5cSJamie Lentin Say Y here to enable board reset and power off 996ff0f5cSJamie Lentin 106ca4f460SMaxime Ripardif POWER_RESET 116ca4f460SMaxime Ripard 1256fb8de5SLaxman Dewanganconfig POWER_RESET_AS3722 1356fb8de5SLaxman Dewangan bool "ams AS3722 power-off driver" 146ca4f460SMaxime Ripard depends on MFD_AS3722 1556fb8de5SLaxman Dewangan help 1656fb8de5SLaxman Dewangan This driver supports turning off board via a ams AS3722 power-off. 1756fb8de5SLaxman Dewangan 18ae499f0fSMaxime Ripardconfig POWER_RESET_AT91_POWEROFF 196dd1ad1fSAlexandre Belloni tristate "Atmel AT91 poweroff driver" 2094d450edSNicolas Ferre depends on ARCH_AT91 21ae499f0fSMaxime Ripard default SOC_AT91SAM9 || SOC_SAMA5 22ae499f0fSMaxime Ripard help 23ae499f0fSMaxime Ripard This driver supports poweroff for Atmel AT91SAM9 and SAMA5 24ae499f0fSMaxime Ripard SoCs 25ae499f0fSMaxime Ripard 26ecfe64d8SMaxime Ripardconfig POWER_RESET_AT91_RESET 276e64180aSAlexandre Belloni tristate "Atmel AT91 reset driver" 2894d450edSNicolas Ferre depends on ARCH_AT91 29ef4f3ac4SVarshini Rajendran default SOC_AT91SAM9 || SOC_SAM9X60 || SOC_SAM9X7 || SOC_SAMA5 30ecfe64d8SMaxime Ripard help 31ecfe64d8SMaxime Ripard This driver supports restart for Atmel AT91SAM9 and SAMA5 32ecfe64d8SMaxime Ripard SoCs 33ecfe64d8SMaxime Ripard 34f80cb488SNicolas Ferreconfig POWER_RESET_AT91_SAMA5D2_SHDWC 35f80cb488SNicolas Ferre tristate "Atmel AT91 SAMA5D2-Compatible shutdown controller driver" 360b040874SAlexandre Belloni depends on ARCH_AT91 37250bbd61SVarshini Rajendran default SOC_SAM9X60 || SOC_SAM9X7 || SOC_SAMA5 38f80cb488SNicolas Ferre help 39f80cb488SNicolas Ferre This driver supports the alternate shutdown controller for some Atmel 40f80cb488SNicolas Ferre SAMA5 SoCs. It is present for example on SAMA5D2 SoC. 41f80cb488SNicolas Ferre 423235d130SCristian Ciocalteaconfig POWER_RESET_ATC260X 433235d130SCristian Ciocaltea tristate "Actions Semi ATC260x PMIC power-off driver" 443235d130SCristian Ciocaltea depends on MFD_ATC260X 453235d130SCristian Ciocaltea help 463235d130SCristian Ciocaltea This driver provides power-off and restart support for a system 473235d130SCristian Ciocaltea through Actions Semi ATC260x series PMICs. 483235d130SCristian Ciocaltea 494a315e34SAnders Bergconfig POWER_RESET_AXXIA 504a315e34SAnders Berg bool "LSI Axxia reset driver" 516ca4f460SMaxime Ripard depends on ARCH_AXXIA 524a315e34SAnders Berg help 534a315e34SAnders Berg This driver supports restart for Axxia SoC. 544a315e34SAnders Berg 554a315e34SAnders Berg Say Y if you have an Axxia family SoC. 564a315e34SAnders Berg 57783cb948SChris Brandconfig POWER_RESET_BRCMKONA 58783cb948SChris Brand bool "Broadcom Kona reset driver" 59783cb948SChris Brand depends on ARM || COMPILE_TEST 60783cb948SChris Brand default ARCH_BCM_MOBILE 61783cb948SChris Brand help 62783cb948SChris Brand This driver provides restart support for Broadcom Kona chips. 63783cb948SChris Brand 64783cb948SChris Brand Say Y here if you have a Broadcom Kona-based board and you wish 65783cb948SChris Brand to have restart support. 66783cb948SChris Brand 67030494e7SMarc Carinoconfig POWER_RESET_BRCMSTB 684f5fd640SKevin Cernekee bool "Broadcom STB reset driver" 693c693ac2SPeter Robinson depends on ARCH_BRCMSTB || BMIPS_GENERIC || COMPILE_TEST 700a73125dSFlorian Fainelli depends on MFD_SYSCON 711d2495e8SFlorian Fainelli default ARCH_BRCMSTB || BMIPS_GENERIC 72030494e7SMarc Carino help 734f5fd640SKevin Cernekee This driver provides restart support for Broadcom STB boards. 74030494e7SMarc Carino 754f5fd640SKevin Cernekee Say Y here if you have a Broadcom STB board and you wish 76030494e7SMarc Carino to have restart support. 77030494e7SMarc Carino 789fa7cdb4SNikita Shubinconfig POWER_RESET_EP93XX 799fa7cdb4SNikita Shubin bool "Cirrus EP93XX reset driver" if COMPILE_TEST 809fa7cdb4SNikita Shubin depends on MFD_SYSCON 819fa7cdb4SNikita Shubin default ARCH_EP93XX 82b6d445f6SArnd Bergmann select AUXILIARY_BUS 839fa7cdb4SNikita Shubin help 849fa7cdb4SNikita Shubin This driver provides restart support for Cirrus EP93XX SoC. 859fa7cdb4SNikita Shubin 869fa7cdb4SNikita Shubin Say Y here if you have a Cirrus EP93XX SoC and you wish 879fa7cdb4SNikita Shubin to have restart support. 889fa7cdb4SNikita Shubin 89f7a388d6SLinus Walleijconfig POWER_RESET_GEMINI_POWEROFF 90f7a388d6SLinus Walleij bool "Cortina Gemini power-off driver" 91f7a388d6SLinus Walleij depends on ARCH_GEMINI || COMPILE_TEST 92f7a388d6SLinus Walleij depends on OF && HAS_IOMEM 93f7a388d6SLinus Walleij default ARCH_GEMINI 94f7a388d6SLinus Walleij help 95f7a388d6SLinus Walleij This driver supports turning off the Cortina Gemini SoC. 96f7a388d6SLinus Walleij Select this if you're building a kernel with Gemini SoC support. 97f7a388d6SLinus Walleij 9896ff0f5cSJamie Lentinconfig POWER_RESET_GPIO 9996ff0f5cSJamie Lentin bool "GPIO power-off driver" 1000629c33fSBartosz Golaszewski depends on OF 10196ff0f5cSJamie Lentin help 10296ff0f5cSJamie Lentin This driver supports turning off your board via a GPIO line. 10396ff0f5cSJamie Lentin If your board needs a GPIO high/low to power down, say Y and 10496ff0f5cSJamie Lentin create a binding in your devicetree. 105e8fc721aSAndrew Lunn 106371bb20dSDavid Rileyconfig POWER_RESET_GPIO_RESTART 107371bb20dSDavid Riley bool "GPIO restart driver" 1080629c33fSBartosz Golaszewski depends on OF 109371bb20dSDavid Riley help 110371bb20dSDavid Riley This driver supports restarting your board via a GPIO line. 111371bb20dSDavid Riley If your board needs a GPIO high/low to restart, say Y and 112371bb20dSDavid Riley create a binding in your devicetree. 113371bb20dSDavid Riley 1144a9b3737SHaojian Zhuangconfig POWER_RESET_HISI 1154a9b3737SHaojian Zhuang bool "Hisilicon power-off driver" 11650fa8617SLinus Torvalds depends on ARCH_HISI 1174a9b3737SHaojian Zhuang help 1184a9b3737SHaojian Zhuang Reboot support for Hisilicon boards. 1194a9b3737SHaojian Zhuang 120a7f79f99SDaniel González Cabanelasconfig POWER_RESET_LINKSTATION 121a7f79f99SDaniel González Cabanelas tristate "Buffalo LinkStation power-off driver" 122a7f79f99SDaniel González Cabanelas depends on ARCH_MVEBU || COMPILE_TEST 123a7f79f99SDaniel González Cabanelas depends on OF_MDIO && PHYLIB 124a7f79f99SDaniel González Cabanelas help 125a7f79f99SDaniel González Cabanelas This driver supports turning off some Buffalo LinkStations by 126a7f79f99SDaniel González Cabanelas setting an output pin at the ethernet PHY to the correct state. 127a7f79f99SDaniel González Cabanelas It also makes the device compatible with the WoL function. 128a7f79f99SDaniel González Cabanelas 129a7f79f99SDaniel González Cabanelas Say Y here if you have a Buffalo LinkStation LS421D/E. 130a7f79f99SDaniel González Cabanelas 131*380f91cdSJean-Michel Hautboisconfig POWER_RESET_MCF_RCM 132*380f91cdSJean-Michel Hautbois tristate "Freescale ColdFire RCM power-on reason driver" 133*380f91cdSJean-Michel Hautbois depends on M5441x || COMPILE_TEST 134*380f91cdSJean-Michel Hautbois depends on HAS_IOMEM 135*380f91cdSJean-Michel Hautbois help 136*380f91cdSJean-Michel Hautbois This driver exposes the cause of the last reset on Freescale 137*380f91cdSJean-Michel Hautbois ColdFire 5441x SoCs through the standard power_on_reason sysfs 138*380f91cdSJean-Michel Hautbois ABI. It reads the Reset Status Register (RSR) of the Reset 139*380f91cdSJean-Michel Hautbois Controller Module once at probe time and reports a normalised 140*380f91cdSJean-Michel Hautbois string (regular power-up, reset button action, software reset 141*380f91cdSJean-Michel Hautbois or unknown reason). 142*380f91cdSJean-Michel Hautbois 143819687ebSHector Martinconfig POWER_RESET_MACSMC 144819687ebSHector Martin tristate "Apple SMC reset/power-off driver" 145819687ebSHector Martin depends on MFD_MACSMC 146819687ebSHector Martin help 147819687ebSHector Martin This driver supports reset and power-off on Apple Mac machines 148819687ebSHector Martin that implement this functionality via the SMC. 149819687ebSHector Martin 150819687ebSHector Martin Say Y here if you have an Apple Silicon Mac. 151819687ebSHector Martin 15278be3176SAbhimanyu Kapurconfig POWER_RESET_MSM 15378be3176SAbhimanyu Kapur bool "Qualcomm MSM power-off driver" 1546ca4f460SMaxime Ripard depends on ARCH_QCOM 15578be3176SAbhimanyu Kapur help 15678be3176SAbhimanyu Kapur Power off and restart support for Qualcomm boards. 15778be3176SAbhimanyu Kapur 158e6a578e2SVinod Koulconfig POWER_RESET_QCOM_PON 159e6a578e2SVinod Koul tristate "Qualcomm power-on driver" 160e6a578e2SVinod Koul depends on ARCH_QCOM 161e6a578e2SVinod Koul depends on MFD_SPMI_PMIC 162e6a578e2SVinod Koul select REBOOT_MODE 163e6a578e2SVinod Koul help 164e6a578e2SVinod Koul Power On support for Qualcomm boards. 165e6a578e2SVinod Koul If you have a Qualcomm platform and need support for 166e6a578e2SVinod Koul power-on and reboot reason, Say Y. 167e6a578e2SVinod Koul If unsure, Say N. 168e6a578e2SVinod Koul 1696ab739bcSAlexandre Belloniconfig POWER_RESET_OCELOT_RESET 1706ab739bcSAlexandre Belloni bool "Microsemi Ocelot reset driver" 1717007fab4SGeert Uytterhoeven depends on MSCC_OCELOT || ARCH_SPARX5 || COMPILE_TEST 1726ab739bcSAlexandre Belloni select MFD_SYSCON 1736ab739bcSAlexandre Belloni help 174ec871696SLars Povlsen This driver supports restart for Microsemi Ocelot SoC and similar. 1756ab739bcSAlexandre Belloni 176cec3b46bSNeil Armstrongconfig POWER_RESET_ODROID_GO_ULTRA_POWEROFF 177cec3b46bSNeil Armstrong bool "Odroid Go Ultra power-off driver" 178cec3b46bSNeil Armstrong depends on ARCH_MESON || COMPILE_TEST 179c142872eSArnd Bergmann depends on I2C=y && OF 180cec3b46bSNeil Armstrong help 181cec3b46bSNeil Armstrong This driver supports Power off for Odroid Go Ultra device. 182cec3b46bSNeil Armstrong 18329676833SPaul Burtonconfig POWER_RESET_PIIX4_POWEROFF 18429676833SPaul Burton tristate "Intel PIIX4 power-off driver" 18529676833SPaul Burton depends on PCI 186eae36cb8SNiklas Schnelle depends on HAS_IOPORT 18729676833SPaul Burton depends on MIPS || COMPILE_TEST 18829676833SPaul Burton help 18929676833SPaul Burton This driver supports powering off a system using the Intel PIIX4 19029676833SPaul Burton southbridge, for example the MIPS Malta development board. The 19129676833SPaul Burton southbridge SOff state is entered in response to a request to 19229676833SPaul Burton power off the system. 19329676833SPaul Burton 1946647156cSRené Mollconfig POWER_RESET_LTC2952 1956647156cSRené Moll bool "LTC2952 PowerPath power-off driver" 1960629c33fSBartosz Golaszewski depends on OF 1976647156cSRené Moll help 1986647156cSRené Moll This driver supports an external powerdown trigger and board power 1996647156cSRené Moll down via the LTC2952. Bindings are made in the device tree. 2006647156cSRené Moll 201d28c74c1SJosef Friedlconfig POWER_RESET_MT6323 202d28c74c1SJosef Friedl bool "MediaTek MT6323 power-off driver" 203d28c74c1SJosef Friedl depends on MFD_MT6397 204d28c74c1SJosef Friedl help 205d28c74c1SJosef Friedl The power-off driver is responsible for externally shutdown down 206d28c74c1SJosef Friedl the power of a remote MediaTek SoC MT6323 is connected to through 207d28c74c1SJosef Friedl controlling a tiny circuit BBPU inside MT6323 RTC. 208d28c74c1SJosef Friedl 209d28c74c1SJosef Friedl Say Y if you have a board where MT6323 could be found. 210d28c74c1SJosef Friedl 211e8fc721aSAndrew Lunnconfig POWER_RESET_QNAP 212e8fc721aSAndrew Lunn bool "QNAP power-off driver" 2130629c33fSBartosz Golaszewski depends on PLAT_ORION 214e8fc721aSAndrew Lunn help 215e8fc721aSAndrew Lunn This driver supports turning off QNAP NAS devices by sending 216e8fc721aSAndrew Lunn commands to the microcontroller which controls the main power. 217e8fc721aSAndrew Lunn 218e8fc721aSAndrew Lunn Say Y if you have a QNAP NAS. 219ffd8f9a7SAndrew Lunn 220ec66096bSMichael Kleinconfig POWER_RESET_REGULATOR 221ec66096bSMichael Klein bool "Regulator subsystem power-off driver" 222ec66096bSMichael Klein depends on OF && REGULATOR 223ec66096bSMichael Klein help 224ec66096bSMichael Klein This driver supports turning off your board by disabling a 225ec66096bSMichael Klein power regulator defined in the devicetree. 226ec66096bSMichael Klein 227ffd8f9a7SAndrew Lunnconfig POWER_RESET_RESTART 228ffd8f9a7SAndrew Lunn bool "Restart power-off driver" 229ffd8f9a7SAndrew Lunn help 230ffd8f9a7SAndrew Lunn Some boards don't actually have the ability to power off. 231ffd8f9a7SAndrew Lunn Instead they restart, and u-boot holds the SoC until the 232ffd8f9a7SAndrew Lunn user presses a key. u-boot then boots into Linux. 2332655f51dSCatalin Marinas 234f0745f36SLee Jonesconfig POWER_RESET_ST 2357fa650bcSGuenter Roeck bool "ST restart driver" 23650fa8617SLinus Torvalds depends on ARCH_STI 237f0745f36SLee Jones help 2387fa650bcSGuenter Roeck Reset support for STMicroelectronics boards. 239f0745f36SLee Jones 2402d81a24aSIcenowy Zhengconfig POWER_RESET_TH1520_AON 2412d81a24aSIcenowy Zheng tristate "T-Head TH1520 AON firmware poweroff and reset driver" 2422d81a24aSIcenowy Zheng depends on TH1520_PM_DOMAINS 2432d81a24aSIcenowy Zheng help 2442d81a24aSIcenowy Zheng This driver supports power-off and reset operations for T-Head 2452d81a24aSIcenowy Zheng TH1520 SoCs running the AON firmware. 2462d81a24aSIcenowy Zheng 24718672fe1SEmanuele Ghidoliconfig POWER_RESET_TORADEX_EC 24818672fe1SEmanuele Ghidoli tristate "Toradex Embedded Controller power-off and reset driver" 24922e4d29fSGeert Uytterhoeven depends on ARCH_MXC || COMPILE_TEST 25018672fe1SEmanuele Ghidoli depends on I2C 25118672fe1SEmanuele Ghidoli select REGMAP_I2C 25218672fe1SEmanuele Ghidoli help 25318672fe1SEmanuele Ghidoli This driver supports power-off and reset for SMARC Toradex SoMs, 25418672fe1SEmanuele Ghidoli for example the SMARC iMX8MP and SMARC iMX95, using Toradex 25518672fe1SEmanuele Ghidoli Embedded Controller (EC). 25618672fe1SEmanuele Ghidoli 25718672fe1SEmanuele Ghidoli Say Y here if you have a Toradex SMARC SoM. 25818672fe1SEmanuele Ghidoli 25918672fe1SEmanuele Ghidoli If unsure, say N. 26018672fe1SEmanuele Ghidoli 26180698507SEmil Renner Berthingconfig POWER_RESET_TPS65086 26280698507SEmil Renner Berthing bool "TPS65086 restart driver" 26380698507SEmil Renner Berthing depends on MFD_TPS65086 26480698507SEmil Renner Berthing help 26580698507SEmil Renner Berthing This driver adds support for resetting the TPS65086 PMIC on restart. 26680698507SEmil Renner Berthing 2670e545f57SLinus Walleijconfig POWER_RESET_VERSATILE 2680e545f57SLinus Walleij bool "ARM Versatile family reboot driver" 2690e545f57SLinus Walleij depends on ARM 2700e545f57SLinus Walleij depends on MFD_SYSCON 2710e545f57SLinus Walleij depends on OF 2720e545f57SLinus Walleij help 2730e545f57SLinus Walleij Power off and restart support for ARM Versatile family of 2740e545f57SLinus Walleij reference boards. 2750e545f57SLinus Walleij 2762655f51dSCatalin Marinasconfig POWER_RESET_VEXPRESS 277b52eafcdSPawel Moll bool "ARM Versatile Express power-off and reset driver" 278b52eafcdSPawel Moll depends on ARM || ARM64 279d0c7dc17SAnders Roxell depends on VEXPRESS_CONFIG=y 2802655f51dSCatalin Marinas help 2812655f51dSCatalin Marinas Power off and reset support for the ARM Ltd. Versatile 2822655f51dSCatalin Marinas Express boards. 28367778e0eSLoc Ho 28467778e0eSLoc Hoconfig POWER_RESET_XGENE 28567778e0eSLoc Ho bool "APM SoC X-Gene reset driver" 28667778e0eSLoc Ho depends on ARM64 28767778e0eSLoc Ho help 28867778e0eSLoc Ho Reboot support for the APM SoC X-Gene Eval boards. 289a3e01e80SIvan Khoronzhuk 290a3e01e80SIvan Khoronzhukconfig POWER_RESET_KEYSTONE 291a3e01e80SIvan Khoronzhuk bool "Keystone reset driver" 292e771e0a1SKrzysztof Kozlowski depends on ARCH_KEYSTONE || COMPILE_TEST 293e771e0a1SKrzysztof Kozlowski depends on HAS_IOMEM 294a3e01e80SIvan Khoronzhuk select MFD_SYSCON 295a3e01e80SIvan Khoronzhuk help 296a3e01e80SIvan Khoronzhuk Reboot support for the KEYSTONE SoCs. 297a3e01e80SIvan Khoronzhuk 29828124cc0SAurelien Jarnoconfig POWER_RESET_SPACEMIT_P1 29928124cc0SAurelien Jarno tristate "SpacemiT P1 poweroff and reset driver" 30028124cc0SAurelien Jarno depends on ARCH_SPACEMIT || COMPILE_TEST 30128124cc0SAurelien Jarno depends on MFD_SPACEMIT_P1 30228124cc0SAurelien Jarno default MFD_SPACEMIT_P1 30328124cc0SAurelien Jarno help 30428124cc0SAurelien Jarno This driver supports power-off and reset operations for the SpacemiT 30528124cc0SAurelien Jarno P1 PMIC. 30628124cc0SAurelien Jarno 30709fb07bcSFeng Kanconfig POWER_RESET_SYSCON 30809fb07bcSFeng Kan bool "Generic SYSCON regmap reset driver" 30950fa8617SLinus Torvalds depends on OF 3104f4bfe6bSRichard Weinberger depends on HAS_IOMEM 311afaebbdbSFeng Kan select MFD_SYSCON 31209fb07bcSFeng Kan help 31309fb07bcSFeng Kan Reboot support for generic SYSCON mapped register reset. 31450fa8617SLinus Torvalds 3158a577608SMoritz Fischerconfig POWER_RESET_SYSCON_POWEROFF 3168a577608SMoritz Fischer bool "Generic SYSCON regmap poweroff driver" 3178a577608SMoritz Fischer depends on OF 3184f4bfe6bSRichard Weinberger depends on HAS_IOMEM 3198a577608SMoritz Fischer select MFD_SYSCON 3208a577608SMoritz Fischer help 3218a577608SMoritz Fischer Poweroff support for generic SYSCON mapped register poweroff. 3228a577608SMoritz Fischer 323fa0f8d67SGeert Uytterhoevenconfig POWER_RESET_RMOBILE 324fa0f8d67SGeert Uytterhoeven tristate "Renesas R-Mobile reset driver" 325fa0f8d67SGeert Uytterhoeven depends on ARCH_RMOBILE || COMPILE_TEST 326039ab50bSRichard Weinberger depends on HAS_IOMEM 327fa0f8d67SGeert Uytterhoeven help 328fa0f8d67SGeert Uytterhoeven Reboot support for Renesas R-Mobile and SH-Mobile SoCs. 329fa0f8d67SGeert Uytterhoeven 3304fcd504eSAndy Yanconfig REBOOT_MODE 3314fcd504eSAndy Yan tristate 3324fcd504eSAndy Yan 3334fcd504eSAndy Yanconfig SYSCON_REBOOT_MODE 3344fcd504eSAndy Yan tristate "Generic SYSCON regmap reboot mode driver" 3354fcd504eSAndy Yan depends on OF 3367a4947cfSAndy Yan depends on MFD_SYSCON 3374fcd504eSAndy Yan select REBOOT_MODE 3384fcd504eSAndy Yan help 3394fcd504eSAndy Yan Say y here will enable reboot mode driver. This will 3404fcd504eSAndy Yan get reboot mode arguments and store it in SYSCON mapped 3414fcd504eSAndy Yan register, then the bootloader can read it to take different 3424fcd504eSAndy Yan action according to the mode. 3434fcd504eSAndy Yan 3443f5faf3aSBaolin Wangconfig POWER_RESET_SC27XX 345f78c55e3SBaolin Wang tristate "Spreadtrum SC27xx PMIC power-off driver" 3463f5faf3aSBaolin Wang depends on MFD_SC27XX_PMIC || COMPILE_TEST 3473f5faf3aSBaolin Wang help 3483f5faf3aSBaolin Wang This driver supports powering off a system through 3493f5faf3aSBaolin Wang Spreadtrum SC27xx series PMICs. The SC27xx series 3503f5faf3aSBaolin Wang PMICs includes the SC2720, SC2721, SC2723, SC2730 3513f5faf3aSBaolin Wang and SC2731 chips. 3523f5faf3aSBaolin Wang 3537a78a7f7SHan Nandorconfig NVMEM_REBOOT_MODE 3547a78a7f7SHan Nandor tristate "Generic NVMEM reboot mode driver" 355caa2b557SArnd Bergmann depends on OF 3567a78a7f7SHan Nandor select REBOOT_MODE 3577a78a7f7SHan Nandor help 3587a78a7f7SHan Nandor Say y here will enable reboot mode driver. This will 3597a78a7f7SHan Nandor get reboot mode arguments and store it in a NVMEM cell, 3607a78a7f7SHan Nandor then the bootloader can read it and take different 3617a78a7f7SHan Nandor action according to the mode. 3627a78a7f7SHan Nandor 363a4c0094fSAsmaa Mnebhiconfig POWER_MLXBF 364a4c0094fSAsmaa Mnebhi tristate "Mellanox BlueField power handling driver" 36582f07f1aSDavid Thompson depends on (GPIO_MLXBF2 || GPIO_MLXBF3) && ACPI 366a4c0094fSAsmaa Mnebhi help 367a4c0094fSAsmaa Mnebhi This driver supports reset or low power mode handling for Mellanox BlueField. 368a4c0094fSAsmaa Mnebhi 369ad9d2cd0SKuan-Wei Chiuconfig POWER_RESET_QEMU_VIRT_CTRL 370ad9d2cd0SKuan-Wei Chiu tristate "QEMU Virt Machine System Controller" 371ad9d2cd0SKuan-Wei Chiu depends on HAS_IOMEM 372ad9d2cd0SKuan-Wei Chiu help 373ad9d2cd0SKuan-Wei Chiu This driver supports the system reset and power off functionality 374ad9d2cd0SKuan-Wei Chiu provided by the QEMU 'virt-ctrl' device. 375ad9d2cd0SKuan-Wei Chiu 376ad9d2cd0SKuan-Wei Chiu Say Y here if you are running Linux on a QEMU virtual machine that 377ad9d2cd0SKuan-Wei Chiu provides this controller, such as the m68k virt machine. 378ad9d2cd0SKuan-Wei Chiu 3796ca4f460SMaxime Ripardendif 380