Skip to content

net: phy: Add support for ethernet-phy-id

Michal Simek u-boot 1 version Applied

Status from this message: Applied.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/3net: phy: Add new read ethernet phy id functiondrivers/core/ofnode.c include/dm/ofnode.h+49 -00 replies
2/3net: phy: Remove static return type for phy_device_create()drivers/net/phy/phy.c include/phy.h+16 -30 replies
3/3net: phy: Add support for ethernet-phy-id with gpio resetMAINTAINERS drivers/net/phy/Kconfig drivers/net/phy/Makefile +3 more+97 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

Hi,

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.

Thanks,
Michal

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
Signature · 1 line
2.35.1