From 54ca7ea881b18cc378514f9db486e244275e0e88 Mon Sep 17 00:00:00 2001 From: Raghavendra Rao Ananta Date: Fri, 7 Aug 2020 16:57:24 -0700 Subject: [PATCH 1/2] dt-bindings: imem: Add qcom,msm-imem-pil-disable-timeout Add the device-tree bindings information for qcom,msm-imem-pil-disable-timeout property. Change-Id: I979191a77de40034aecca32eac42e76ab212a13b --- bindings/arm/msm/imem.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bindings/arm/msm/imem.yaml b/bindings/arm/msm/imem.yaml index 171c12de31ac..d2b35b030fc3 100644 --- a/bindings/arm/msm/imem.yaml +++ b/bindings/arm/msm/imem.yaml @@ -69,6 +69,9 @@ patternProperties: - const: qcom,msm-imem-diag-dload description: USB Diag download mode region + - const: qcom,msm-imem-pil-disable-timeout + description: Offset to set PIL debug cookie + reg: description: Start address and the size of the region From 0d77e08d33b64cb53feaeceb6df6c710f8b38687 Mon Sep 17 00:00:00 2001 From: Raghavendra Rao Ananta Date: Fri, 7 Aug 2020 16:43:54 -0700 Subject: [PATCH 2/2] ARM: dts: msm: Add IMEM location to disable PIL timeout Add an IMEM entry which records the cookie to disable the PIL timeout. Change-Id: I5540b77aeac024482362dade79f4b9193d204aae --- qcom/lahaina.dtsi | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/qcom/lahaina.dtsi b/qcom/lahaina.dtsi index 0b9a463ccb02..6041c1e8bfff 100644 --- a/qcom/lahaina.dtsi +++ b/qcom/lahaina.dtsi @@ -2072,6 +2072,11 @@ reg = <0x94c 0xc8>; }; + pil@6dc { + compatible = "qcom,msm-imem-pil-disable-timeout"; + reg = <0x6dc 0x4>; + }; + diag_dload@c8 { compatible = "qcom,msm-imem-diag-dload"; reg = <0xc8 0xc8>;