]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
scsi: ufs: dt-bindings: qcom: Drop redundant "reg" constraints
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Mon, 27 Oct 2025 11:31:08 +0000 (12:31 +0100)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 30 Oct 2025 03:23:01 +0000 (23:23 -0400)
The "reg" in top-level has maxItems:2, thus repeating this in "if:then:"
blocks is redundant.  Similarly number of items cannot be less than 1.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Acked-by: Rob Herring (Arm) <robh@kernel.org>
Link: https://patch.msgid.link/20251027113107.75835-2-krzysztof.kozlowski@linaro.org
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Documentation/devicetree/bindings/ufs/qcom,ufs.yaml

index 1dd41f6d5258014d59c8c8005bc54f7994351a52..516bb61a46241fa53f2bfea9fca4c98f6fe7691b 100644 (file)
@@ -88,7 +88,6 @@ allOf:
             - const: ice_core_clk
         reg:
           minItems: 2
-          maxItems: 2
         reg-names:
           minItems: 2
       required:
@@ -117,7 +116,6 @@ allOf:
             - const: tx_lane0_sync_clk
             - const: rx_lane0_sync_clk
         reg:
-          minItems: 1
           maxItems: 1
         reg-names:
           maxItems: 1
@@ -147,7 +145,6 @@ allOf:
             - const: ice_core_clk
         reg:
           minItems: 2
-          maxItems: 2
         reg-names:
           minItems: 2
       required: