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 <mukesh.ojha@oss.qualcomm.com>
Acked-by: Rob Herring (Arm) <robh@kernel.org>
Link: https://lore.kernel.org/r/20260624190830.3131112-2-mukesh.ojha@oss.qualcomm.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
This commit is contained in:
Mukesh Ojha
2026-06-25 00:38:12 +05:30
committed by Bjorn Andersson
parent 0be72be03c
commit bc3c98b776

View File

@@ -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: