[PATCH 0/3] net: phy: Add support for ethernet-phy-id

Michal Simek michal.simek at xilinx.com
Wed Feb 23 15:45:39 CET 2022


this series is adding support for ethernet-phy-id with reset gpio support.
There is another series related to DM_ETH_PHY but it is missing creating
phy devices based on decoded phy IDs from compatible string.
We would like to adopt DM_ETH_PHY in our driver but still this series can
be useful for other drivers which are not DM_ETH_PHY ready.
At the end this same file should be used also for DM_ETH_PHY driver.

The reason for complete separatation from phy.c is that there is
requirement for gpio headers which is not done by all arch. That's why new
symbol and separate file is the way to go.


Michal Simek (3):
  net: phy: Add new read ethernet phy id function
  net: phy: Remove static return type for phy_device_create()
  net: phy: Add support for ethernet-phy-id with gpio reset

 MAINTAINERS                   |  1 +
 drivers/core/ofnode.c         | 36 ++++++++++++++++++
 drivers/net/phy/Kconfig       |  8 ++++
 drivers/net/phy/Makefile      |  1 +
 drivers/net/phy/ethernet_id.c | 69 +++++++++++++++++++++++++++++++++++
 drivers/net/phy/phy.c         | 11 ++++--
 include/dm/ofnode.h           | 13 +++++++
 include/phy.h                 | 26 +++++++++++++
 8 files changed, 162 insertions(+), 3 deletions(-)
 create mode 100644 drivers/net/phy/ethernet_id.c


More information about the U-Boot mailing list