All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH net-next 0/2] arm64: dts: qcom: enable SM8350
@ 2021-04-13 17:05 Alex Elder
  2021-04-13 17:05 ` [PATCH net-next 1/2] arm64: dts: qcom: sm8350: add IPA information Alex Elder
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Alex Elder @ 2021-04-13 17:05 UTC (permalink / raw)
  To: bjorn.andersson, agross; +Cc: robh+dt, linux-arm-msm, devicetree, linux-kernel

Add IPA-related information to "sm8350.dtsi", and enable IPA for the
SM8350 MTP platform.

					-Alex

Alex Elder (2):
  arm64: dts: qcom: sm8350: add IPA information
  arm64: dts: qcom: sm8350-mtp: enable IPA

 arch/arm64/boot/dts/qcom/sm8350-mtp.dts |  6 +++
 arch/arm64/boot/dts/qcom/sm8350.dtsi    | 51 +++++++++++++++++++++++++
 2 files changed, 57 insertions(+)

-- 
2.27.0


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

* [PATCH net-next 1/2] arm64: dts: qcom: sm8350: add IPA information
  2021-04-13 17:05 [PATCH net-next 0/2] arm64: dts: qcom: enable SM8350 Alex Elder
@ 2021-04-13 17:05 ` Alex Elder
  2021-04-13 17:05 ` [PATCH net-next 2/2] arm64: dts: qcom: sm8350-mtp: enable IPA Alex Elder
  2021-05-26 19:03 ` [PATCH net-next 0/2] arm64: dts: qcom: enable SM8350 patchwork-bot+linux-arm-msm
  2 siblings, 0 replies; 4+ messages in thread
From: Alex Elder @ 2021-04-13 17:05 UTC (permalink / raw)
  To: bjorn.andersson, agross; +Cc: robh+dt, linux-arm-msm, devicetree, linux-kernel

Add IPA-related nodes and definitions to "sm8350.dtsi", which uses
IPA v4.9.

Signed-off-by: Alex Elder <elder@linaro.org>
---
 arch/arm64/boot/dts/qcom/sm8350.dtsi | 51 ++++++++++++++++++++++++++++
 1 file changed, 51 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/sm8350.dtsi b/arch/arm64/boot/dts/qcom/sm8350.dtsi
index ed0b51bc03ea7..2fc23f3d2c75c 100644
--- a/arch/arm64/boot/dts/qcom/sm8350.dtsi
+++ b/arch/arm64/boot/dts/qcom/sm8350.dtsi
@@ -11,6 +11,7 @@
 #include <dt-bindings/power/qcom-rpmpd.h>
 #include <dt-bindings/soc/qcom,rpmh-rsc.h>
 #include <dt-bindings/thermal/thermal.h>
