blob: 527a0f47ef448c1c39650a294eaadc3d9c2709ad [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
43 depends on POWER_RESET && ARM
44 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
Haojian Zhuang4a9b3732014-05-13 17:11:28 +080060config POWER_RESET_HISI
61 bool "Hisilicon power-off driver"
62 depends on POWER_RESET && ARCH_HISI
63 help
64 Reboot support for Hisilicon boards.
65
Abhimanyu Kapur78be3172013-07-30 17:05:28 -070066config POWER_RESET_MSM
67 bool "Qualcomm MSM power-off driver"
Maxime Ripard6ca4f4602014-07-01 16:58:40 +020068 depends on ARCH_QCOM
Abhimanyu Kapur78be3172013-07-30 17:05:28 -070069 help
70 Power off and restart support for Qualcomm boards.
71
Andrew Lunne8fc7212012-12-28 13:25:09 +010072config POWER_RESET_QNAP
73 bool "QNAP power-off driver"
Maxime Ripard6ca4f4602014-07-01 16:58:40 +020074 depends on OF_GPIO && PLAT_ORION
Andrew Lunne8fc7212012-12-28 13:25:09 +010075 help
76 This driver supports turning off QNAP NAS devices by sending
77 commands to the microcontroller which controls the main power.
78
79 Say Y if you have a QNAP NAS.
Andrew Lunnffd8f9a2012-12-28 13:25:11 +010080
81config POWER_RESET_RESTART
82 bool "Restart power-off driver"
83 depends on ARM
84 help
85 Some boards don't actually have the ability to power off.
86 Instead they restart, and u-boot holds the SoC until the
87 user presses a key. u-boot then boots into Linux.
Catalin Marinas2655f512013-01-15 11:24:14 +000088
Maxime Ripard1be7f552014-05-06 21:44:20 -050089config POWER_RESET_SUN6I
90 bool "Allwinner A31 SoC reset driver"
91 depends on ARCH_SUNXI
Maxime Ripard1be7f552014-05-06 21:44:20 -050092 help
93 Reboot support for the Allwinner A31 SoCs.
94
Linus Walleij0e545f52014-05-22 10:20:38 +020095config POWER_RESET_VERSATILE
96 bool "ARM Versatile family reboot driver"
97 depends on ARM
98 depends on MFD_SYSCON
99 depends on OF
100 help
101 Power off and restart support for ARM Versatile family of
102 reference boards.
103
Catalin Marinas2655f512013-01-15 11:24:14 +0000104config POWER_RESET_VEXPRESS
Pawel Mollb52eafc2013-06-10 16:12:01 +0100105 bool "ARM Versatile Express power-off and reset driver"
106 depends on ARM || ARM64
Maxime Ripard6ca4f4602014-07-01 16:58:40 +0200107 depends on VEXPRESS_CONFIG
Catalin Marinas2655f512013-01-15 11:24:14 +0000108 help
109 Power off and reset support for the ARM Ltd. Versatile
110 Express boards.
Loc Ho67778e0e2013-07-02 14:38:58 -0600111
112config POWER_RESET_XGENE
113 bool "APM SoC X-Gene reset driver"
114 depends on ARM64
Loc Ho67778e0e2013-07-02 14:38:58 -0600115 help
116 Reboot support for the APM SoC X-Gene Eval boards.
Ivan Khoronzhuka3e01e82014-05-23 16:32:39 -0400117
118config POWER_RESET_KEYSTONE
119 bool "Keystone reset driver"
120 depends on ARCH_KEYSTONE
121 select MFD_SYSCON
122 help
123 Reboot support for the KEYSTONE SoCs.
124
Maxime Ripard6ca4f4602014-07-01 16:58:40 +0200125endif