[PATCH 0/7] Describe the IMEM present in Qualcomm IPQ SoC's

From: Kathiravan Thirumoorthy
Date: Wed Jul 02 2025 - 06:18:09 EST


Qualcomm IPQ SoCs also have the IMEM region and used for the various
debugging purposes like storing system restart reason and so on. As a
preparatory work, first describe the IMEM region and susbsequently add
the required features.

In IPQ8074 and IPQ6018, IMEM region size are 0x5FFF and 0x7FFF which are
little weird. I have cross checked with HW docs as well.

Across all SoCs, only initial 4KB can be accessed by all the masters in the
SoC, remaining regions are access protected.

DT binding patch and IPQ5424 DTS patch are from the series[1]. Dropped
the Rob's Ack from the binding patch since new entries are added.

[1]
https://lore.kernel.org/linux-arm-msm/20250610-wdt_reset_reason-v5-0-2d2835160ab5@xxxxxxxxxxxxxxxx/

Signed-off-by: Kathiravan Thirumoorthy <kathiravan.thirumoorthy@xxxxxxxxxxxxxxxx>
---
Kathiravan Thirumoorthy (7):
dt-bindings: sram: qcom,imem: Document Qualcomm IPQ SoC's IMEM compatibles
arm64: dts: qcom: ipq8074: Add the IMEM node
arm64: dts: qcom: ipq6018: Add the IMEM node
arm64: dts: qcom: ipq5018: Add the IMEM node
arm64: dts: qcom: ipq9574: Add the IMEM node
arm64: dts: qcom: ipq5332: Add the IMEM node
arm64: dts: qcom: ipq5424: Add the IMEM node

Documentation/devicetree/bindings/sram/qcom,imem.yaml | 6 ++++++
arch/arm64/boot/dts/qcom/ipq5018.dtsi | 9 +++++++++
arch/arm64/boot/dts/qcom/ipq5332.dtsi | 9 +++++++++
arch/arm64/boot/dts/qcom/ipq5424.dtsi | 9 +++++++++
arch/arm64/boot/dts/qcom/ipq6018.dtsi | 9 +++++++++
arch/arm64/boot/dts/qcom/ipq8074.dtsi | 9 +++++++++
arch/arm64/boot/dts/qcom/ipq9574.dtsi | 9 +++++++++
7 files changed, 60 insertions(+)
---
base-commit: 3f804361f3b9af33e00b90ec9cb5afcc96831e60
change-id: 20250702-imem-9799ae786170

Best regards,
--
Kathiravan Thirumoorthy <kathiravan.thirumoorthy@xxxxxxxxxxxxxxxx>