All of
 help / color / mirror / Atom feed
From: Geert Uytterhoeven <>
To: Sergei Shtylyov <>,
	"David S . Miller" <>,
	Jakub Kicinski <>,
	Rob Herring <>, Adam Ford <>
	Geert Uytterhoeven <>
Subject: [PATCH] dt-bindings: net: renesas,etheravb: Fix optional second clock name
Date: Tue,  4 May 2021 11:03:00 +0200	[thread overview]
Message-ID: <> (raw)

If the optional "clock-names" property is present, but the optional TXC
reference clock is not, "make dtbs_check" complains:

    ethernet@e6800000: clock-names: ['fck'] is too short

Fix this by declaring that a single clock name is valid.
While at it, drop the superfluous upper limit on the number of clocks,
as it is implied by the list of descriptions.

Fixes: 6f43735b6da64bd4 ("dt-bindings: net: renesas,etheravb: Add additional clocks")
Signed-off-by: Geert Uytterhoeven <>
 Documentation/devicetree/bindings/net/renesas,etheravb.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/net/renesas,etheravb.yaml b/Documentation/devicetree/bindings/net/renesas,etheravb.yaml
index fe72a5598addf89c..005868f703a6e2cd 100644
--- a/Documentation/devicetree/bindings/net/renesas,etheravb.yaml
+++ b/Documentation/devicetree/bindings/net/renesas,etheravb.yaml
@@ -51,12 +51,12 @@ properties:
     minItems: 1
-    maxItems: 2
       - description: AVB functional clock
       - description: Optional TXC reference clock
+    minItems: 1
       - const: fck
       - const: refclk

             reply	other threads:[~2021-05-04  9:03 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-04  9:03 Geert Uytterhoeven [this message]
2021-05-04 14:05 ` Rob Herring

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \ \ \ \ \ \ \ \
    --subject='Re: [PATCH] dt-bindings: net: renesas,etheravb: Fix optional second clock name' \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.