Debian Codegraph @

common/Kconfig

raw
1 #
2 # Copyright © 2017-2022 The Crust Firmware Authors.
3 # SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0-only
4 #
5
6 menu "Firmware features"
7
8 config PMIC_SHUTDOWN
9 bool "Use PMIC for full hardware shutdown"
10 depends on PMIC
11 default y
12 help
13 Command the PMIC to turn off all outputs during the
14 shutdown procedure. This reduces power usage to almost
15 zero, but also stops the firmware. In this state, only a
16 power button connected directly to the PMIC can turn the
17 system back on.
18
19 If this option is disabled, the shutdown procedure will
20 be implemented in software only (similar to the suspend
21 procedure), so the firmware can turn the system back on.
22
23 Say Y if your board is powered by a battery, or N if you
24 need some other method of turning on the system, such as
25 an IR remote control or a GPIO input.
26
27 endmenu
28
29 source "debug/Kconfig"