public inbox for netdev@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] IPA support on qcm2290
@ 2026-03-10 11:22 Wojciech Slenska
  2026-03-10 11:22 ` [PATCH v2 1/2] dt-bindings: net: qcom,ipa: document qcm2290 compatible Wojciech Slenska
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Wojciech Slenska @ 2026-03-10 11:22 UTC (permalink / raw)
  To: Andrew Lunn, David S . Miller, Eric Dumazet, Jakub Kicinski,
	Paolo Abeni, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Alex Elder, Bjorn Andersson, Konrad Dybcio
  Cc: linux-arm-msm, devicetree, linux-kernel, netdev, Wojciech Slenska

This series adds IPA support for the QCM2290 SoC.

The configuration is based on SC7180, as both SoCs
implement IPA v4.2.

---
Changes in v2:
- Order fallback list by priority
- Add leading zeros to register addresses
- Use RPM_ACTIVE_TAG instead of RPM_ALWAYS_TAG in the last path
- Link to v1: https://lore.kernel.org/all/20241220073540.37631-1-wojciech.slenska@gmail.com

---
Wojciech Slenska (2):
  dt-bindings: net: qcom,ipa: document qcm2290 compatible
  arm64: dts: qcom: agatti: Add IPA nodes

 .../devicetree/bindings/net/qcom,ipa.yaml     |  4 ++
 arch/arm64/boot/dts/qcom/agatti.dtsi          | 53 +++++++++++++++++++
 2 files changed, 57 insertions(+)

-- 
2.43.0


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH v2 1/2] dt-bindings: net: qcom,ipa: document qcm2290 compatible
  2026-03-10 11:22 [PATCH v2 0/2] IPA support on qcm2290 Wojciech Slenska
@ 2026-03-10 11:22 ` Wojciech Slenska
  2026-03-10 11:22 ` [PATCH v2 2/2] arm64: dts: qcom: agatti: Add IPA nodes Wojciech Slenska
  2026-03-12 11:40 ` [PATCH v2 0/2] IPA support on qcm2290 patchwork-bot+netdevbpf
  2 siblings, 0 replies; 5+ messages in thread
From: Wojciech Slenska @ 2026-03-10 11:22 UTC (permalink / raw)
  To: Andrew Lunn, David S . Miller, Eric Dumazet, Jakub Kicinski,
	Paolo Abeni, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Alex Elder, Bjorn Andersson, Konrad Dybcio
  Cc: linux-arm-msm, devicetree, linux-kernel, netdev, Wojciech Slenska,
	Krzysztof Kozlowski

Document that ipa on qcm2290 uses version 4.2, the same
as sc7180.

Acked-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Wojciech Slenska <wojciech.slenska@gmail.com>
---
 Documentation/devicetree/bindings/net/qcom,ipa.yaml | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/Documentation/devicetree/bindings/net/qcom,ipa.yaml b/Documentation/devicetree/bindings/net/qcom,ipa.yaml
index c7f5f2ef7452..16851e599fc9 100644
--- a/Documentation/devicetree/bindings/net/qcom,ipa.yaml
+++ b/Documentation/devicetree/bindings/net/qcom,ipa.yaml
@@ -53,6 +53,10 @@ properties:
           - qcom,sm6350-ipa
           - qcom,sm8350-ipa
           - qcom,sm8550-ipa
+      - items:
+          - enum:
+              - qcom,qcm2290-ipa
+          - const: qcom,sc7180-ipa
       - items:
           - enum:
               - qcom,sm8650-ipa
-- 
2.43.0


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [PATCH v2 2/2] arm64: dts: qcom: agatti: Add IPA nodes
  2026-03-10 11:22 [PATCH v2 0/2] IPA support on qcm2290 Wojciech Slenska
  2026-03-10 11:22 ` [PATCH v2 1/2] dt-bindings: net: qcom,ipa: document qcm2290 compatible Wojciech Slenska
@ 2026-03-10 11:22 ` Wojciech Slenska
  2026-03-12 12:38   ` Dmitry Baryshkov
  2026-03-12 11:40 ` [PATCH v2 0/2] IPA support on qcm2290 patchwork-bot+netdevbpf
  2 siblings, 1 reply; 5+ messages in thread
