linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/4] Move Loongson1 MAC arch-code to the driver dir
@ 2023-08-24 12:50 Keguang Zhang
  2023-08-24 12:50 ` [PATCH v3 1/4] dt-bindings: mfd: syscon: Add compatibles for Loongson-1 syscon Keguang Zhang
                   ` (3 more replies)
  0 siblings, 4 replies; 18+ messages in thread
From: Keguang Zhang @ 2023-08-24 12:50 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
V2 -> V3: Split the DT-schema file into loongson,ls1b-gmac.yaml
          and loongson,ls1c-emac.yaml (suggested by Serge Semin)
          Change the compatibles to loongson,ls1b-gmac and loongson,ls1c-emac
          Rename loongson,dwmac-syscon to loongson,ls1-syscon
          Amend the title
          Add description
          Change compatibles back to loongson,ls1b-syscon
          and loongson,ls1c-syscon
          Determine the device ID by physical
          base address(suggested by Serge Semin)
          Use regmap instead of regmap fields
          Use syscon_regmap_lookup_by_phandle()
          Some minor fixes
          Update the entries of MAINTAINERS
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 Ethernet Controller
  net: stmmac: Add glue layer for Loongson-1 SoC
  MAINTAINERS: Update MIPS/LOONGSON1 entry

 .../devicetree/bindings/mfd/syscon.yaml       |   2 +
 .../bindings/net/loongson,ls1b-gmac.yaml      | 115 +++++++++
 .../bindings/net/loongson,ls1c-emac.yaml      | 114 +++++++++
 MAINTAINERS                                   |   3 +
 drivers/net/ethernet/stmicro/stmmac/Kconfig   |  11 +
 drivers/net/ethernet/stmicro/stmmac/Makefile  |   1 +
 .../ethernet/stmicro/stmmac/dwmac-loongson1.c | 240 ++++++++++++++++++
 7 files changed, 486 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/net/loongson,ls1b-gmac.yaml
 create mode 100644 Documentation/devicetree/bindings/net/loongson,ls1c-emac.yaml
 create mode 100644 drivers/net/ethernet/stmicro/stmmac/dwmac-loongson1.c


base-commit: 2b3bd393093b04d4882152398019cbb96b0440ff
-- 
2.39.2


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

end of thread, other threads:[~2023-08-30 18:37 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-24 12:50 [PATCH v3 0/4] Move Loongson1 MAC arch-code to the driver dir Keguang Zhang
2023-08-24 12:50 ` [PATCH v3 1/4] dt-bindings: mfd: syscon: Add compatibles for Loongson-1 syscon Keguang Zhang
2023-08-25  6:48   ` Krzysztof Kozlowski
2023-08-24 12:50 ` [PATCH v3 2/4] dt-bindings: net: Add Loongson-1 Ethernet Controller Keguang Zhang
2023-08-26 21:04   ` Serge Semin
2023-08-27  7:56     ` Krzysztof Kozlowski
2023-08-27 21:01       ` Serge Semin
2023-08-28  7:15         ` Krzysztof Kozlowski
2023-08-28 12:41           ` Serge Semin
2023-08-28  4:38     ` Keguang Zhang
2023-08-28 12:46       ` Serge Semin
2023-08-28 13:09     ` Keguang Zhang
2023-08-24 12:50 ` [PATCH v3 3/4] net: stmmac: Add glue layer for Loongson-1 SoC Keguang Zhang
2023-08-26 20:40   ` Serge Semin
2023-08-30 13:45     ` Keguang Zhang
2023-08-24 12:50 ` [PATCH v3 4/4] MAINTAINERS: Update MIPS/LOONGSON1 entry Keguang Zhang
2023-08-25  6:47   ` Krzysztof Kozlowski
2023-08-25 12:22     ` 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).