mbox series

[net-next,v3,0/5] add dts for yt8521 and yt8531s, add driver for yt8531

Message ID 20230130063539.3700-1-Frank.Sae@motor-comm.com (mailing list archive)
Headers show
Series add dts for yt8521 and yt8531s, add driver for yt8531 | expand

Message

Frank Sae Jan. 30, 2023, 6:35 a.m. UTC
Add dts for yt8521 and yt8531s, add driver for yt8531.
 These patches have been verified on our AM335x platform (motherboard)
 which has one integrated yt8521 and one RGMII interface.
 It can connect to daughter boards like yt8531s or yt8531 board.

 v3:
 - change default rx delay from 1900ps to 1950ps
 - moved ytphy_rgmii_clk_delay_config_with_lock from yt8521's patch to yt8531's patch
 - removed unnecessary checks of phydev->attached_dev->dev_addr

 v2:
 - split BIT macro as one patch
 - split "dts for yt8521/yt8531s ... " patch as two patches
 - use standard rx-internal-delay-ps and tx-internal-delay-ps, removed motorcomm,sds-tx-amplitude
 - removed ytphy_parse_dt, ytphy_probe_helper and ytphy_config_init_helper
 - not store dts arg to yt8521_priv 

Frank Sae (5):
  dt-bindings: net: Add Motorcomm yt8xxx ethernet phy
  net: phy: Add BIT macro for Motorcomm yt8521/yt8531 gigabit ethernet
    phy
  net: phy: Add dts support for Motorcomm yt8521 gigabit ethernet phy
  net: phy: Add dts support for Motorcomm yt8531s gigabit ethernet phy
  net: phy: Add driver for Motorcomm yt8531 gigabit ethernet phy

 .../bindings/net/motorcomm,yt8xxx.yaml        | 102 ++++
 .../devicetree/bindings/vendor-prefixes.yaml  |   2 +
 MAINTAINERS                                   |   1 +
 drivers/net/phy/Kconfig                       |   2 +-
 drivers/net/phy/motorcomm.c                   | 553 +++++++++++++++---
 5 files changed, 582 insertions(+), 78 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/net/motorcomm,yt8xxx.yaml