+#include <dt-bindings/interconnect/qcom,sm8350.h>
 
 / {
 	interrupt-parent = <&intc>;
@@ -391,6 +392,17 @@ smp2p_modem_in: slave-kernel {
 			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>;
+		};
 	};
 
 	smp2p-slpi {
@@ -629,6 +641,45 @@ compute_noc: interconnect@a0c0000{
 			qcom,bcm-voters = <&apps_bcm_voter>;
 		};
 
+		ipa: ipa@1e40000 {
+			compatible = "qcom,sm8350-ipa";
+
+			iommus = <&apps_smmu 0x5c0 0x0>,
+				 <&apps_smmu 0x5c2 0x0>;
+			reg = <0 0x1e40000 0 0x8000>,
+			      <0 0x1e50000 0 0x4b20>,
+			      <0 0x1e04000 0 0x23000>;
+			reg-names = "ipa-reg",
+				    "ipa-shared",
+				    "gsi";
+
+			interrupts-extended = <&intc GIC_SPI 655 IRQ_TYPE_EDGE_RISING>,
+					      <&intc GIC_SPI 432 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 = <&rpmhcc RPMH_IPA_CLK>;
+			clock-names = "core";
+
+			interconnects = <&aggre2_noc MASTER_IPA &gem_noc SLAVE_LLCC>,
+					<&mc_virt MASTER_LLCC &mc_virt SLAVE_EBI1>,
+					<&gem_noc MASTER_APPSS_PROC &config_noc SLAVE_IPA_CFG>;
+			interconnect-names = "ipa_to_llcc",
+					     "llcc_to_ebi1",
+					     "appss_to_ipa";
+
+			qcom,smem-states = <&ipa_smp2p_out 0>,
+					   <&ipa_smp2p_out 1>;
+			qcom,smem-state-names = "ipa-clock-enabled-valid",
+						"ipa-clock-enabled";
+
+			status = "disabled";
+		};
+
 		tcsr_mutex: hwlock@1f40000 {
 			compatible = "qcom,tcsr-mutex";
 			reg = <0x0 0x01f40000 0x0 0x40000>;
-- 
2.27.0


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

* [PATCH net-next 2/2] arm64: dts: qcom: sm8350-mtp: enable IPA
  2021-04-13 17:05 [PATCH net-next 0/2] arm64: dts: qcom: enable SM8350 Alex Elder
  2021-04-13 17:05 ` [PATCH net-next 1/2] arm64: dts: qcom: sm8350: add IPA information Alex Elder
@ 2021-04-13 17:05 ` Alex Elder
  2021-05-26 19:03 ` [PATCH net-next 0/2] arm64: dts: qcom: enable SM8350 patchwork-bot+linux-arm-msm
  2 siblings, 0 replies; 4+ messages in thread
From: Alex Elder @ 2021-04-13 17:05 UTC (permalink / raw)
  To: bjorn.andersson, agross; +Cc: robh+dt, linux-arm-msm, devicetree, linux-kernel

Enable IPA for the SM8350 MTP.

Signed-off-by: Alex Elder <elder@linaro.org>
---
 arch/arm64/boot/dts/qcom/sm8350-mtp.dts | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/sm8350-mtp.dts b/arch/arm64/boot/dts/qcom/sm8350-mtp.dts
index 6ca638b4e3213..93740444dd1ea 100644
--- a/arch/arm64/boot/dts/qcom/sm8350-mtp.dts
+++ b/arch/arm64/boot/dts/qcom/sm8350-mtp.dts
@@ -364,3 +364,9 @@ &usb_2_qmpphy {
 	vdda-phy-supply = <&vreg_l6b_1p2>;
 	vdda-pll-supply = <&vreg_l5b_0p88>;
 };
+
+&ipa {
+	status = "okay";
+
+	memory-region = <&pil_ipa_fw_mem>;
+};
-- 
2.27.0


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

* Re: [PATCH net-next 0/2] arm64: dts: qcom: enable SM8350
  2021-04-13 17:05 [PATCH net-next 0/2] arm64: dts: qcom: enable SM8350 Alex Elder
  2021-04-13 17:05 ` [PATCH net-next 1/2] arm64: dts: qcom: sm8350: add IPA information Alex Elder
  2021-04-13 17:05 ` [PATCH net-next 2/2] arm64: dts: qcom: sm8350-mtp: enable IPA Alex Elder
@ 2021-05-26 19:03 ` patchwork-bot+linux-arm-msm
  2 siblings, 0 replies; 4+ messages in thread
From: patchwork-bot+linux-arm-msm @ 2021-05-26 19:03 UTC (permalink / raw)
  To: Alex Elder; +Cc: linux-arm-msm

Hello:

This series was applied to qcom/linux.git (refs/heads/for-next):

On Tue, 13 Apr 2021 12:05:51 -0500 you wrote:
> Add IPA-related information to "sm8350.dtsi", and enable IPA for the
> SM8350 MTP platform.
> 
> 					-Alex
> 
> Alex Elder (2):
>   arm64: dts: qcom: sm8350: add IPA information
>   arm64: dts: qcom: sm8350-mtp: enable IPA
> 
> [...]

Here is the summary with links:
  - [net-next,1/2] arm64: dts: qcom: sm8350: add IPA information
    https://git.kernel.org/qcom/c/f11d3e7da32e
  - [net-next,2/2] arm64: dts: qcom: sm8350-mtp: enable IPA
    https://git.kernel.org/qcom/c/adfea97e4929

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] 4+ messages in thread

end of thread, other threads:[~2021-05-26 19:03 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-13 17:05 [PATCH net-next 0/2] arm64: dts: qcom: enable SM8350 Alex Elder
2021-04-13 17:05 ` [PATCH net-next 1/2] arm64: dts: qcom: sm8350: add IPA information Alex Elder
2021-04-13 17:05 ` [PATCH net-next 2/2] arm64: dts: qcom: sm8350-mtp: enable IPA Alex Elder
2021-05-26 19:03 ` [PATCH net-next 0/2] arm64: dts: qcom: enable SM8350 patchwork-bot+linux-arm-msm

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.