net: phy: micrel: additional clock handling
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
- [0001] net: phy: micrel: use devm_clk_get_optional_enabled for (raw)
- [0002] net: phy: micrel: allow usage of generic ethernet-phy (raw)
Statistics
- 2 individual patches
- 6 lines added
- 1 lines removed