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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

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

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

--
2.39.2





[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux