netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC PATCH 00/10] net: phy/stmmac: Add Loongson platform support
@ 2023-07-13  2:46 Feiyang Chen
  2023-07-13  2:46 ` [RFC PATCH 01/10] net: phy: Add driver for Loongson PHY Feiyang Chen
                   ` (10 more replies)
  0 siblings, 11 replies; 38+ messages in thread
From: Feiyang Chen @ 2023-07-13  2:46 UTC (permalink / raw)
  To: andrew, hkallweit1, peppe.cavallaro, alexandre.torgue, joabreu,
	chenhuacai
  Cc: Feiyang Chen, linux, dongbiao, loongson-kernel, netdev, loongarch,
	chris.chenfeiyang

Add driver for Loongson PHY. Extend stmmac functions and macros for
Loongson DWMAC. Add LS7A support for dwmac_loongson.

Feiyang Chen (10):
  net: phy: Add driver for Loongson PHY
  net: stmmac: Pass stmmac_priv and chan in some callbacks
  net: stmmac: dwmac1000: Allow platforms to choose some register
    offsets
  net: stmmac: dwmac1000: Add multi-channel support
  net: stmmac: dwmac1000: Add 64-bit DMA support
  net: stmmac: dwmac1000: Add Loongson register definitions
  net: stmmac: Add Loongson HWIF entry
  net: stmmac: dwmac-loongson: Add LS7A support
  net: stmmac: dwmac-loongson: Add 64-bit DMA and multi-vector support
  net: stmmac: dwmac-loongson: Add GNET support

 drivers/net/ethernet/stmicro/stmmac/Kconfig   |   1 +
 .../net/ethernet/stmicro/stmmac/chain_mode.c  |  28 ++-
 drivers/net/ethernet/stmicro/stmmac/common.h  |   3 +
 drivers/net/ethernet/stmicro/stmmac/descs.h   |   7 +
 .../net/ethernet/stmicro/stmmac/descs_com.h   |  49 ++--
 .../ethernet/stmicro/stmmac/dwmac-loongson.c  | 214 +++++++++++++-----
 .../net/ethernet/stmicro/stmmac/dwmac-sun8i.c |  20 +-
 .../net/ethernet/stmicro/stmmac/dwmac1000.h   |   4 +-
 .../ethernet/stmicro/stmmac/dwmac1000_core.c  |  63 ++++--
 .../ethernet/stmicro/stmmac/dwmac1000_dma.c   | 110 +++++++--
 .../ethernet/stmicro/stmmac/dwmac100_core.c   |  12 +-
 .../ethernet/stmicro/stmmac/dwmac100_dma.c    |   2 +-
 .../net/ethernet/stmicro/stmmac/dwmac4_core.c |  11 +-
 .../ethernet/stmicro/stmmac/dwmac4_descs.c    |  19 +-
 .../net/ethernet/stmicro/stmmac/dwmac4_dma.c  |   8 +-
 .../net/ethernet/stmicro/stmmac/dwmac_dma.h   | 210 +++++++++--------
 .../net/ethernet/stmicro/stmmac/dwmac_lib.c   | 156 +++++++++++--
 .../ethernet/stmicro/stmmac/dwxgmac2_core.c   |  11 +-
 .../ethernet/stmicro/stmmac/dwxgmac2_descs.c  |  17 +-
 .../ethernet/stmicro/stmmac/dwxgmac2_dma.c    |   8 +-
 .../net/ethernet/stmicro/stmmac/enh_desc.c    |  38 ++--
 drivers/net/ethernet/stmicro/stmmac/hwif.c    |  48 +++-
 drivers/net/ethernet/stmicro/stmmac/hwif.h    |  77 ++++---
 .../net/ethernet/stmicro/stmmac/norm_desc.c   |  17 +-
 .../net/ethernet/stmicro/stmmac/ring_mode.c   | 105 +++++++--
 .../net/ethernet/stmicro/stmmac/stmmac_main.c |  31 ++-
 drivers/net/phy/Kconfig                       |   5 +
 drivers/net/phy/Makefile                      |   1 +
 drivers/net/phy/loongson-phy.c                |  69 ++++++
 drivers/net/phy/phy_device.c                  |  16 ++
 include/linux/phy.h                           |   2 +
 include/linux/stmmac.h                        |  51 +++++
 32 files changed, 1054 insertions(+), 359 deletions(-)
 create mode 100644 drivers/net/phy/loongson-phy.c

-- 
2.39.3


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

end of thread, other threads:[~2023-07-25 17:20 UTC | newest]

Thread overview: 38+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-13  2:46 [RFC PATCH 00/10] net: phy/stmmac: Add Loongson platform support Feiyang Chen
2023-07-13  2:46 ` [RFC PATCH 01/10] net: phy: Add driver for Loongson PHY Feiyang Chen
2023-07-13  4:00   ` Andrew Lunn
2023-07-14  2:15     ` Feiyang Chen
2023-07-14  4:19       ` Andrew Lunn
2023-07-17  2:43         ` Feiyang Chen
2023-07-17 12:22           ` Andrew Lunn
2023-07-21  3:31             ` Feiyang Chen
2023-07-21  9:04               ` Andrew Lunn
2023-07-25  2:02                 ` Feiyang Chen
2023-07-25 17:20                   ` Andrew Lunn
2023-07-13  7:53   ` Russell King (Oracle)
2023-07-14  2:41     ` Feiyang Chen
2023-07-13  2:46 ` [RFC PATCH 02/10] net: stmmac: Pass stmmac_priv and chan in some callbacks Feiyang Chen
2023-07-13  4:02   ` Andrew Lunn
2023-07-14  2:16     ` Feiyang Chen
2023-07-13  2:46 ` [RFC PATCH 03/10] net: stmmac: dwmac1000: Allow platforms to choose some register offsets Feiyang Chen
2023-07-13  2:46 ` [RFC PATCH 04/10] net: stmmac: dwmac1000: Add multi-channel support Feiyang Chen
2023-07-13  2:48 ` [RFC PATCH 05/10] net: stmmac: dwmac1000: Add 64-bit DMA support Feiyang Chen
2023-07-13  2:48 ` [RFC PATCH 06/10] net: stmmac: dwmac1000: Add Loongson register definitions Feiyang Chen
2023-07-13  2:48 ` [RFC PATCH 07/10] net: stmmac: Add Loongson HWIF entry Feiyang Chen
2023-07-13  2:48 ` [RFC PATCH 08/10] net: stmmac: dwmac-loongson: Add LS7A support Feiyang Chen
2023-07-13  2:48 ` [RFC PATCH 09/10] net: stmmac: dwmac-loongson: Add 64-bit DMA and multi-vector support Feiyang Chen
2023-07-13  2:49 ` [RFC PATCH 10/10] net: stmmac: dwmac-loongson: Add GNET support Feiyang Chen
2023-07-13  4:07   ` Andrew Lunn
2023-07-14  2:24     ` Feiyang Chen
2023-07-14  4:26       ` Andrew Lunn
2023-07-14  8:52         ` Russell King (Oracle)
2023-07-14  8:45       ` Russell King (Oracle)
2023-07-17  7:54         ` Feiyang Chen
2023-07-13  8:06   ` Russell King (Oracle)
2023-07-14  2:27     ` Feiyang Chen
2023-07-14  4:22       ` Andrew Lunn
2023-07-13  4:09 ` [RFC PATCH 00/10] net: phy/stmmac: Add Loongson platform support Andrew Lunn
2023-07-14  2:16   ` Feiyang Chen
2023-07-14  8:39     ` Russell King (Oracle)
2023-07-16 14:59       ` Andrew Lunn
2023-07-17  2:57         ` Feiyang Chen

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).