Commit 7e59cd4a authored by Sumit Garg's avatar Sumit Garg Committed by Bjorn Andersson
Browse files

dt-bindings: media: venus: Fix iommus property



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: default avatarSumit Garg <sumit.garg@oss.qualcomm.com>
Reviewed-by: default avatarRob Herring (Arm) <robh@kernel.org>
Link: https://lore.kernel.org/r/20260122121042.579270-3-sumit.garg@kernel.org


Signed-off-by: default avatarBjorn Andersson <andersson@kernel.org>
parent 966a08c2
Loading
Loading
Loading
Loading
+2 −5
Original line number Diff line number Diff line
@@ -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>,