move to device tree

This commit is contained in:
Willem Melching
2021-02-03 15:12:15 +01:00
parent 3680c462a3
commit 9119b9b501
3 changed files with 9 additions and 1 deletions

View File

@@ -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 {

View File

@@ -633,3 +633,8 @@
qcom,wsa-aux-dev-prefix = "SpkrLeft", "SpkrRight", "SpkrLeft", "SpkrRight";*/
};
&soc {
restart@10ac000 {
qcom,force-warm-reboot;
};
};

View File

@@ -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");