]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
dt-bindings: media: venus: Fix iommus property
authorSumit Garg <sumit.garg@oss.qualcomm.com>
Thu, 22 Jan 2026 12:10:41 +0000 (17:40 +0530)
committerBjorn Andersson <andersson@kernel.org>
Tue, 24 Mar 2026 03:31:40 +0000 (22:31 -0500)
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 maximum value
for iommus property is updated accordingly.

These DT bindings changes should be backwards compatible.

Signed-off-by: Sumit Garg <sumit.garg@oss.qualcomm.com>
Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
Link: https://lore.kernel.org/r/20260122121042.579270-3-sumit.garg@kernel.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Documentation/devicetree/bindings/media/qcom,qcm2290-venus.yaml

index 3f3ee82fc878b1b7a6557c1d1471006f1438d535..7e6dc410c2d2bd9e87c57dee20e22fc57e576a1f 100644 (file)
@@ -42,7 +42,7 @@ properties:
       - const: vcodec0_bus
 
   iommus:
-    maxItems: 5
+    maxItems: 2
 
   interconnects:
     maxItems: 2
@@ -102,10 +102,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>,