From: Wojciech Slenska @ 2026-03-10 11:22 UTC (permalink / raw)
  To: Andrew Lunn, David S . Miller, Eric Dumazet, Jakub Kicinski,
	Paolo Abeni, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Alex Elder, Bjorn Andersson, Konrad Dybcio
  Cc: linux-arm-msm, devicetree, linux-kernel, netdev, Wojciech Slenska

Added IPA nodes and definitions.

Signed-off-by: Wojciech Slenska <wojciech.slenska@gmail.com>
---
 arch/arm64/boot/dts/qcom/agatti.dtsi | 53 ++++++++++++++++++++++++++++
 1 file changed, 53 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/agatti.dtsi b/arch/arm64/boot/dts/qcom/agatti.dtsi
index 76b93b7bd50f..dbaae258f3e7 100644
--- a/arch/arm64/boot/dts/qcom/agatti.dtsi
+++ b/arch/arm64/boot/dts/qcom/agatti.dtsi
@@ -433,6 +433,18 @@ wlan_smp2p_in: wlan-wpss-to-ap {
 			interrupt-controller;
 			#interrupt-cells = <2>;
 		};
+
+		ipa_smp2p_out: ipa-ap-to-modem {
+			qcom,entry-name = "ipa";
+			#qcom,smem-state-cells = <1>;
+		};
+
+		ipa_smp2p_in: ipa-modem-to-ap {
+			qcom,entry-name = "ipa";
+			interrupt-controller;
+			#interrupt-cells = <2>;
+		};
+
 	};
 
 	soc: soc@0 {
@@ -1641,6 +1653,47 @@ usb_dwc3_ss: endpoint {
 			};
 		};
 
+		ipa: ipa@5840000 {
+			compatible = "qcom,qcm2290-ipa", "qcom,sc7180-ipa";
+
+			iommus = <&apps_smmu 0x140 0x0>;
+			reg = <0x0 0x05840000 0x0 0x7000>,
+			      <0x0 0x05847000 0x0 0x2000>,
+			      <0x0 0x05804000 0x0 0x2c000>;
+			reg-names = "ipa-reg",
+				    "ipa-shared",
+				    "gsi";
+
+			interrupts-extended = <&intc GIC_SPI 257 IRQ_TYPE_EDGE_RISING>,
+					      <&intc GIC_SPI 259 IRQ_TYPE_LEVEL_HIGH>,
+					      <&ipa_smp2p_in 0 IRQ_TYPE_EDGE_RISING>,
+					      <&ipa_smp2p_in 1 IRQ_TYPE_EDGE_RISING>;
+			interrupt-names = "ipa",
+					  "gsi",
+					  "ipa-clock-query",
+					  "ipa-setup-ready";
+
+			clocks = <&rpmcc RPM_SMD_IPA_CLK>;
+			clock-names = "core";
+
+			interconnects = <&system_noc MASTER_IPA RPM_ALWAYS_TAG
+					 &bimc SLAVE_EBI1 RPM_ALWAYS_TAG>,
+					<&system_noc MASTER_IPA RPM_ALWAYS_TAG
+					 &system_noc SLAVE_IMEM RPM_ALWAYS_TAG>,
+					<&bimc MASTER_APPSS_PROC RPM_ACTIVE_TAG
+					 &config_noc SLAVE_IPA_CFG RPM_ACTIVE_TAG>;
+			interconnect-names = "memory",
+					     "imem",
+					     "config";
+
+			qcom,smem-states = <&ipa_smp2p_out 0>,
+					   <&ipa_smp2p_out 1>;
+			qcom,smem-state-names = "ipa-clock-enabled-valid",
+						"ipa-clock-enabled";
+
+			status = "disabled";
+		};
+
 		gpu: gpu@5900000 {
 			compatible = "qcom,adreno-07000200", "qcom,adreno";
 			reg = <0x0 0x05900000 0x0 0x40000>,
-- 
2.43.0


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH v2 0/2] IPA support on qcm2290
  2026-03-10 11:22 [PATCH v2 0/2] IPA support on qcm2290 Wojciech Slenska
  2026-03-10 11:22 ` [PATCH v2 1/2] dt-bindings: net: qcom,ipa: document qcm2290 compatible Wojciech Slenska
  2026-03-10 11:22 ` [PATCH v2 2/2] arm64: dts: qcom: agatti: Add IPA nodes Wojciech Slenska
