mbox series

[net-next,v5,0/2] net: phy: Support master-slave config via device tree

Message ID 20241004090100.1654353-1-o.rempel@pengutronix.de (mailing list archive)
Headers show
Series net: phy: Support master-slave config via device tree | expand

Message

Oleksij Rempel Oct. 4, 2024, 9 a.m. UTC
This patch series adds support for configuring the master/slave role of
PHYs via the device tree. A new `master-slave` property is introduced in
the device tree bindings, allowing PHYs to be forced into either master
or slave mode. This is particularly necessary for Single Pair Ethernet
(SPE) PHYs (1000/100/10Base-T1), where hardware strap pins may not be
available or correctly configured, but it is applicable to all PHY
types.

changes v5:
- sync DT options with ethtool nameing.

changes v4:
- add Reviewed-by
- rebase against latest net-next

changes v3:
- rename  master-slave to timing-role
- add prefer-master/slave support

Oleksij Rempel (2):
  dt-bindings: net: ethernet-phy: Add timing-role role property for
    ethernet PHYs
  net: phy: Add support for PHY timing-role configuration via device
    tree

 .../devicetree/bindings/net/ethernet-phy.yaml | 21 ++++++++++++
 drivers/net/phy/phy-core.c                    | 33 +++++++++++++++++++
 drivers/net/phy/phy_device.c                  |  3 ++
 include/linux/phy.h                           |  1 +
 4 files changed, 58 insertions(+)

--
2.39.5

Comments

patchwork-bot+netdevbpf@kernel.org Oct. 8, 2024, 9:10 a.m. UTC | #1
Hello:

This series was applied to netdev/net-next.git (main)
by Paolo Abeni <pabeni@redhat.com>:

On Fri,  4 Oct 2024 11:00:58 +0200 you wrote:
> This patch series adds support for configuring the master/slave role of
> PHYs via the device tree. A new `master-slave` property is introduced in
> the device tree bindings, allowing PHYs to be forced into either master
> or slave mode. This is particularly necessary for Single Pair Ethernet
> (SPE) PHYs (1000/100/10Base-T1), where hardware strap pins may not be
> available or correctly configured, but it is applicable to all PHY
> types.
> 
> [...]

Here is the summary with links:
  - [net-next,v5,1/2] dt-bindings: net: ethernet-phy: Add timing-role role property for ethernet PHYs
    https://git.kernel.org/netdev/net-next/c/31a9ce20fa8d
  - [net-next,v5,2/2] net: phy: Add support for PHY timing-role configuration via device tree
    https://git.kernel.org/netdev/net-next/c/20a4da20e0bd

You are awesome, thank you!