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

Michal Simek monstr at monstr.eu
Wed Mar 9 12:44:19 CET 2022


st 23. 2. 2022 v 15:45 odesílatel Michal Simek <michal.simek at xilinx.com> napsal:
>
> 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
>
> --
> 2.35.1
>

Applied.
M

-- 
Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel - Xilinx Microblaze
Maintainer of Linux kernel - Xilinx Zynq ARM and ZynqMP ARM64 SoCs
U-Boot custodian - Xilinx Microblaze/Zynq/ZynqMP/Versal SoCs


More information about the U-Boot mailing list