From 2917ef67e7bb134fd2c073d4f1e31925628bf963 Mon Sep 17 00:00:00 2001 From: Veerabhadrarao Badiganti Date: Mon, 1 Nov 2021 15:33:30 +0530 Subject: [PATCH] ARM: dts: msm: Ensure PCIe device is not in D3hot during reboot Avoid rebooting device while PCIe device state is in D3hot. Avoid this scenario by bringing the device out of D3hot state. Change-Id: If7a1fdccac294183bbbf28e744420bc2a9b2bbd6 --- bindings/pci/msm_ep_pcie.txt | 2 ++ qcom/sdxlemur.dtsi | 1 + 2 files changed, 3 insertions(+) diff --git a/bindings/pci/msm_ep_pcie.txt b/bindings/pci/msm_ep_pcie.txt index 425bddc9533d..734ab549c880 100644 --- a/bindings/pci/msm_ep_pcie.txt +++ b/bindings/pci/msm_ep_pcie.txt @@ -75,6 +75,8 @@ Optional Properties: - qcom,msm-bus,vectors-KBps - qcom,pcie-m2-autonomous: Enable L1ss sleep/exit to support M2 autonomous mode. - qcom,mhi-soc-reset-offset: AXI register offset to initiate a SOC reset. + - qcom,avoid-reboot-in-d3hot: Ensures device is not in D3hot during + reboot/panic. Example: diff --git a/qcom/sdxlemur.dtsi b/qcom/sdxlemur.dtsi index f83839249eba..daf2d7859546 100644 --- a/qcom/sdxlemur.dtsi +++ b/qcom/sdxlemur.dtsi @@ -986,6 +986,7 @@ qcom,mhi-soc-reset-offset = <0xb01b8>; qcom,aoss-rst-clr; qcom,aux-clk = <0x11>; + qcom,avoid-reboot-in-d3hot; qcom,phy-init = <0x1240 0x01 0x0 0x100c 0x02 0x0