diff mbox series

[net-next,v2,1/1] arm64: dts: sdm845: add IPA iommus property

Message ID 20200504181350.22822-1-elder@linaro.org (mailing list archive)
State Accepted
Commit e9e89c45bfeb0d6196cd318d5e9231a211684d33
Headers show
Series [net-next,v2,1/1] arm64: dts: sdm845: add IPA iommus property | expand

Commit Message

Alex Elder May 4, 2020, 6:13 p.m. UTC
Add an "iommus" property to the IPA node in "sdm845.dtsi".  It is
required because there are two regions of memory the IPA accesses
through an SMMU.  The next few patches define and map those regions.

Signed-off-by: Alex Elder <elder@linaro.org>
---

NOTE: This was posted in error previously as part of another series,
      which has since been superseded (and no longer includes it).
      https://lore.kernel.org/netdev/20200504175859.22606-1-elder@linaro.org/

 arch/arm64/boot/dts/qcom/sdm845.dtsi | 2 ++
 1 file changed, 2 insertions(+)

Comments

David Miller May 7, 2020, 12:28 a.m. UTC | #1
From: Alex Elder <elder@linaro.org>
Date: Mon,  4 May 2020 13:13:50 -0500

> Add an "iommus" property to the IPA node in "sdm845.dtsi".  It is
> required because there are two regions of memory the IPA accesses
> through an SMMU.  The next few patches define and map those regions.
> 
> Signed-off-by: Alex Elder <elder@linaro.org>

Applied.
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/dts/qcom/sdm845.dtsi
index 71dfdfcf2033..7cce6f1b7c9e 100644
--- a/arch/arm64/boot/dts/qcom/sdm845.dtsi
+++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi
@@ -1762,6 +1762,8 @@ 
 
 		ipa: ipa@1e40000 {
 			compatible = "qcom,sdm845-ipa";
+
+			iommus = <&apps_smmu 0x720 0x3>;
 			reg = <0 0x1e40000 0 0x7000>,
 			      <0 0x1e47000 0 0x2000>,
 			      <0 0x1e04000 0 0x2c000>;