* [PATCH v2 0/3] arm64: dts: qcom: sc8180x: add IMEM and IPA nodes
@ 2026-11-26 14:10 Robert Ijtsma via B4 Relay
2026-11-26 14:10 ` [PATCH v2 1/3] dt-bindings: sram: Document qcom,sc8180x-imem compatible Robert Ijtsma via B4 Relay
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Robert Ijtsma via B4 Relay @ 2026-11-26 14:10 UTC (permalink / raw)
To: Bjorn Andersson, Konrad Dybcio, Abel Vesa, Rob Herring,
Krzysztof Kozlowski, Conor Dooley
Cc: linux-arm-msm, devicetree, linux-kernel, Robert Ijtsma
Depends-on: https://lore.kernel.org/r/20261126-qcom-ipa-sc8180x-v2-0-89eba621da95@gmail.com
The "qcom,sc8180x-ipa" binding patch in that series carries a
Reviewed-by from Krzysztof Kozlowski.
Signed-off-by: Robert Ijtsma <robertijtsma@gmail.com>
---
Changes in v2:
- Document qcom,sc8180x-imem in Documentation/devicetree/bindings/sram/sram.yaml.
- Add the SC8180X IMEM SRAM node (sram@14680000) with the IPA modem tables
slice (0x3d000, 8 KiB) and reference it via sram = <&ipa_modem_tables> on
the IPA node instead of relying on hardcoded driver IMEM addresses.
- Link to v1: https://lore.kernel.org/r/20261125-sc8180x-dts-ipa-v1-1-12e54c7e13b5@gmail.com
---
Robert Ijtsma (3):
dt-bindings: sram: Document qcom,sc8180x-imem compatible
arm64: dts: qcom: sc8180x: add IMEM node
arm64: dts: qcom: sc8180x: add IPA node
Documentation/devicetree/bindings/sram/sram.yaml | 1 +
arch/arm64/boot/dts/qcom/sc8180x.dtsi | 60 ++++++++++++++++++++++++
2 files changed, 61 insertions(+)
---
base-commit: ef922b721a5e99348fc1f5801fdeb427ee14ee9f
change-id: 20261125-sc8180x-dts-ipa-008e9e55c9bd
Best regards,
--
Robert Ijtsma <robertijtsma@gmail.com>
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH v2 1/3] dt-bindings: sram: Document qcom,sc8180x-imem compatible
2026-11-26 14:10 [PATCH v2 0/3] arm64: dts: qcom: sc8180x: add IMEM and IPA nodes Robert Ijtsma via B4 Relay
@ 2026-11-26 14:10 ` Robert Ijtsma via B4 Relay
2026-11-26 14:10 ` [PATCH v2 2/3] arm64: dts: qcom: sc8180x: add IMEM node Robert Ijtsma via B4 Relay
2026-11-26 14:10 ` [PATCH v2 3/3] arm64: dts: qcom: sc8180x: add IPA node Robert Ijtsma via B4 Relay
2 siblings, 0 replies; 5+ messages in thread
From: Robert Ijtsma via B4 Relay @ 2026-11-26 14:10 UTC (permalink / raw)
To: Bjorn Andersson, Konrad Dybcio, Abel Vesa, Rob Herring,
Krzysztof Kozlowski, Conor Dooley
Cc: linux-arm-msm, devicetree, linux-kernel, Robert Ijtsma
From: Robert Ijtsma <robertijtsma@gmail.com>
Add compatible for the Qualcomm SC8180X SoC IMEM region.
Signed-off-by: Robert Ijtsma <robertijtsma@gmail.com>
---
Documentation/devicetree/bindings/sram/sram.yaml | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/sram/sram.yaml b/Documentation/devicetree/bindings/sram/sram.yaml
index b09a70b3d57652f79a4ae813cfac2ca677ecffbb..f12dcb1d1e2fa5414fba8a9304893e2c6b6af319 100644
--- a/Documentation/devicetree/bindings/sram/sram.yaml
+++ b/Documentation/devicetree/bindings/sram/sram.yaml
@@ -44,6 +44,7 @@ properties:
- qcom,maili-imem
- qcom,milos-imem
- qcom,rpm-msg-ram
+ - qcom,sc8180x-imem
- qcom,shikra-imem
- rockchip,rk3288-pmu-sram
- samsung,exynos850-acpm-sram
--
2.47.3
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH v2 2/3] arm64: dts: qcom: sc8180x: add IMEM node
2026-11-26 14:10 [PATCH v2 0/3] arm64: dts: qcom: sc8180x: add IMEM and IPA nodes Robert Ijtsma via B4 Relay
2026-11-26 14:10 ` [PATCH v2 1/3] dt-bindings: sram: Document qcom,sc8180x-imem compatible Robert Ijtsma via B4 Relay
@ 2026-11-26 14:10 ` Robert Ijtsma via B4 Relay
2026-11-26 14:10 ` [PATCH v2 3/3] arm64: dts: qcom: sc8180x: add IPA node Robert Ijtsma via B4 Relay
2 siblings, 0 replies; 5+ messages in thread
From: Robert Ijtsma via B4 Relay @ 2026-11-26 14:10 UTC (permalink / raw)
To: Bjorn Andersson, Konrad Dybcio, Abel Vesa, Rob Herring,
Krzysztof Kozlowski, Conor Dooley
Cc: linux-arm-msm, devicetree, linux-kernel, Robert Ijtsma
From: Robert Ijtsma <robertijtsma@gmail.com>
Add the SC8180X IMEM SRAM node (sram@14680000) and describe the 8 KiB
IPA modem tables region (0x146bd000) as a child slice so IPA can map
it via the devicetree sram phandle.
Signed-off-by: Robert Ijtsma <robertijtsma@gmail.com>
---
arch/arm64/boot/dts/qcom/sc8180x.dtsi | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/sc8180x.dtsi b/arch/arm64/boot/dts/qcom/sc8180x.dtsi
index be79608b7161a0786463fe93e22798080ebba93c..7865054a3fafb85e34daa31b985e3c66f8d7e03f 100644
--- a/arch/arm64/boot/dts/qcom/sc8180x.dtsi
+++ b/arch/arm64/boot/dts/qcom/sc8180x.dtsi
@@ -3623,6 +3623,21 @@ spmi_bus: spmi@c440000 {
#interrupt-cells = <4>;
};
+ sram@14680000 {
+ compatible = "qcom,sc8180x-imem", "mmio-sram";
+ reg = <0x0 0x14680000 0x0 0x40000>;
+ ranges = <0x0 0x0 0x14680000 0x40000>;
+
+ no-memory-wc;
+
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ ipa_modem_tables: modem-tables-sram@3d000 {
+ reg = <0x3d000 0x2000>;
+ };
+ };
+
apps_smmu: iommu@15000000 {
compatible = "qcom,sc8180x-smmu-500", "arm,mmu-500";
reg = <0 0x15000000 0 0x100000>;
--
2.47.3
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH v2 3/3] arm64: dts: qcom: sc8180x: add IPA node
2026-11-26 14:10 [PATCH v2 0/3] arm64: dts: qcom: sc8180x: add IMEM and IPA nodes Robert Ijtsma via B4 Relay
2026-11-26 14:10 ` [PATCH v2 1/3] dt-bindings: sram: Document qcom,sc8180x-imem compatible Robert Ijtsma via B4 Relay
2026-11-26 14:10 ` [PATCH v2 2/3] arm64: dts: qcom: sc8180x: add IMEM node Robert Ijtsma via B4 Relay
@ 2026-11-26 14:10 ` Robert Ijtsma via B4 Relay
2026-11-26 14:23 ` sashiko-bot
2 siblings, 1 reply; 5+ messages in thread
From: Robert Ijtsma via B4 Relay @ 2026-11-26 14:10 UTC (permalink / raw)
To: Bjorn Andersson, Konrad Dybcio, Abel Vesa, Rob Herring,
Krzysztof Kozlowski, Conor Dooley
Cc: linux-arm-msm, devicetree, linux-kernel, Robert Ijtsma
From: Robert Ijtsma <robertijtsma@gmail.com>
Add the disabled IPA v4.1 (ipa@1e40000) SoC node to sc8180x.dtsi with
its register regions, GIC and SMP2P interrupts, RPMh core clock,
interconnects, SMMU streams, AOSS QMP handle, SMP2P SMEM states, and
IMEM sram reference so board devicetrees can enable IPA with their
board-specific firmware and reserved memory region.
Signed-off-by: Robert Ijtsma <robertijtsma@gmail.com>
---
arch/arm64/boot/dts/qcom/sc8180x.dtsi | 45 +++++++++++++++++++++++++++++++++++
1 file changed, 45 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/sc8180x.dtsi b/arch/arm64/boot/dts/qcom/sc8180x.dtsi
index 7865054a3fafb85e34daa31b985e3c66f8d7e03f..149d8062551b0d940006a8fc4c7f3235f468d6a2 100644
--- a/arch/arm64/boot/dts/qcom/sc8180x.dtsi
+++ b/arch/arm64/boot/dts/qcom/sc8180x.dtsi
@@ -2261,6 +2261,51 @@ ufs_mem_phy: phy-wrapper@1d87000 {
status = "disabled";
};
+ ipa: ipa@1e40000 {
+ compatible = "qcom,sc8180x-ipa";
+ reg = <0x0 0x01e40000 0x0 0x7000>,
+ <0x0 0x01e47000 0x0 0x4000>,
+ <0x0 0x01e04000 0x0 0x2c000>;
+ reg-names = "ipa-reg",
+ "ipa-shared",
+ "gsi";
+
+ interrupts-extended = <&intc GIC_SPI 311 IRQ_TYPE_EDGE_RISING>,
+ <&intc GIC_SPI 432 IRQ_TYPE_LEVEL_HIGH>,
+ <&modem_smp2p_ipa_in 0 IRQ_TYPE_EDGE_RISING>,
+ <&modem_smp2p_ipa_in 1 IRQ_TYPE_EDGE_RISING>;
+ interrupt-names = "ipa",
+ "gsi",
+ "ipa-clock-query",
+ "ipa-setup-ready";
+
+ clocks = <&rpmhcc RPMH_IPA_CLK>;
+ clock-names = "core";
+
+ interconnects = <&aggre2_noc MASTER_IPA QCOM_ICC_TAG_ALWAYS
+ &mc_virt SLAVE_EBI_CH0 QCOM_ICC_TAG_ALWAYS>,
+ <&aggre2_noc MASTER_IPA QCOM_ICC_TAG_ALWAYS
+ &system_noc SLAVE_OCIMEM QCOM_ICC_TAG_ALWAYS>,
+ <&gem_noc MASTER_AMPSS_M0 QCOM_ICC_TAG_ALWAYS
+ &config_noc SLAVE_IPA_CFG QCOM_ICC_TAG_ALWAYS>;
+ interconnect-names = "memory",
+ "imem",
+ "config";
+
+ iommus = <&apps_smmu 0x520 0x0>,
+ <&apps_smmu 0x522 0x0>;
+
+ qcom,qmp = <&aoss_qmp>;
+ qcom,smem-states = <&modem_smp2p_ipa_out 0>,
+ <&modem_smp2p_ipa_out 1>;
+ qcom,smem-state-names = "ipa-clock-enabled-valid",
+ "ipa-clock-enabled";
+
+ sram = <&ipa_modem_tables>;
+
+ status = "disabled";
+ };
+
tcsr_mutex: hwlock@1f40000 {
compatible = "qcom,tcsr-mutex";
reg = <0x0 0x01f40000 0x0 0x40000>;
--
2.47.3
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH v2 3/3] arm64: dts: qcom: sc8180x: add IPA node
2026-11-26 14:10 ` [PATCH v2 3/3] arm64: dts: qcom: sc8180x: add IPA node Robert Ijtsma via B4 Relay
@ 2026-11-26 14:23 ` sashiko-bot
0 siblings, 0 replies; 5+ messages in thread
From: sashiko-bot @ 2026-11-26 14:23 UTC (permalink / raw)
To: Robert Ijtsma; +Cc: devicetree, robh, conor+dt
Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Medium] arm64: dts: qcom: sc8180x: undocumented qcom,sc8180x-ipa
compatible
--
commit 075e27a5ece4a20e3d262887ade0102e1f9c20d0
Author: Robert Ijtsma <robertijtsma@gmail.com>
arm64: dts: qcom: sc8180x: add IPA node
This commit adds a disabled IPA v4.1 device node (ipa@1e40000) to the
Qualcomm SC8180X SoC devicetree.
> diff --git a/arch/arm64/boot/dts/qcom/sc8180x.dtsi b/arch/arm64/boot/dts/qcom/sc8180x.dtsi
> index 7865054a3fafb..149d8062551b0 100644
> --- a/arch/arm64/boot/dts/qcom/sc8180x.dtsi
> +++ b/arch/arm64/boot/dts/qcom/sc8180x.dtsi
> @@ -2261,6 +2261,51 @@ ufs_mem_phy: phy-wrapper@1d87000 {
> status = "disabled";
> };
>
> + ipa: ipa@1e40000 {
> + compatible = "qcom,sc8180x-ipa";
[Severity: Medium]
Should "qcom,sc8180x-ipa" be documented in
Documentation/devicetree/bindings/net/qcom,ipa.yaml and added to ipa_match[]
in drivers/net/ipa/ipa_main.c before or along with this node?
Without a binding entry or fallback compatible string, dtbs_check and
checkpatch report an undocumented compatible and skip schema validation for
ipa@1e40000, and enabling the node on a board will not bind to the IPA
driver.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261126-sc8180x-dts-ipa-v2-0-e919ed1643c1@gmail.com?part=3
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2026-11-26 14:23 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-26 14:10 [PATCH v2 0/3] arm64: dts: qcom: sc8180x: add IMEM and IPA nodes Robert Ijtsma via B4 Relay
2026-11-26 14:10 ` [PATCH v2 1/3] dt-bindings: sram: Document qcom,sc8180x-imem compatible Robert Ijtsma via B4 Relay
2026-11-26 14:10 ` [PATCH v2 2/3] arm64: dts: qcom: sc8180x: add IMEM node Robert Ijtsma via B4 Relay
2026-11-26 14:10 ` [PATCH v2 3/3] arm64: dts: qcom: sc8180x: add IPA node Robert Ijtsma via B4 Relay
2026-11-26 14:23 ` sashiko-bot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox