Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 914adae5 authored by Susheel Khiani's avatar Susheel Khiani
Browse files

ARM: dts: msm: Update SID and interrupt entries for MSM 8916



HLOS is responsible for configuring SMMU registers
in non secure envrionment. Add SID to CB entries
for secure CB which would be used by HLOS when
secure environment is disabled. Also, for secure
context banks IOMMU driver would look for secure
interrupt number in context bank. As 8916 have
same line for secure and non secure interrupts,
replicate interrupt entries for secure CB.

Change-Id: Id9cd598c36e02e0f807dc2727646c6b0ba09845a
Signed-off-by: default avatarSusheel Khiani <skhiani@codeaurora.org>
parent 792ce78d
Loading
Loading
Loading
Loading
+10 −10
Original line number Diff line number Diff line
@@ -133,8 +133,8 @@
			compatible = "qcom,msm-smmu-v2-ctx";
			qcom,secure-context;
			reg = <0x1e32000 0x1000>;
			interrupts = <0 70 0>;
			qcom,iommu-ctx-sids = <0x0>;
			interrupts = <0 70 0>, <0 70 0>;
			qcom,iommu-ctx-sids = <0xc01>;
			label = "mdp_1";
		};

@@ -142,8 +142,8 @@
			compatible = "qcom,msm-smmu-v2-ctx";
			qcom,secure-context;
			reg = <0x1e33000 0x1000>;
			interrupts = <0 70 0>;
			qcom,iommu-ctx-sids = <0x0>;
			interrupts = <0 70 0>, <0 70 0>;
			qcom,iommu-ctx-sids = <0x880 0x881 0x882 0x883 0x884>;
			label = "venus_sec_pixel";
		};

@@ -151,8 +151,8 @@
			compatible = "qcom,msm-smmu-v2-ctx";
			qcom,secure-context;
			reg = <0x1e34000 0x1000>;
			interrupts = <0 70 0>;
			qcom,iommu-ctx-sids = <0x0>;
			interrupts = <0 70 0>, <0 70 0>;
			qcom,iommu-ctx-sids = <0x885>;
			label = "venus_sec_bitstream";
		};

@@ -160,8 +160,8 @@
			compatible = "qcom,msm-smmu-v2-ctx";
			qcom,secure-context;
			reg = <0x1e35000 0x1000>;
			interrupts = <0 70 0>;
			qcom,iommu-ctx-sids = <0x0>;
			interrupts = <0 70 0>, <0 70 0>;
			qcom,iommu-ctx-sids = <0x887 0x8a0>;
			label = "venus_sec_non_pixel";
		};

@@ -169,8 +169,8 @@
			compatible = "qcom,msm-smmu-v2-ctx";
			qcom,secure-context;
			reg = <0x1e36000 0x1000>;
			interrupts = <0 70 0>;
			qcom,iommu-ctx-sids = <0x0>;
			interrupts = <0 70 0>, <0 70 0>;
			qcom,iommu-ctx-sids = <0x8c0 0x8c6>;
			label = "venus_fw";
		};