^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) # SPDX-License-Identifier: GPL-2.0-only
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) menuconfig POWER_RESET
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) bool "Board level reset or power off"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) Provides a number of drivers which either reset a complete board
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) or shut it down, by manipulating the main power supply on the board.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) Say Y here to enable board reset and power off
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) if POWER_RESET
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) config POWER_RESET_AS3722
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) bool "ams AS3722 power-off driver"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) depends on MFD_AS3722
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) This driver supports turning off board via a ams AS3722 power-off.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) config POWER_RESET_AT91_POWEROFF
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) tristate "Atmel AT91 poweroff driver"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) depends on ARCH_AT91
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) default SOC_AT91SAM9 || SOC_SAMA5
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) This driver supports poweroff for Atmel AT91SAM9 and SAMA5
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) SoCs
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) config POWER_RESET_AT91_RESET
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) tristate "Atmel AT91 reset driver"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) depends on ARCH_AT91
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) default SOC_AT91SAM9 || SOC_SAM9X60 || SOC_SAMA5
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) This driver supports restart for Atmel AT91SAM9 and SAMA5
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) SoCs
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) config POWER_RESET_AT91_SAMA5D2_SHDWC
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) tristate "Atmel AT91 SAMA5D2-Compatible shutdown controller driver"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) depends on ARCH_AT91
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) default SOC_SAM9X60 || SOC_SAMA5
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) This driver supports the alternate shutdown controller for some Atmel
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40) SAMA5 SoCs. It is present for example on SAMA5D2 SoC.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42) config POWER_RESET_AXXIA
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43) bool "LSI Axxia reset driver"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44) depends on ARCH_AXXIA
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 45) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 46) This driver supports restart for Axxia SoC.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 47)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 48) Say Y if you have an Axxia family SoC.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 49)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 50) config POWER_RESET_BRCMKONA
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 51) bool "Broadcom Kona reset driver"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 52) depends on ARM || COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 53) default ARCH_BCM_MOBILE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 54) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 55) This driver provides restart support for Broadcom Kona chips.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 56)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 57) Say Y here if you have a Broadcom Kona-based board and you wish
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 58) to have restart support.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 59)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 60) config POWER_RESET_BRCMSTB
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 61) bool "Broadcom STB reset driver"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 62) depends on ARM || ARM64 || MIPS || COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 63) depends on MFD_SYSCON
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 64) default ARCH_BRCMSTB || BMIPS_GENERIC
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 65) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 66) This driver provides restart support for Broadcom STB boards.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 67)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 68) Say Y here if you have a Broadcom STB board and you wish
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 69) to have restart support.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 70)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 71) config POWER_RESET_GEMINI_POWEROFF
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 72) bool "Cortina Gemini power-off driver"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 73) depends on ARCH_GEMINI || COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 74) depends on OF && HAS_IOMEM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 75) default ARCH_GEMINI
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 76) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 77) This driver supports turning off the Cortina Gemini SoC.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 78) Select this if you're building a kernel with Gemini SoC support.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 79)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 80) config POWER_RESET_GPIO
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 81) bool "GPIO power-off driver"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 82) depends on OF_GPIO
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 83) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 84) This driver supports turning off your board via a GPIO line.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 85) If your board needs a GPIO high/low to power down, say Y and
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 86) create a binding in your devicetree.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 87)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 88) config POWER_RESET_GPIO_RESTART
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 89) bool "GPIO restart driver"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 90) depends on OF_GPIO
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 91) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 92) This driver supports restarting your board via a GPIO line.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 93) If your board needs a GPIO high/low to restart, say Y and
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 94) create a binding in your devicetree.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 95)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 96) config POWER_RESET_HISI
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 97) bool "Hisilicon power-off driver"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 98) depends on ARCH_HISI
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 99) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 100) Reboot support for Hisilicon boards.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 101)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 102) config POWER_RESET_LINKSTATION
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 103) tristate "Buffalo LinkStation power-off driver"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 104) depends on ARCH_MVEBU || COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 105) depends on OF_MDIO && PHYLIB
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 106) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 107) This driver supports turning off some Buffalo LinkStations by
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 108) setting an output pin at the ethernet PHY to the correct state.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 109) It also makes the device compatible with the WoL function.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 110)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 111) Say Y here if you have a Buffalo LinkStation LS421D/E.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 112)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 113) config POWER_RESET_MSM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 114) bool "Qualcomm MSM power-off driver"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 115) depends on ARCH_QCOM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 116) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 117) Power off and restart support for Qualcomm boards.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 118)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 119) config POWER_RESET_QCOM_PON
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 120) tristate "Qualcomm power-on driver"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 121) depends on ARCH_QCOM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 122) depends on MFD_SPMI_PMIC
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 123) select REBOOT_MODE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 124) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 125) Power On support for Qualcomm boards.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 126) If you have a Qualcomm platform and need support for
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 127) power-on and reboot reason, Say Y.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 128) If unsure, Say N.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 129)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 130) config POWER_RESET_OCELOT_RESET
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 131) bool "Microsemi Ocelot reset driver"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 132) depends on MSCC_OCELOT || ARCH_SPARX5 || COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 133) select MFD_SYSCON
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 134) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 135) This driver supports restart for Microsemi Ocelot SoC and similar.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 136)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 137) config POWER_RESET_OXNAS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 138) bool "OXNAS SoC restart driver"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 139) depends on ARCH_OXNAS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 140) default MACH_OX820
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 141) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 142) Restart support for OXNAS/PLXTECH OX820 SoC.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 143)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 144) config POWER_RESET_PIIX4_POWEROFF
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 145) tristate "Intel PIIX4 power-off driver"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 146) depends on PCI
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 147) depends on MIPS || COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 148) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 149) This driver supports powering off a system using the Intel PIIX4
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 150) southbridge, for example the MIPS Malta development board. The
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 151) southbridge SOff state is entered in response to a request to
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 152) power off the system.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 153)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 154) config POWER_RESET_LTC2952
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 155) bool "LTC2952 PowerPath power-off driver"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 156) depends on OF_GPIO
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 157) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 158) This driver supports an external powerdown trigger and board power
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 159) down via the LTC2952. Bindings are made in the device tree.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 160)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 161) config POWER_RESET_MT6323
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 162) bool "MediaTek MT6323 power-off driver"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 163) depends on MFD_MT6397
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 164) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 165) The power-off driver is responsible for externally shutdown down
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 166) the power of a remote MediaTek SoC MT6323 is connected to through
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 167) controlling a tiny circuit BBPU inside MT6323 RTC.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 168)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 169) Say Y if you have a board where MT6323 could be found.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 170)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 171) config POWER_RESET_QNAP
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 172) bool "QNAP power-off driver"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 173) depends on OF_GPIO && PLAT_ORION
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 174) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 175) This driver supports turning off QNAP NAS devices by sending
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 176) commands to the microcontroller which controls the main power.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 177)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 178) Say Y if you have a QNAP NAS.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 179)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 180) config POWER_RESET_RESTART
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 181) bool "Restart power-off driver"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 182) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 183) Some boards don't actually have the ability to power off.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 184) Instead they restart, and u-boot holds the SoC until the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 185) user presses a key. u-boot then boots into Linux.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 186)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 187) config POWER_RESET_ST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 188) bool "ST restart driver"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 189) depends on ARCH_STI
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 190) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 191) Reset support for STMicroelectronics boards.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 192)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 193) config POWER_RESET_VERSATILE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 194) bool "ARM Versatile family reboot driver"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 195) depends on ARM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 196) depends on MFD_SYSCON
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 197) depends on OF
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 198) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 199) Power off and restart support for ARM Versatile family of
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 200) reference boards.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 201)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 202) config POWER_RESET_VEXPRESS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 203) bool "ARM Versatile Express power-off and reset driver"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 204) depends on ARM || ARM64
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 205) depends on VEXPRESS_CONFIG=y
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 206) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 207) Power off and reset support for the ARM Ltd. Versatile
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 208) Express boards.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 209)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 210) config POWER_RESET_XGENE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 211) bool "APM SoC X-Gene reset driver"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 212) depends on ARM64
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 213) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 214) Reboot support for the APM SoC X-Gene Eval boards.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 215)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 216) config POWER_RESET_KEYSTONE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 217) bool "Keystone reset driver"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 218) depends on ARCH_KEYSTONE || COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 219) depends on HAS_IOMEM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 220) select MFD_SYSCON
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 221) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 222) Reboot support for the KEYSTONE SoCs.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 223)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 224) config POWER_RESET_SYSCON
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 225) bool "Generic SYSCON regmap reset driver"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 226) depends on OF
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 227) depends on HAS_IOMEM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 228) select MFD_SYSCON
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 229) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 230) Reboot support for generic SYSCON mapped register reset.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 231)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 232) config POWER_RESET_SYSCON_POWEROFF
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 233) bool "Generic SYSCON regmap poweroff driver"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 234) depends on OF
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 235) depends on HAS_IOMEM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 236) select MFD_SYSCON
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 237) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 238) Poweroff support for generic SYSCON mapped register poweroff.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 239)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 240) config POWER_RESET_RMOBILE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 241) tristate "Renesas R-Mobile reset driver"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 242) depends on ARCH_RMOBILE || COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 243) depends on HAS_IOMEM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 244) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 245) Reboot support for Renesas R-Mobile and SH-Mobile SoCs.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 246)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 247) config POWER_RESET_ZX
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 248) tristate "ZTE SoCs reset driver"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 249) depends on ARCH_ZX || COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 250) depends on HAS_IOMEM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 251) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 252) Reboot support for ZTE SoCs.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 253)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 254) config REBOOT_MODE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 255) tristate
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 256)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 257) config SYSCON_REBOOT_MODE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 258) tristate "Generic SYSCON regmap reboot mode driver"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 259) depends on OF
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 260) depends on MFD_SYSCON
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 261) select REBOOT_MODE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 262) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 263) Say y here will enable reboot mode driver. This will
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 264) get reboot mode arguments and store it in SYSCON mapped
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 265) register, then the bootloader can read it to take different
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 266) action according to the mode.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 267)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 268) config POWER_RESET_SC27XX
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 269) tristate "Spreadtrum SC27xx PMIC power-off driver"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 270) depends on MFD_SC27XX_PMIC || COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 271) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 272) This driver supports powering off a system through
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 273) Spreadtrum SC27xx series PMICs. The SC27xx series
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 274) PMICs includes the SC2720, SC2721, SC2723, SC2730
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 275) and SC2731 chips.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 276)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 277) config NVMEM_REBOOT_MODE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 278) tristate "Generic NVMEM reboot mode driver"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 279) depends on OF
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 280) select REBOOT_MODE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 281) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 282) Say y here will enable reboot mode driver. This will
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 283) get reboot mode arguments and store it in a NVMEM cell,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 284) then the bootloader can read it and take different
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 285) action according to the mode.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 286)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 287) endif
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 288)