devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/4] Move Loongson1 MAC arch-code to the driver dir
@ 2023-08-16 11:13 Keguang Zhang
  2023-08-16 11:13 ` [PATCH v2 1/4] dt-bindings: mfd: syscon: Add compatibles for Loongson-1 syscon Keguang Zhang
                   ` (3 more replies)
  0 siblings, 4 replies; 20+ messages in thread
From: Keguang Zhang @ 2023-08-16 11:13 UTC (permalink / raw)
  To: netdev, devicetree, linux-mips, linux-kernel
  Cc: Lee Jones, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	David S . Miller, Eric Dumazet, Jakub Kicinski, Paolo Abeni,
	Thomas Bogendoerfer, Giuseppe Cavallaro, Alexandre Torgue,
	Jose Abreu, Serge Semin, Keguang Zhang

In order to convert Loongson1 MAC platform devices to the devicetree
nodes, Loongson1 MAC arch-code should be moved to the driver dir.
Add dt-binding document and update MAINTAINERS file accordingly. 
    
In other words, this patchset is a preparation for converting
Loongson1 platform devices to devicetree.

Changelog
V1 -> V2: Leave the Ethernet platform data for now
          Make the syscon compatibles more specific
          Fix "clock-names" and "interrupt-names" property
          Rename the syscon property to "loongson,dwmac-syscon"
          Drop "phy-handle" and "phy-mode" requirement
          Revert adding loongson,ls1b-dwmac/loongson,ls1c-dwmac
          to snps,dwmac.yaml
          Fix the build errors due to CONFIG_OF being unset
          Change struct reg_field definitions to const
          Rename the syscon property to "loongson,dwmac-syscon"
          Add MII PHY mode for LS1C
          Improve the commit message

Keguang Zhang (4):
  dt-bindings: mfd: syscon: Add compatibles for Loongson-1 syscon
  dt-bindings: net: Add Loongson-1 DWMAC glue layer
  net: stmmac: Add glue layer for Loongson-1 SoC
  MAINTAINERS: Update MIPS/LOONGSON1 entry

 .../devicetree/bindings/mfd/syscon.yaml       |   2 +
 .../bindings/net/loongson,ls1x-dwmac.yaml     |  98 +++++++
 MAINTAINERS                                   |   2 +
 drivers/net/ethernet/stmicro/stmmac/Kconfig   |  11 +
 drivers/net/ethernet/stmicro/stmmac/Makefile  |   1 +
 .../ethernet/stmicro/stmmac/dwmac-loongson1.c | 273 ++++++++++++++++++
 6 files changed, 387 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/net/loongson,ls1x-dwmac.yaml
 create mode 100644 drivers/net/ethernet/stmicro/stmmac/dwmac-loongson1.c


base-commit: ef66bf8aeb91fd331cf8f5dca8f9d7bca9ab2849
-- 
2.39.2


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

end of thread, other threads:[~2023-08-23  4:41 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-16 11:13 [PATCH v2 0/4] Move Loongson1 MAC arch-code to the driver dir Keguang Zhang
2023-08-16 11:13 ` [PATCH v2 1/4] dt-bindings: mfd: syscon: Add compatibles for Loongson-1 syscon Keguang Zhang
2023-08-19 14:23   ` Krzysztof Kozlowski
2023-08-21 11:00     ` Keguang Zhang
2023-08-21 12:06       ` Krzysztof Kozlowski
2023-08-16 11:13 ` [PATCH v2 2/4] dt-bindings: net: Add Loongson-1 DWMAC glue layer Keguang Zhang
2023-08-19 14:26   ` Krzysztof Kozlowski
2023-08-21 13:26     ` Keguang Zhang
2023-08-16 11:13 ` [PATCH v2 3/4] net: stmmac: Add glue layer for Loongson-1 SoC Keguang Zhang
2023-08-19 19:05   ` Simon Horman
2023-08-21 13:27     ` Keguang Zhang
2023-08-20 19:04   ` Andrew Lunn
2023-08-22  9:47     ` Keguang Zhang
2023-08-22  9:49       ` Keguang Zhang
2023-08-22 15:21         ` Andrew Lunn
2023-08-22 15:20       ` Andrew Lunn
2023-08-23  2:47         ` Keguang Zhang
2023-08-23  3:46           ` Andrew Lunn
2023-08-23  4:40             ` Keguang Zhang
2023-08-16 11:13 ` [PATCH v2 4/4] MAINTAINERS: Update MIPS/LOONGSON1 entry Keguang Zhang

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