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

Message ID 20230202030037.9075-1-Frank.Sae@motor-comm.com
Headers
Series add dts for yt8521 and yt8531s, add driver for yt8531 |

Message

Frank Sae Feb. 2, 2023, 3 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.

 v5:
 - change the compatible of yaml
 - change the maintainers of yaml from "frank sae" to "Frank Sae"

 v4:
 - change default tx delay from 150ps to 1950ps
 - add compatible for yaml

 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        | 117 ++++
 .../devicetree/bindings/vendor-prefixes.yaml  |   2 +
 MAINTAINERS                                   |   1 +
 drivers/net/phy/Kconfig                       |   2 +-
 drivers/net/phy/motorcomm.c                   | 553 +++++++++++++++---
 5 files changed, 597 insertions(+), 78 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/net/motorcomm,yt8xxx.yaml
  

Comments

patchwork-bot+netdevbpf@kernel.org Feb. 3, 2023, 9:40 a.m. UTC | #1
Hello:

This series was applied to netdev/net-next.git (master)
by David S. Miller <davem@davemloft.net>:

On Thu,  2 Feb 2023 11:00:32 +0800 you wrote:
> 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.
> 
>  v5:
>  - change the compatible of yaml
>  - change the maintainers of yaml from "frank sae" to "Frank Sae"
> 
> [...]

Here is the summary with links:
  - [net-next,v5,1/5] dt-bindings: net: Add Motorcomm yt8xxx ethernet phy
    https://git.kernel.org/netdev/net-next/c/cf08dfe8ae7e
  - [net-next,v5,2/5] net: phy: Add BIT macro for Motorcomm yt8521/yt8531 gigabit ethernet phy
    https://git.kernel.org/netdev/net-next/c/4869a146cd60
  - [net-next,v5,3/5] net: phy: Add dts support for Motorcomm yt8521 gigabit ethernet phy
    https://git.kernel.org/netdev/net-next/c/a6e68f0f8769
  - [net-next,v5,4/5] net: phy: Add dts support for Motorcomm yt8531s gigabit ethernet phy
    https://git.kernel.org/netdev/net-next/c/36152f87dda4
  - [net-next,v5,5/5] net: phy: Add driver for Motorcomm yt8531 gigabit ethernet phy
    https://git.kernel.org/netdev/net-next/c/4ac94f728a58

You are awesome, thank you!
  
Tommaso Merciai March 10, 2023, 8:14 a.m. UTC | #2
Hello Frank,

On Thu, Feb 02, 2023 at 11:00:32AM +0800, Frank Sae wrote:
>  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.

Thanks for this series.
I test on my jh7110-starfive-visionfive-2-v1.3b
Great job!

Tested-by: Tommaso Merciai <tomm.merciai@gmail.com>

Regards,
Tommaso

> 
>  v5:
>  - change the compatible of yaml
>  - change the maintainers of yaml from "frank sae" to "Frank Sae"
> 
>  v4:
>  - change default tx delay from 150ps to 1950ps
>  - add compatible for yaml
> 
>  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        | 117 ++++
>  .../devicetree/bindings/vendor-prefixes.yaml  |   2 +
>  MAINTAINERS                                   |   1 +
>  drivers/net/phy/Kconfig                       |   2 +-
>  drivers/net/phy/motorcomm.c                   | 553 +++++++++++++++---
>  5 files changed, 597 insertions(+), 78 deletions(-)
>  create mode 100644 Documentation/devicetree/bindings/net/motorcomm,yt8xxx.yaml
> 
> -- 
> 2.34.1
>