Skip to content

Commit

Permalink
dt-bindings: net: renesas,etheravb: Add additional clocks
Browse files Browse the repository at this point in the history
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>
Reviewed-by: Sergei Shtylyov <sergei.shtylyov@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Adam Ford authored and David S. Miller committed Apr 12, 2021
1 parent d27139c commit 6f43735
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion Documentation/devicetree/bindings/net/renesas,etheravb.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,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
Expand Down

0 comments on commit 6f43735

Please sign in to comment.