Squashed backup commit (no shallow-clone history issues) of xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2 branch, upstream commit 9eece662e) plus all fixes applied to get everpal_defconfig building clean against a modern (GCC 15.2.0) toolchain -- see the previous commit message on the lineage-23.2 branch (also in this repo history is not available here since this is a squashed snapshot; full incremental history lives in the local DL380 checkout and the upstream GitHub remote). Upstream: https://github.com/xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2)
24 lines
657 B
Plaintext
24 lines
657 B
Plaintext
i.mx6 Poweroff Driver
|
|
|
|
SNVS_LPCR in SNVS module can power off the whole system by pull
|
|
PMIC_ON_REQ low if PMIC_ON_REQ is connected with external PMIC.
|
|
If you don't want to use PMIC_ON_REQ as power on/off control,
|
|
please set status='disabled' to disable this driver.
|
|
|
|
Required Properties:
|
|
-compatible: "fsl,sec-v4.0-poweroff"
|
|
-reg: Specifies the physical address of the SNVS_LPCR register
|
|
|
|
Example:
|
|
snvs@020cc000 {
|
|
compatible = "fsl,sec-v4.0-mon", "simple-bus";
|
|
#address-cells = <1>;
|
|
#size-cells = <1>;
|
|
ranges = <0 0x020cc000 0x4000>;
|
|
.....
|
|
snvs_poweroff: snvs-poweroff@38 {
|
|
compatible = "fsl,sec-v4.0-poweroff";
|
|
reg = <0x38 0x4>;
|
|
};
|
|
}
|