Skip to content

Commit

Permalink
arm64: dts: qcom: pm8150: specify reboot mode magics
Browse files Browse the repository at this point in the history
Specify recovery and bootloader magic values to be programmed by the
qcom-pon driver. This allows the bootloader to handle
reboot-to-bootloader functionality.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Tested-by: Amit Pundir <amit.pundir@linaro.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20210916151341.1797512-2-dmitry.baryshkov@linaro.org
  • Loading branch information
Dmitry Baryshkov authored and Bjorn Andersson committed Sep 24, 2021
1 parent a153d31 commit c5c2437
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions arch/arm64/boot/dts/qcom/pm8150.dtsi
Original file line number Diff line number Diff line change
@@ -50,6 +50,8 @@
pon: power-on@800 {
compatible = "qcom,pm8998-pon";
reg = <0x0800>;
mode-bootloader = <0x2>;
mode-recovery = <0x1>;

pon_pwrkey: pwrkey {
compatible = "qcom,pm8941-pwrkey";

0 comments on commit c5c2437

Please sign in to comment.