blob: 968d4b8ba47dcf994bd49fe915df6c72d238427e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
|
# SPDX-License-Identifier: GPL-2.0-only
#
config REBOOT_MODE
bool
config SYSCON_REBOOT_MODE
bool "Generic SYSCON regmap reboot mode driver"
depends on OFDEVICE
depends on MFD_SYSCON
select REBOOT_MODE
help
Say y here will enable reboot mode driver. This will
get reboot mode arguments and store it in SYSCON mapped
register, then the bootloader can read it to take different
config NVMEM_REBOOT_MODE
bool "Generic NVMEM reboot mode driver"
depends on OFDEVICE
depends on NVMEM
select REBOOT_MODE
help
Say y here will enable reboot mode driver. This will
get reboot mode arguments and store it in a NVMEM cell,
then the bootloader can read it and take different
action according to the mode.
config POWER_RESET_SYSCON
bool "Generic SYSCON regmap reset driver"
depends on OFDEVICE
select MFD_SYSCON
help
Reboot support for generic SYSCON mapped register reset.
config POWER_RESET_SYSCON_POWEROFF
bool "Generic SYSCON regmap poweroff driver"
depends on OFDEVICE
select MFD_SYSCON
help
Poweroff support for generic SYSCON mapped register poweroff.
config POWER_RESET_GPIO
bool "GPIO power-off driver"
depends on OF_GPIO
help
This driver supports turning off your board via a GPIO line.
If your board needs a GPIO high/low to power down, say Y and
create a binding in your devicetree.
config POWER_RESET_GPIO_RESTART
bool "GPIO restart driver"
depends on OF_GPIO
help
This driver supports restarting your board via a GPIO line.
If your board needs a GPIO high/low to restart, say Y and
create a binding in your devicetree.
config POWER_RESET_HTIF_POWEROFF
bool "HTIF poweroff driver"
depends on RISCV
help
Adds poweroff support via the syscall device on systems
supporting the UC Berkely Host/Target Interface (HTIF).
|