net: phy: micrel: additional clock handling

A patchset in state Mainline for linux-kernel

From: Heiko Stuebner <heiko@...> Date: Fri, 1 Dec 2023 15:25:20 +0100

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

Patches in this set

Statistics

  • 2 individual patches
  • 6 lines added
  • 1 lines removed
 

Recent Patches

About Us

Sed lacus. Donec lectus. Nullam pretium nibh ut turpis. Nam bibendum. In nulla tortor, elementum vel, tempor at, varius non, purus. Mauris vitae nisl nec metus placerat consectetuer.

Read More...