From e5af6da719a1de6ff367bbaa1fe743ac9e9dd89b Mon Sep 17 00:00:00 2001 From: Ravi Kumar Bokka Date: Mon, 11 Nov 2024 10:17:01 +0530 Subject: [PATCH] ARM: dts: msm: Adding SMMU Proxy for Kera Adding smmu-proxy driver entries for Kera. Change-Id: I39ca8c95802e233b027dcfa02fd939c0097be9b6 Signed-off-by: Ravi Kumar Bokka --- qcom/kera-vm.dtsi | 33 +++++++++++++++++++++++++++++++++ qcom/kera.dtsi | 4 ++++ 2 files changed, 37 insertions(+) diff --git a/qcom/kera-vm.dtsi b/qcom/kera-vm.dtsi index 53c80032..dc51c7c7 100644 --- a/qcom/kera-vm.dtsi +++ b/qcom/kera-vm.dtsi @@ -5,6 +5,7 @@ #include #include +#include / { #address-cells = <0x2>; @@ -444,6 +445,38 @@ status = "disabled"; }; }; + + qti,smmu-proxy { + compatible = "smmu-proxy-receiver"; + }; + + qti,smmu-proxy-camera-cb { + compatible = "smmu-proxy-cb"; + qti,cb-id = ; + qcom,iommu-defer-smr-config; + iommus = <&apps_smmu 0x1810 0x20>, + <&apps_smmu 0x1C10 0x0>, + <&apps_smmu 0x18F0 0x0>; + dma-coherent; + }; + + qti,smmu-proxy-display-cb { + compatible = "smmu-proxy-cb"; + qti,cb-id = ; + qcom,iommu-defer-smr-config; + qcom,iommu-dma-addr-pool = <0x00020000 0xfffe0000>; + iommus = <&apps_smmu 0x801 0x0>; + dma-coherent; + }; + + qti,smmu-proxy-eva-cb { + compatible = "smmu-proxy-cb"; + qti,cb-id = ; + qcom,iommu-defer-smr-config; + qcom,iommu-dma-addr-pool = <0x00000000 0xffffffff>; + iommus = <&apps_smmu 0x1927 0x0>; + dma-coherent; + }; }; #include "msm-arm-smmu-kera-vm.dtsi" diff --git a/qcom/kera.dtsi b/qcom/kera.dtsi index 06d8bbc1..cd7438c1 100644 --- a/qcom/kera.dtsi +++ b/qcom/kera.dtsi @@ -1598,6 +1598,10 @@ #reset-cells = <1>; }; + qti,smmu-proxy { + compatible = "smmu-proxy-sender"; + }; + clk_virt: interconnect@0 { compatible = "qcom,kera-clk_virt"; #interconnect-cells = <1>;