From bc3c98b7761f98d2e4aa72259feb2b0902c1e86f Mon Sep 17 00:00:00 2001 From: Mukesh Ojha Date: Thu, 25 Jun 2026 00:38:12 +0530 Subject: [PATCH] dt-bindings: firmware: qcom,scm: Add minidump SRAM property On Qualcomm SoCs that support minidump, a word in always-on SRAM is shared between the Operating System(HLOS) and boot firmware. OS is expected to select the minidump download destination either USB upload to a host PC or save to on-device storage. Boot firmware will reads this word before DDR is initialized on the warm reset following a crash to decide where to deliver the minidump. Add a 'sram' property to the SCM binding to allow the OS to identify this SRAM region via a phandle. Signed-off-by: Mukesh Ojha Acked-by: Rob Herring (Arm) Link: https://lore.kernel.org/r/20260624190830.3131112-2-mukesh.ojha@oss.qualcomm.com Signed-off-by: Bjorn Andersson --- Documentation/devicetree/bindings/firmware/qcom,scm.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Documentation/devicetree/bindings/firmware/qcom,scm.yaml b/Documentation/devicetree/bindings/firmware/qcom,scm.yaml index f344d1390b1b..24a49613c869 100644 --- a/Documentation/devicetree/bindings/firmware/qcom,scm.yaml +++ b/Documentation/devicetree/bindings/firmware/qcom,scm.yaml @@ -130,6 +130,13 @@ properties: - description: offset of the download mode control register description: TCSR hardware block + sram: + description: + Phandle to a region in always-on SRAM used to store the download + mode value for boot firmware to read before DDR is initialised on + the next warm reset. + maxItems: 1 + allOf: # Clocks - if: