netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] net: stmmac: probing config with fwnode instead of of
@ 2022-10-09 16:22 Soha Jin
  2022-10-09 16:22 ` [PATCH 1/3] net: stmmac: use fwnode instead of of to configure driver Soha Jin
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Soha Jin @ 2022-10-09 16:22 UTC (permalink / raw)
  To: Giuseppe Cavallaro, Alexandre Torgue, Jose Abreu, David S. Miller,
	Eric Dumazet, Jakub Kicinski, Paolo Abeni
  Cc: Yangyu Chen, netdev, linux-kernel, Soha Jin

These patches depend on two other patches:
- net: mdiobus: add fwnode_phy_is_fixed_link()
  https://lore.kernel.org/lkml/20221009162006.1289-1-soha@lohu.info/
- device property: add fwnode_is_compatible() for compatible match
  https://lore.kernel.org/lkml/20221009162155.1318-1-soha@lohu.info/

Patch 1 changes the stmmac's configuration probing from `of` to `fwnode`,
which enables the compatibility of stmmac devices described by ACPI.

Patch 2 adds Phytium's GMAC (ACPI HID PHYT0004) to the dwmac-generic
driver, this is also the device I used to test Patch 1.

Patch 3 changes all `stmmac_{probe,remove}_config_dt` to
`stmmac_platform_{probe,remove}_config`, since the function is renamed in
Patch 1.

Soha Jin (3):
  net: stmmac: use fwnode instead of of to configure driver
  net: stmmac: add Phytium's PHYT0004 to dwmac-generic compatible
    devices
  net: stmmac: switch to stmmac_platform_{probe,remove}_config

 .../ethernet/stmicro/stmmac/dwmac-anarion.c   |   4 +-
 .../stmicro/stmmac/dwmac-dwc-qos-eth.c        |   6 +-
 .../ethernet/stmicro/stmmac/dwmac-generic.c   |  30 +-
 .../net/ethernet/stmicro/stmmac/dwmac-imx.c   |   4 +-
 .../ethernet/stmicro/stmmac/dwmac-ingenic.c   |   4 +-
 .../stmicro/stmmac/dwmac-intel-plat.c         |   4 +-
 .../ethernet/stmicro/stmmac/dwmac-ipq806x.c   |   4 +-
 .../ethernet/stmicro/stmmac/dwmac-lpc18xx.c   |   4 +-
 .../ethernet/stmicro/stmmac/dwmac-mediatek.c  |   4 +-
 .../net/ethernet/stmicro/stmmac/dwmac-meson.c |   4 +-
 .../ethernet/stmicro/stmmac/dwmac-meson8b.c   |   4 +-
 .../net/ethernet/stmicro/stmmac/dwmac-oxnas.c |   4 +-
 .../stmicro/stmmac/dwmac-qcom-ethqos.c        |   4 +-
 .../net/ethernet/stmicro/stmmac/dwmac-rk.c    |  13 +-
 .../ethernet/stmicro/stmmac/dwmac-socfpga.c   |   4 +-
 .../net/ethernet/stmicro/stmmac/dwmac-sti.c   |   4 +-
 .../net/ethernet/stmicro/stmmac/dwmac-stm32.c |   4 +-
 .../net/ethernet/stmicro/stmmac/dwmac-sun8i.c |   6 +-
 .../net/ethernet/stmicro/stmmac/dwmac-sunxi.c |   4 +-
 .../ethernet/stmicro/stmmac/dwmac-visconti.c  |   6 +-
 .../net/ethernet/stmicro/stmmac/stmmac_main.c |   7 +-
 .../net/ethernet/stmicro/stmmac/stmmac_mdio.c |  14 +-
 .../ethernet/stmicro/stmmac/stmmac_platform.c | 409 ++++++++++--------
 .../ethernet/stmicro/stmmac/stmmac_platform.h |  10 +-
 include/linux/stmmac.h                        |   7 +-
 25 files changed, 320 insertions(+), 248 deletions(-)

-- 
2.30.2


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2022-10-11 12:42 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-09 16:22 [PATCH 0/3] net: stmmac: probing config with fwnode instead of of Soha Jin
2022-10-09 16:22 ` [PATCH 1/3] net: stmmac: use fwnode instead of of to configure driver Soha Jin
2022-10-09 19:43   ` kernel test robot
2022-10-09 19:54   ` kernel test robot
2022-10-10 20:38   ` Andrew Lunn
2022-10-11  3:12     ` Soha Jin
2022-10-11 12:41       ` Andrew Lunn
2022-10-09 16:22 ` [PATCH 2/3] net: stmmac: add Phytium's PHYT0004 to dwmac-generic compatible devices Soha Jin
2022-10-09 16:22 ` [PATCH 3/3] net: stmmac: switch to stmmac_platform_{probe,remove}_config Soha Jin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).