@ 2026-03-12 11:40 ` patchwork-bot+netdevbpf
  2 siblings, 0 replies; 5+ messages in thread
From: patchwork-bot+netdevbpf @ 2026-03-12 11:40 UTC (permalink / raw)
  To: Wojciech Slenska
  Cc: andrew+netdev, davem, edumazet, kuba, pabeni, robh, krzk+dt,
	conor+dt, elder, andersson, konradybcio, linux-arm-msm,
	devicetree, linux-kernel, netdev

Hello:

This series was applied to netdev/net-next.git (main)
by Paolo Abeni <pabeni@redhat.com>:

On Tue, 10 Mar 2026 12:22:29 +0100 you wrote:
> This series adds IPA support for the QCM2290 SoC.
> 
> The configuration is based on SC7180, as both SoCs
> implement IPA v4.2.
> 
> ---
> Changes in v2:
> - Order fallback list by priority
> - Add leading zeros to register addresses
> - Use RPM_ACTIVE_TAG instead of RPM_ALWAYS_TAG in the last path
> - Link to v1: https://lore.kernel.org/all/20241220073540.37631-1-wojciech.slenska@gmail.com
> 
> [...]

Here is the summary with links:
  - [v2,1/2] dt-bindings: net: qcom,ipa: document qcm2290 compatible
    https://git.kernel.org/netdev/net-next/c/4320f1f111c5
  - [v2,2/2] arm64: dts: qcom: agatti: Add IPA nodes
    (no matching commit)

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH v2 2/2] arm64: dts: qcom: agatti: Add IPA nodes
  2026-03-10 11:22 ` [PATCH v2 2/2] arm64: dts: qcom: agatti: Add IPA nodes Wojciech Slenska
@ 2026-03-12 12:38   ` Dmitry Baryshkov
  0 siblings, 0 replies; 5+ messages in thread
From: Dmitry Baryshkov @ 2026-03-12 12:38 UTC (permalink / raw)
  To: Wojciech Slenska
  Cc: Andrew Lunn, David S . Miller, Eric Dumazet, Jakub Kicinski,
	Paolo Abeni, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Alex Elder, Bjorn Andersson, Konrad Dybcio, linux-arm-msm,
	devicetree, linux-kernel, netdev

On Tue, Mar 10, 2026 at 12:22:31PM +0100, Wojciech Slenska wrote:
> Added IPA nodes and definitions.
> 
> Signed-off-by: Wojciech Slenska <wojciech.slenska@gmail.com>
> ---
>  arch/arm64/boot/dts/qcom/agatti.dtsi | 53 ++++++++++++++++++++++++++++
>  1 file changed, 53 insertions(+)
> 

Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>



-- 
With best wishes
Dmitry

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2026-03-12 12:39 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-10 11:22 [PATCH v2 0/2] IPA support on qcm2290 Wojciech Slenska
2026-03-10 11:22 ` [PATCH v2 1/2] dt-bindings: net: qcom,ipa: document qcm2290 compatible Wojciech Slenska
2026-03-10 11:22 ` [PATCH v2 2/2] arm64: dts: qcom: agatti: Add IPA nodes Wojciech Slenska
2026-03-12 12:38   ` Dmitry Baryshkov
2026-03-12 11:40 ` [PATCH v2 0/2] IPA support on qcm2290 patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox