[PATCH 0/2] net: phy: micrel: additional clock handling

From: Heiko Stuebner
Date: Fri Dec 01 2023 - 10:01:57 EST


Some Micrel phys define a specific rmii-ref clock (added in 2014) while
the generic phy binding specifies an unnamed clock for ethernet phys.

This allows Micrel phys to use both, so as to keep the phys not using
the named rmii-ref clock to conform to the generic binding while allowing
them to enable a supplying clock, when the phy is not supplied by a
dedicated oscillator.


Heiko Stuebner (2):
net: phy: micrel: use devm_clk_get_optional_enabled for the rmii-ref
clock
net: phy: micrel: allow usage of generic ethernet-phy clock

drivers/net/phy/micrel.c | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)

--
2.39.2