From: Adam Ford Date: Mon, 12 Apr 2021 13:26:18 +0000 (-0500) Subject: dt-bindings: net: renesas,etheravb: Add additional clocks X-Git-Tag: v5.13-rc1~94^2~172 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6f43735b6da64bd46bc1ee2af5edce584a09012d;p=thirdparty%2Fkernel%2Flinux.git dt-bindings: net: renesas,etheravb: Add additional clocks 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 Reviewed-by: Geert Uytterhoeven Acked-by: Rob Herring Reviewed-by: Sergei Shtylyov Signed-off-by: David S. Miller --- diff --git a/Documentation/devicetree/bindings/net/renesas,etheravb.yaml b/Documentation/devicetree/bindings/net/renesas,etheravb.yaml index 91ba96d43c6c1..fe72a5598addf 100644 --- a/Documentation/devicetree/bindings/net/renesas,etheravb.yaml +++ b/Documentation/devicetree/bindings/net/renesas,etheravb.yaml @@ -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