lkml.org 
[lkml]   [2023]   [Jun]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/2] dt-bindings: net: phy: Support external PHY xtal
> So I can just use devm_clk_get_optional_enabled(dev, NULL) and I'll get the 
> first clock defines in the device tree ?

Yes:

bcm7xxx.c: clk = devm_clk_get_optional_enabled(&phydev->mdio.dev, NULL);
micrel.c: clk = devm_clk_get(&phydev->mdio.dev, "rmii-ref");
smsc.c: refclk = devm_clk_get_optional_enabled(dev, NULL);

Andrew

\
 
 \ /
  Last update: 2023-06-01 20:28    [W:0.033 / U:0.892 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site