2022-04-06 07:43:44

by Michael Walle

[permalink] [raw]
Subject: [PATCH net-next v3 2/3] dt-bindings: net: mscc-miim: add clock and clock-frequency

Add the (optional) clock input of the MDIO controller and indicate that
the common clock-frequency property is supported. The driver can use it
to set the desired MDIO bus frequency.

Signed-off-by: Michael Walle <[email protected]>
Acked-by: Krzysztof Kozlowski <[email protected]>
---
Documentation/devicetree/bindings/net/mscc,miim.yaml | 5 +++++
1 file changed, 5 insertions(+)

diff --git a/Documentation/devicetree/bindings/net/mscc,miim.yaml b/Documentation/devicetree/bindings/net/mscc,miim.yaml
index cdc39aa20683..2c451cfa4e0b 100644
--- a/Documentation/devicetree/bindings/net/mscc,miim.yaml
+++ b/Documentation/devicetree/bindings/net/mscc,miim.yaml
@@ -33,6 +33,11 @@ properties:
interrupts:
maxItems: 1

+ clocks:
+ maxItems: 1
+
+ clock-frequency: true
+
required:
- compatible
- reg
--
2.30.2


2022-04-06 12:27:40

by Andrew Lunn

[permalink] [raw]
Subject: Re: [PATCH net-next v3 2/3] dt-bindings: net: mscc-miim: add clock and clock-frequency

On Tue, Apr 05, 2022 at 02:09:50PM +0200, Michael Walle wrote:
> Add the (optional) clock input of the MDIO controller and indicate that
> the common clock-frequency property is supported. The driver can use it
> to set the desired MDIO bus frequency.
>
> Signed-off-by: Michael Walle <[email protected]>
> Acked-by: Krzysztof Kozlowski <[email protected]>

Reviewed-by: Andrew Lunn <[email protected]>

Andrew