All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH V3 1/5] dt-bindings: net: renesas,etheravb: Add additional clocks
@ 2021-02-24 11:51 Adam Ford
  2021-02-24 11:51 ` [PATCH V3 2/5] ARM: dts: renesas: Add fck to etheravb-rcar-gen2 clock-names list Adam Ford
                   ` (4 more replies)
  0 siblings, 5 replies; 20+ messages in thread
From: Adam Ford @ 2021-02-24 11:51 UTC (permalink / raw)
  To: netdev
  Cc: aford, Adam Ford, Geert Uytterhoeven, Rob Herring,
	Sergei Shtylyov, David S. Miller, Jakub Kicinski, Rob Herring,
	Magnus Damm, linux-renesas-soc, devicetree, linux-kernel

The AVB driver assumes there is an external crystal, but it could
be clocked by other means.  In order to enable a programmable
clock, it needs to be added to the clocks list and enabled in the
driver.  Since there currently only one clock, there is no
clock-names list either.

Update bindings to add the additional optional clock, and explicitly
name both of them.

Signed-off-by: Adam Ford <aford173@gmail.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Rob Herring <robh@kernel.org>
---
V3:  No Change
V2:  No Change

diff --git a/Documentation/devicetree/bindings/net/renesas,etheravb.yaml b/Documentation/devicetree/bindings/net/renesas,etheravb.yaml
index de9dd574a2f9..7b32363ad8b4 100644
--- a/Documentation/devicetree/bindings/net/renesas,etheravb.yaml
+++ b/Documentation/devicetree/bindings/net/renesas,etheravb.yaml
@@ -49,7 +49,16 @@ properties:
   interrupt-names: true
 
   clocks:
-    maxItems: 1
+    minItems: 1
+    maxItems: 2
+    items:
+      - description: AVB functional clock
+      - description: Optional TXC reference clock
+
+  clock-names:
+    items:
+      - const: fck
+      - const: refclk
 
   iommus:
     maxItems: 1
-- 
2.25.1


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

end of thread, other threads:[~2021-04-19  9:39 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-24 11:51 [PATCH V3 1/5] dt-bindings: net: renesas,etheravb: Add additional clocks Adam Ford
2021-02-24 11:51 ` [PATCH V3 2/5] ARM: dts: renesas: Add fck to etheravb-rcar-gen2 clock-names list Adam Ford
2021-02-24 13:45   ` Andrew Lunn
2021-02-25  7:51     ` Geert Uytterhoeven
2021-02-24 11:51 ` [PATCH V3 3/5] arm64: dts: renesas: Add fck to etheravb-rcar-gen3 " Adam Ford
2021-02-24 13:46   ` Andrew Lunn
2021-04-19  9:38   ` Geert Uytterhoeven
2021-02-24 11:51 ` [PATCH V3 4/5] net: ethernet: ravb: Enable optional refclk Adam Ford
2021-02-24 13:47   ` Andrew Lunn
2021-03-04  8:08   ` Geert Uytterhoeven
2021-03-29 12:45     ` Adam Ford
2021-03-29 13:08       ` Geert Uytterhoeven
2021-02-24 11:51 ` [PATCH V3 5/5] arm64: dts: renesas: beacon kits: Setup AVB refclk Adam Ford
2021-03-04  8:03   ` Geert Uytterhoeven
2021-03-18 12:44     ` Adam Ford
2021-03-18 13:08       ` Geert Uytterhoeven
2021-03-19  8:40       ` Sergei Shtylyov
2021-04-17 13:54     ` Adam Ford
2021-04-19  9:39       ` Geert Uytterhoeven
2021-03-18 20:18 ` [PATCH V3 1/5] dt-bindings: net: renesas,etheravb: Add additional clocks Sergei Shtylyov

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.