diff mbox series

[2/3] arm64: dts: qcom: pm8150: specify reboot mode magics

Message ID 20210916151341.1797512-2-dmitry.baryshkov@linaro.org
State Accepted
Commit c5c24373ad0cb412002fe543683eab34189ec5ba
Headers show
Series [1/3] arm64: dts: qcom: pm8150: use qcom,pm8998-pon binding | expand

Commit Message

Dmitry Baryshkov Sept. 16, 2021, 3:13 p.m. UTC
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>

---
 arch/arm64/boot/dts/qcom/pm8150.dtsi | 2 ++
 1 file changed, 2 insertions(+)

-- 
2.33.0
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/qcom/pm8150.dtsi b/arch/arm64/boot/dts/qcom/pm8150.dtsi
index 00385b1fd358..0df76f7b1cc1 100644
--- a/arch/arm64/boot/dts/qcom/pm8150.dtsi
+++ b/arch/arm64/boot/dts/qcom/pm8150.dtsi
@@ -50,6 +50,8 @@  pm8150_0: pmic@0 {
 		pon: power-on@800 {
 			compatible = "qcom,pm8998-pon";
 			reg = <0x0800>;
+			mode-bootloader = <0x2>;
+			mode-recovery = <0x1>;
 
 			pon_pwrkey: pwrkey {
 				compatible = "qcom,pm8941-pwrkey";