]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
dt-bindings: serial: brcm,bcm7271-uart: Constrain clocks
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Tue, 12 Aug 2025 12:16:31 +0000 (14:16 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 14 Aug 2025 10:12:09 +0000 (12:12 +0200)
Lists should have fixed constraints, because binding must be specific in
respect to hardware, thus add missing constraints to number of clocks.

Cc: stable <stable@kernel.org>
Fixes: 88a499cd70d4 ("dt-bindings: Add support for the Broadcom UART driver")
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20250812121630.67072-2-krzysztof.kozlowski@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/devicetree/bindings/serial/brcm,bcm7271-uart.yaml

index 89c462653e2d332c118526a51ee447e4c6eed526..8cc848ae11cb73d45b9d5ed0b637a1499a2fc69f 100644 (file)
@@ -41,7 +41,7 @@ properties:
           - const: dma_intr2
 
   clocks:
-    minItems: 1
+    maxItems: 1
 
   clock-names:
     const: sw_baud