mbox series

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

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

Message

Wei Fang Oct. 8, 2024, 7:07 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,rmii-refclk-output" to support this feature. This property is only
available for PHYs which use nxp-c45-tja11xx driver, such as TJA1103,
TJA1104, TJA1120 and TJA1121.

---
v2 Link: https://lore.kernel.org/netdev/20240823-jersey-conducive-70863dd6fd27@spud/T/
v3 Linl: https://lore.kernel.org/imx/20240826052700.232453-1-wei.fang@nxp.com/
---

Wei Fang (2):
  dt-bindings: net: tja11xx: add "nxp,rmii-refclk-out" property
  net: phy: c45-tja11xx: add support for outputing RMII reference clock

 .../devicetree/bindings/net/nxp,tja11xx.yaml  | 18 ++++++++++++
 drivers/net/phy/nxp-c45-tja11xx.c             | 29 +++++++++++++++++--
 drivers/net/phy/nxp-c45-tja11xx.h             |  1 +
 3 files changed, 46 insertions(+), 2 deletions(-)

Comments

Wei Fang Oct. 8, 2024, 7:25 a.m. UTC | #1
> -----Original Message-----
> From: Wei Fang
> Sent: 2024年10月8日 15:24
> To: davem@davemloft.net; edumazet@google.com; kuba@kernel.org;
> pabeni@redhat.com; robh@kernel.org; krzk+dt@kernel.org;
> conor+dt@kernel.org; andrew@lunn.ch; f.fainelli@gmail.com;
> hkallweit1@gmail.com; Andrei Botila (OSS) <andrei.botila@oss.nxp.com>;
> linux@armlinux.org.uk
> Cc: devicetree@vger.kernel.org; linux-kernel@vger.kernel.org;
> netdev@vger.kernel.org; imx@lists.linux.dev
> Subject: [PATCH v2 net-next 0/2] make PHY output RMII reference clock
> 
> 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,rmii-refclk-output" to support this feature. This property is only
> available for PHYs which use nxp-c45-tja11xx driver, such as TJA1103,
> TJA1104, TJA1120 and TJA1121.
> 
> ---
> v2 Link:
> https://lore.kernel.org/netdev/20240823-jersey-conducive-70863dd6fd27@spu
> d/T/
> v3 Linl:
> https://lore.kernel.org/imx/20240826052700.232453-1-wei.fang@nxp.com/
> ---
> 
> Wei Fang (2):
>   dt-bindings: net: tja11xx: add "nxp,rmii-refclk-out" property
>   net: phy: c45-tja11xx: add support for outputing RMII reference clock
> 
>  .../devicetree/bindings/net/nxp,tja11xx.yaml  | 18 ++++++++++++
>  drivers/net/phy/nxp-c45-tja11xx.c             | 29 +++++++++++++++++--
>  drivers/net/phy/nxp-c45-tja11xx.h             |  1 +
>  3 files changed, 46 insertions(+), 2 deletions(-)
> 
> --
> 2.34.1

Sorry for the wrong "v2" descriptor in the tile, it should be "v4". :(