The TJA11xx PHYs have the capability to provide 50MHz reference clock in RMII mode and output on REF_CLK pin. Therefore, add the new property "nxp,phy-output-refclk" to support this feature. This property is only available for PHYs which use nxp-c45-tja11xx driver, such as TJA1103, TJA1104, TJA1120 and TJA1121. --- V3 change: Removed the patch 2 from the V2 patch set. v2 Link: https://lore.kernel.org/netdev/20240823-jersey-conducive-70863dd6fd27@spud/T/ --- Wei Fang (2): dt-bindings: net: tja11xx: add "nxp,phy-output-refclk" property net: phy: c45-tja11xx: add support for outputing RMII reference clock .../devicetree/bindings/net/nxp,tja11xx.yaml | 6 ++++ drivers/net/phy/nxp-c45-tja11xx.c | 29 +++++++++++++++++-- drivers/net/phy/nxp-c45-tja11xx.h | 1 + 3 files changed, 34 insertions(+), 2 deletions(-) -- 2.34.1