[PATCH] dt-bindings: serial: brcm,bcm7271-uart: Constrain clocks

Krzysztof Kozlowski posted 1 patch 1 month, 3 weeks ago
Documentation/devicetree/bindings/serial/brcm,bcm7271-uart.yaml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] dt-bindings: serial: brcm,bcm7271-uart: Constrain clocks
Posted by Krzysztof Kozlowski 1 month, 3 weeks ago
Lists should have fixed constraints, because binding must be specific in
respect to hardware, thus add missing constraints to number of clocks.

Cc: <stable@vger.kernel.org>
Fixes: 88a499cd70d4 ("dt-bindings: Add support for the Broadcom UART driver")
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

---

Greg, patch for serial tree.
---
 Documentation/devicetree/bindings/serial/brcm,bcm7271-uart.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/serial/brcm,bcm7271-uart.yaml b/Documentation/devicetree/bindings/serial/brcm,bcm7271-uart.yaml
index 89c462653e2d..8cc848ae11cb 100644
--- a/Documentation/devicetree/bindings/serial/brcm,bcm7271-uart.yaml
+++ b/Documentation/devicetree/bindings/serial/brcm,bcm7271-uart.yaml
@@ -41,7 +41,7 @@ properties:
           - const: dma_intr2
 
   clocks:
-    minItems: 1
+    maxItems: 1
 
   clock-names:
     const: sw_baud
-- 
2.48.1
Re: [PATCH] dt-bindings: serial: brcm,bcm7271-uart: Constrain clocks
Posted by Florian Fainelli 1 month, 2 weeks ago
On 8/12/25 05:16, Krzysztof Kozlowski wrote:
> Lists should have fixed constraints, because binding must be specific in
> respect to hardware, thus add missing constraints to number of clocks.
> 
> Cc: <stable@vger.kernel.org>
> Fixes: 88a499cd70d4 ("dt-bindings: Add support for the Broadcom UART driver")
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

Reviewed-by: Florian Fainelli <florian.fainelli@broadcom.com>
--
Florian
Re: [PATCH] dt-bindings: serial: brcm,bcm7271-uart: Constrain clocks
Posted by Rob Herring (Arm) 1 month, 2 weeks ago
On Tue, 12 Aug 2025 14:16:31 +0200, Krzysztof Kozlowski wrote:
> Lists should have fixed constraints, because binding must be specific in
> respect to hardware, thus add missing constraints to number of clocks.
> 
> Cc: <stable@vger.kernel.org>
> Fixes: 88a499cd70d4 ("dt-bindings: Add support for the Broadcom UART driver")
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> 
> ---
> 
> Greg, patch for serial tree.
> ---
>  Documentation/devicetree/bindings/serial/brcm,bcm7271-uart.yaml | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 

Acked-by: Rob Herring (Arm) <robh@kernel.org>