[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <76267be1-1ace-437f-9394-ee56d4e8ffb2@oss.qualcomm.com>
Date: Fri, 23 May 2025 21:39:10 +0200
From: Konrad Dybcio <konrad.dybcio@....qualcomm.com>
To: Wojciech Slenska <wojciech.slenska@...il.com>,
Andrew Lunn <andrew+netdev@...n.ch>,
"David S . Miller"
<davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>, Jakub Kicinski <kuba@...nel.org>,
Paolo Abeni <pabeni@...hat.com>, Rob Herring <robh@...nel.org>,
Krzysztof Kozlowski <krzk+dt@...nel.org>,
Conor Dooley <conor+dt@...nel.org>, Alex Elder <elder@...nel.org>,
Bjorn Andersson <andersson@...nel.org>,
Konrad Dybcio <konradybcio@...nel.org>
Cc: linux-arm-msm@...r.kernel.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org, netdev@...r.kernel.org
Subject: Re: [PATCH 2/2] arm64: dts: qcom: qcm2290: Add IPA nodes
On 12/20/24 8:35 AM, Wojciech Slenska wrote:
> Added IPA nodes and definitions.
>
> Signed-off-by: Wojciech Slenska <wojciech.slenska@...il.com>
> ---
> arch/arm64/boot/dts/qcom/qcm2290.dtsi | 52 +++++++++++++++++++++++++++
> 1 file changed, 52 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/qcom/qcm2290.dtsi b/arch/arm64/boot/dts/qcom/qcm2290.dtsi
> index 79bc42ffb6a1..0d39fd73888a 100644
> --- a/arch/arm64/boot/dts/qcom/qcm2290.dtsi
> +++ b/arch/arm64/boot/dts/qcom/qcm2290.dtsi
> @@ -428,6 +428,17 @@ 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 {
> @@ -1431,6 +1442,47 @@ usb_dwc3_ss: endpoint {
> };
> };
>
> + ipa: ipa@...0000 {
> + compatible = "qcom,qcm2290-ipa", "qcom,sc7180-ipa";
> +
> + iommus = <&apps_smmu 0x140 0x0>;
> + reg = <0x0 0x5840000 0x0 0x7000>,
> + <0x0 0x5847000 0x0 0x2000>,
> + <0x0 0x5804000 0x0 0x2c000>;
Please pad the address parts to 8 hex digits with leading zeroes
> + 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_ALWAYS_TAG
> + &config_noc SLAVE_IPA_CFG RPM_ALWAYS_TAG>;
this last path should be RPM_ACTIVE_TAG - that makes paths involving the
CPU automatically collapse (as per the power management uC's decision)
whenever it's possible
Konrad
Powered by blists - more mailing lists