From fca4f8125c0714e08cf4f2dae20e914438ccb68a Mon Sep 17 00:00:00 2001 From: Anand Mohan Date: Fri, 22 Dec 2023 12:51:08 +0530 Subject: [PATCH] ARM: dts: qcom: sun: SMMU CB sharing across LPASS and WCNSS device tree entry to enable use of shared iommu group with WLAN for XPAN. Change-Id: Ib63d95b9e7081ffd43bbb124497b97722285fd67 Signed-off-by: Anand Mohan --- sun-audio.dtsi | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/sun-audio.dtsi b/sun-audio.dtsi index a96e4b4e..50e77c5b 100644 --- a/sun-audio.dtsi +++ b/sun-audio.dtsi @@ -1,6 +1,6 @@ // SPDX-License-Identifier: BSD-3-Clause /* - * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. + * Copyright (c) 2023-2024 Qualcomm Innovation Center, Inc. All rights reserved. */ #include @@ -57,9 +57,15 @@ qcom,smmu-version = <2>; qcom,smmu-enabled; iommus = <&apps_smmu 0x1001 0x0080>, <&apps_smmu 0x1061 0x0>; - qcom,iommu-dma-addr-pool = <0x10000000 0x10000000>; + memory-region = <&audio_cnss_resv_region>; + qcom,iommu-group = <&cnss_audio_iommu_group0>; qcom,smmu-sid-mask = /bits/ 64 <0xf>; dma-coherent; + + audio_cnss_resv_region: audio_cnss_resv_region { + iommu-addresses = <&msm_audio_ion 0x00000000 0x88000000>, + <&msm_audio_ion 0xb0000000 0x50000000>; + }; }; msm_audio_ion_cma: qcom,msm-audio-ion-cma {