mirror of
https://github.com/commaai/agnos-kernel-sdm845.git
synced 2026-06-08 03:15:12 +08:00
move to device tree
This commit is contained in:
@@ -9,6 +9,10 @@ Required Properties:
|
||||
-compatible: "qcom,pshold"
|
||||
-reg: Specifies the physical address of the ps-hold register
|
||||
|
||||
Optional Properties:
|
||||
-qcom,force-warm-reboot: Issue a warm reboot, even for the traditional cases
|
||||
where hard reboot is issued.
|
||||
|
||||
Example:
|
||||
|
||||
restart@fc4ab000 {
|
||||
|
||||
@@ -633,3 +633,8 @@
|
||||
qcom,wsa-aux-dev-prefix = "SpkrLeft", "SpkrRight", "SpkrLeft", "SpkrRight";*/
|
||||
};
|
||||
|
||||
&soc {
|
||||
restart@10ac000 {
|
||||
qcom,force-warm-reboot;
|
||||
};
|
||||
};
|
||||
|
||||
@@ -304,7 +304,6 @@ static void msm_restart_prepare(const char *cmd)
|
||||
(cmd != NULL && cmd[0] != '\0'));
|
||||
}
|
||||
|
||||
force_warm_reboot = true;
|
||||
if (force_warm_reboot)
|
||||
pr_info("Forcing a warm reset of the system\n");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user