mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] dt-bindings: serial: brcm,bcm7271-uart: Constrain clocks
@ 2025-08-12 12:16 Krzysztof Kozlowski
  2025-08-14 21:12 ` Rob Herring (Arm)
  2025-08-14 21:18 ` Florian Fainelli
  0 siblings, 2 replies; 3+ messages in thread
From: Krzysztof Kozlowski @ 2025-08-12 12:16 UTC (permalink / raw)
  To: Al Cooper, Broadcom internal kernel review list,
	Greg Kroah-Hartman, Jiri Slaby, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, linux-serial, linux-kernel, devicetree
  Cc: Krzysztof Kozlowski, stable

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] dt-bindings: serial: brcm,bcm7271-uart: Constrain clocks
  2025-08-12 12:16 [PATCH] dt-bindings: serial: brcm,bcm7271-uart: Constrain clocks Krzysztof Kozlowski
@ 2025-08-14 21:12 ` Rob Herring (Arm)
  2025-08-14 21:18 ` Florian Fainelli
  1 sibling, 0 replies; 3+ messages in thread
From: Rob Herring (Arm) @ 2025-08-14 21:12 UTC (permalink / raw)
  To: Krzysztof Kozlowski
  Cc: devicetree, Al Cooper, Jiri Slaby, Greg Kroah-Hartman,
	Conor Dooley, linux-serial, Krzysztof Kozlowski, linux-kernel,
	Broadcom internal kernel review list, stable


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>


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] dt-bindings: serial: brcm,bcm7271-uart: Constrain clocks
  2025-08-12 12:16 [PATCH] dt-bindings: serial: brcm,bcm7271-uart: Constrain clocks Krzysztof Kozlowski
  2025-08-14 21:12 ` Rob Herring (Arm)
@ 2025-08-14 21:18 ` Florian Fainelli
  1 sibling, 0 replies; 3+ messages in thread
From: Florian Fainelli @ 2025-08-14 21:18 UTC (permalink / raw)
  To: Krzysztof Kozlowski, Al Cooper,
	Broadcom internal kernel review list, Greg Kroah-Hartman,
	Jiri Slaby, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	linux-serial, linux-kernel, devicetree
  Cc: stable

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-08-14 21:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-08-12 12:16 [PATCH] dt-bindings: serial: brcm,bcm7271-uart: Constrain clocks Krzysztof Kozlowski
2025-08-14 21:12 ` Rob Herring (Arm)
2025-08-14 21:18 ` Florian Fainelli

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®