[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20260116062004.237356-3-sumit.garg@kernel.org>
Date: Fri, 16 Jan 2026 11:50:03 +0530
From: Sumit Garg <sumit.garg@...nel.org>
To: linux-arm-msm@...r.kernel.org,
devicetree@...r.kernel.org
Cc: andersson@...nel.org,
konradybcio@...nel.org,
robh@...nel.org,
krzk+dt@...nel.org,
conor+dt@...nel.org,
akhilpo@....qualcomm.com,
vikash.garodia@....qualcomm.com,
dikshita.agarwal@....qualcomm.com,
robin.clark@....qualcomm.com,
lumag@...nel.org,
loic.poulain@....qualcomm.com,
jorge.ramirez@....qualcomm.com,
linux-kernel@...r.kernel.org,
Sumit Garg <sumit.garg@....qualcomm.com>
Subject: [PATCH v2 2/3] media: dt-bindings: venus: Fix iommus property
From: Sumit Garg <sumit.garg@....qualcomm.com>
Fix IOMMU DT propety for venus via dropping SMMU stream IDs which
relates to secure context bank. Assigning Linux kernel (HLOS) VMID
to secure context bank stream IDs is incorrect.
The min value is added for iommus property to ensure in future when
secure context bank stream IDs are properly supported then the iommus
property is extensible.
These DT bindings changes should be backwards compatible.
Signed-off-by: Sumit Garg <sumit.garg@....qualcomm.com>
---
.../devicetree/bindings/media/qcom,qcm2290-venus.yaml | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/Documentation/devicetree/bindings/media/qcom,qcm2290-venus.yaml b/Documentation/devicetree/bindings/media/qcom,qcm2290-venus.yaml
index 3f3ee82fc878..ae6bc0d0bea6 100644
--- a/Documentation/devicetree/bindings/media/qcom,qcm2290-venus.yaml
+++ b/Documentation/devicetree/bindings/media/qcom,qcm2290-venus.yaml
@@ -42,6 +42,7 @@ properties:
- const: vcodec0_bus
iommus:
+ minItems: 2
maxItems: 5
interconnects:
@@ -102,10 +103,7 @@ examples:
memory-region = <&pil_video_mem>;
iommus = <&apps_smmu 0x860 0x0>,
- <&apps_smmu 0x880 0x0>,
- <&apps_smmu 0x861 0x04>,
- <&apps_smmu 0x863 0x0>,
- <&apps_smmu 0x804 0xe0>;
+ <&apps_smmu 0x880 0x0>;
interconnects = <&mmnrt_virt MASTER_VIDEO_P0 RPM_ALWAYS_TAG
&bimc SLAVE_EBI1 RPM_ALWAYS_TAG>,
--
2.51.0
Powered by blists - more mailing lists