Re: [PATCH 2/2] net: phy: micrel: allow usage of generic ethernet-phy clock

From: Andrew Lunn
Date: Fri Dec 01 2023 - 17:22:05 EST


On Fri, Dec 01, 2023 at 04:01:31PM +0100, Heiko Stuebner wrote:
> From: Heiko Stuebner <heiko.stuebner@xxxxxxxxx>
>
> The generic ethernet-phy binding allows describing an external clock since
> commit 350b7a258f20 ("dt-bindings: net: phy: Document support for external PHY clk")
> for cases where the phy is not supplied by an oscillator but instead
> by a clock from the host system.
>
> And the old named "rmii-ref" clock from 2014 is only specified for phys
> of the KSZ8021, KSZ8031, KSZ8081, KSZ8091 types.
>
> So allow retrieving and enabling the optional generic clock on phys that
> do not provide a rmii-ref clock.
>
> Signed-off-by: Heiko Stuebner <heiko.stuebner@xxxxxxxxx>

Reviewed-by: Andrew Lunn <andrew@xxxxxxx>

Andrew