]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
media: dt-bindings: mediatek: Constrain iommus
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Thu, 21 Aug 2025 06:59:01 +0000 (08:59 +0200)
committerRob Herring (Arm) <robh@kernel.org>
Wed, 13 May 2026 19:02:26 +0000 (14:02 -0500)
Lists should have fixed constraints, because binding must be specific in
respect to hardware.  Add missing constraints to number of iommus in
Mediatek media devices and remove completely redundant and obvious
description.

Acked-by: Conor Dooley <conor.dooley@microchip.com>
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://patch.msgid.link/20250821065900.17430-2-krzysztof.kozlowski@linaro.org
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
Documentation/devicetree/bindings/display/mediatek/mediatek,ovl-2l.yaml
Documentation/devicetree/bindings/display/mediatek/mediatek,ovl.yaml
Documentation/devicetree/bindings/display/mediatek/mediatek,rdma.yaml
Documentation/devicetree/bindings/display/mediatek/mediatek,wdma.yaml

index bacdfe7d08a6198d4d0a484b7f0e46c4cccaf1bf..ac0d924a451b48362b6c24d51cffd642f91a1566 100644 (file)
@@ -45,9 +45,8 @@ properties:
       - description: OVL-2L Clock
 
   iommus:
-    description:
-      This property should point to the respective IOMMU block with master port as argument,
-      see Documentation/devicetree/bindings/iommu/mediatek,iommu.yaml for details.
+    minItems: 1
+    maxItems: 2
 
   mediatek,gce-client-reg:
     description: The register of client driver can be configured by gce with
index 679f731f0f15f7ff1d0ec898e35844f204d55663..4df5c7b410c693f1c2936e430b55a5ed99c495a4 100644 (file)
@@ -66,9 +66,8 @@ properties:
       - description: OVL Clock
 
   iommus:
-    description:
-      This property should point to the respective IOMMU block with master port as argument,
-      see Documentation/devicetree/bindings/iommu/mediatek,iommu.yaml for details.
+    minItems: 1
+    maxItems: 2
 
   mediatek,gce-client-reg:
     description: The register of client driver can be configured by gce with
index cb187a95c11ea4f85febc96cd01987820201b843..d914c06640dfe43a1cb571bc731dd8cd78940f6e 100644 (file)
@@ -65,9 +65,7 @@ properties:
       - description: RDMA Clock
 
   iommus:
-    description:
-      This property should point to the respective IOMMU block with master port as argument,
-      see Documentation/devicetree/bindings/iommu/mediatek,iommu.yaml for details.
+    maxItems: 1
 
   mediatek,rdma-fifo-size:
     description:
index 816841a96133db99902f78f4238050562e9313b1..97d052b0fb6141decf2960250a45e74b754039b2 100644 (file)
@@ -45,9 +45,7 @@ properties:
       - description: WDMA Clock
 
   iommus:
-    description:
-      This property should point to the respective IOMMU block with master port as argument,
-      see Documentation/devicetree/bindings/iommu/mediatek,iommu.yaml for details.
+    maxItems: 1
 
   mediatek,gce-client-reg:
     description: The register of client driver can be configured by gce with