mbox series

[v3,net-next,0/2] make PHY output RMII reference clock

Message ID 20240826052700.232453-1-wei.fang@nxp.com (mailing list archive)
Headers show
Series make PHY output RMII reference clock | expand

Message

Wei Fang Aug. 26, 2024, 5:26 a.m. UTC
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(-)