blob: 028e765045196f89a9339f0dd5d733643b78fc66 [file] [log] [blame]
Jamie Lentin96ff0f52012-11-17 09:51:04 +01001menuconfig POWER_RESET
2 bool "Board level reset or power off"
3 help
4 Provides a number of drivers which either reset a complete board
5 or shut it down, by manipulating the main power supply on the board.
6
7 Say Y here to enable board reset and power off
8
Maxime Ripard6ca4f4602014-07-01 16:58:40 +02009if POWER_RESET
10
Laxman Dewangan56fb8de2013-12-20 18:54:00 +053011config POWER_RESET_AS3722
12 bool "ams AS3722 power-off driver"
Maxime Ripard6ca4f4602014-07-01 16:58:40 +020013 depends on MFD_AS3722
Laxman Dewangan56fb8de2013-12-20 18:54:00 +053014 help
15 This driver supports turning off board via a ams AS3722 power-off.
16
Maxime Ripardae499f02014-07-03 14:07:18 +020017config POWER_RESET_AT91_POWEROFF
18 bool "Atmel AT91 poweroff driver"
Nicolas Ferre94d450e2014-09-01 10:26:04 +020019 depends on ARCH_AT91
Maxime Ripardae499f02014-07-03 14:07:18 +020020 default SOC_AT91SAM9 || SOC_SAMA5
21 help
22 This driver supports poweroff for Atmel AT91SAM9 and SAMA5
23 SoCs
24
Maxime Ripardecfe64d2014-07-02 17:46:58 +020025config POWER_RESET_AT91_RESET
26 bool "Atmel AT91 reset driver"
Nicolas Ferre94d450e2014-09-01 10:26:04 +020027 depends on ARCH_AT91
Maxime Ripardecfe64d2014-07-02 17:46:58 +020028 default SOC_AT91SAM9 || SOC_SAMA5
29 help
30 This driver supports restart for Atmel AT91SAM9 and SAMA5
31 SoCs
32
Anders Berg4a315e32014-05-23 11:08:38 +020033config POWER_RESET_AXXIA
34 bool "LSI Axxia reset driver"
Maxime Ripard6ca4f4602014-07-01 16:58:40 +020035 depends on ARCH_AXXIA
Anders Berg4a315e32014-05-23 11:08:38 +020036 help
37 This driver supports restart for Axxia SoC.
38
39 Say Y if you have an Axxia family SoC.
40
Marc Carino030494e2014-07-22 16:48:03 -070041config POWER_RESET_BRCMSTB
42 bool "Broadcom STB reset driver" if COMPILE_TEST
Linus Torvalds50fa8612014-10-15 06:56:23 +020043 depends on ARM
Marc Carino030494e2014-07-22 16:48:03 -070044 default ARCH_BRCMSTB
45 help
46 This driver provides restart support for ARM-based Broadcom STB
47 boards.
48
49 Say Y here if you have an ARM-based Broadcom STB board and you wish
50 to have restart support.
51
Jamie Lentin96ff0f52012-11-17 09:51:04 +010052config POWER_RESET_GPIO
53 bool "GPIO power-off driver"
Maxime Ripard6ca4f4602014-07-01 16:58:40 +020054 depends on OF_GPIO
Jamie Lentin96ff0f52012-11-17 09:51:04 +010055 help
56 This driver supports turning off your board via a GPIO line.
57 If your board needs a GPIO high/low to power down, say Y and
58 create a binding in your devicetree.
Andrew Lunne8fc7212012-12-28 13:25:09 +010059
David Riley371bb202014-08-27 12:23:51 -070060config POWER_RESET_GPIO_RESTART
61 bool "GPIO restart driver"
Linus Torvalds50fa8612014-10-15 06:56:23 +020062 depends on OF_GPIO
David Riley371bb202014-08-27 12:23:51 -070063 help
64 This driver supports restarting your board via a GPIO line.
65 If your board needs a GPIO high/low to restart, say Y and
66 create a binding in your devicetree.
67
Haojian Zhuang4a9b3732014-05-13 17:11:28 +080068config POWER_RESET_HISI
69 bool "Hisilicon power-off driver"
Linus Torvalds50fa8612014-10-15 06:56:23 +020070 depends on ARCH_HISI
Haojian Zhuang4a9b3732014-05-13 17:11:28 +080071 help
72 Reboot support for Hisilicon boards.
73
Robin Gong3db47dc2014-11-12 16:20:38 +080074config POWER_RESET_IMX
75 bool "IMX6 power-off driver"
76 depends on POWER_RESET && SOC_IMX6
77 help
78 This driver support power off external PMIC by PMIC_ON_REQ on i.mx6
79 boards.If you want to use other pin to control external power,please
80 say N here or disable in dts to make sure pm_power_off never be
81 overwrote wrongly by this driver.
82
Abhimanyu Kapur78be31762013-07-30 17:05:28 -070083config POWER_RESET_MSM
84 bool "Qualcomm MSM power-off driver"
Maxime Ripard6ca4f4602014-07-01 16:58:40 +020085 depends on ARCH_QCOM
Abhimanyu Kapur78be31762013-07-30 17:05:28 -070086 help
87 Power off and restart support for Qualcomm boards.
88
René Moll66471562014-08-08 13:12:17 +000089config POWER_RESET_LTC2952
90 bool "LTC2952 PowerPath power-off driver"
Linus Torvalds50fa8612014-10-15 06:56:23 +020091 depends on OF_GPIO
René Moll66471562014-08-08 13:12:17 +000092 help
93 This driver supports an external powerdown trigger and board power
94 down via the LTC2952. Bindings are made in the device tree.
95
Andrew Lunne8fc7212012-12-28 13:25:09 +010096config POWER_RESET_QNAP
97 bool "QNAP power-off driver"
Maxime Ripard6ca4f4602014-07-01 16:58:40 +020098 depends on OF_GPIO && PLAT_ORION
Andrew Lunne8fc7212012-12-28 13:25:09 +010099 help
100 This driver supports turning off QNAP NAS devices by sending
101 commands to the microcontroller which controls the main power.
102
103 Say Y if you have a QNAP NAS.
Andrew Lunnffd8f9a2012-12-28 13:25:11 +0100104
105config POWER_RESET_RESTART
106 bool "Restart power-off driver"
107 depends on ARM
108 help
109 Some boards don't actually have the ability to power off.
110 Instead they restart, and u-boot holds the SoC until the
111 user presses a key. u-boot then boots into Linux.
Catalin Marinas2655f512013-01-15 11:24:14 +0000112
Maxime Ripard1be7f552014-05-06 21:44:20 -0500113config POWER_RESET_SUN6I
114 bool "Allwinner A31 SoC reset driver"
115 depends on ARCH_SUNXI
Maxime Ripard1be7f552014-05-06 21:44:20 -0500116 help
117 Reboot support for the Allwinner A31 SoCs.
118
Lee Jonesf0745f32014-07-22 15:52:28 +0100119config POWER_RESET_ST
120 bool "ST restart power-off driver"
Linus Torvalds50fa8612014-10-15 06:56:23 +0200121 depends on ARCH_STI
Lee Jonesf0745f32014-07-22 15:52:28 +0100122 help
123 Power off and reset support for STMicroelectronics boards.
124
Linus Walleij0e545f52014-05-22 10:20:38 +0200125config POWER_RESET_VERSATILE
126 bool "ARM Versatile family reboot driver"
127 depends on ARM
128 depends on MFD_SYSCON
129 depends on OF
130 help
131 Power off and restart support for ARM Versatile family of
132 reference boards.
133
Catalin Marinas2655f512013-01-15 11:24:14 +0000134config POWER_RESET_VEXPRESS
Pawel Mollb52eafc2013-06-10 16:12:01 +0100135 bool "ARM Versatile Express power-off and reset driver"
136 depends on ARM || ARM64
Maxime Ripard6ca4f4602014-07-01 16:58:40 +0200137 depends on VEXPRESS_CONFIG
Catalin Marinas2655f512013-01-15 11:24:14 +0000138 help
139 Power off and reset support for the ARM Ltd. Versatile
140 Express boards.
Loc Ho67778e0e2013-07-02 14:38:58 -0600141
142config POWER_RESET_XGENE
143 bool "APM SoC X-Gene reset driver"
144 depends on ARM64
Loc Ho67778e0e2013-07-02 14:38:58 -0600145 help
146 Reboot support for the APM SoC X-Gene Eval boards.
Ivan Khoronzhuka3e01e82014-05-23 16:32:39 -0400147
148config POWER_RESET_KEYSTONE
149 bool "Keystone reset driver"
150 depends on ARCH_KEYSTONE
151 select MFD_SYSCON
152 help
153 Reboot support for the KEYSTONE SoCs.
154
Feng Kan09fb07b2014-09-30 16:25:03 -0700155config POWER_RESET_SYSCON
156 bool "Generic SYSCON regmap reset driver"
Linus Torvalds50fa8612014-10-15 06:56:23 +0200157 depends on OF
Feng Kanafaebbd2014-10-02 11:24:15 -0700158 select MFD_SYSCON
Feng Kan09fb07b2014-09-30 16:25:03 -0700159 help
160 Reboot support for generic SYSCON mapped register reset.
Linus Torvalds50fa8612014-10-15 06:56:23 +0200161
Maxime Ripard6ca4f4602014-07-01 16:58:40 +0200162endif
Linus Torvalds50fa8612014-10-15 06:56:23 +0200163