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

Oleksij Rempel posted 2 patches 2 months, 2 weeks ago
There is a newer version of this series
.../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(+)
[PATCH net-next v3 0/2] net: phy: Support master-slave config via device tree
Posted by Oleksij Rempel 2 months, 2 weeks ago
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 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.2
Re: [PATCH net-next v3 0/2] net: phy: Support master-slave config via device tree
Posted by Jakub Kicinski 2 months, 2 weeks ago
On Fri, 13 Sep 2024 10:40:20 +0200 Oleksij Rempel 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.

I was hoping we'd see some acks here in time, but now Linus cut the 6.11
final so the 6.12 game is over now:
pw-bot: defer
Re: [PATCH net-next v3 0/2] net: phy: Support master-slave config via device tree
Posted by Andrew Lunn 2 months, 2 weeks ago
On Sun, Sep 15, 2024 at 06:06:30PM +0200, Jakub Kicinski wrote:
> On Fri, 13 Sep 2024 10:40:20 +0200 Oleksij Rempel 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.
> 
> I was hoping we'd see some acks here in time, but now Linus cut the 6.11
> final so the 6.12 game is over now:

The device tree binding is not decided on yet. So deferred is correct.

    Andrew
Re: [PATCH net-next v3 0/2] net: phy: Support master-slave config via device tree
Posted by Oleksij Rempel 2 months, 2 weeks ago
On Sun, Sep 15, 2024 at 08:41:42PM +0200, Andrew Lunn wrote:
> On Sun, Sep 15, 2024 at 06:06:30PM +0200, Jakub Kicinski wrote:
> > On Fri, 13 Sep 2024 10:40:20 +0200 Oleksij Rempel 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.
> > 
> > I was hoping we'd see some acks here in time, but now Linus cut the 6.11
> > final so the 6.12 game is over now:
> 
> The device tree binding is not decided on yet. So deferred is correct.

No problem. See you on LPC, my flight starting right now.

Regards,
Oleksij
-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |