Thread (50 messages) 50 messages, 9 authors, 2023-03-20

Re: [PATCH 08/12] net: stmmac: Add glue layer for StarFive JH7100 SoC

From: Cristian Ciocaltea <hidden>
Date: 2023-02-14 18:12:52
Also in: linux-devicetree, linux-riscv, lkml, netdev

On 2/13/23 11:26, Krzysztof Kozlowski wrote:
On 11/02/2023 04:18, Cristian Ciocaltea wrote:
quoted
From: Emil Renner Berthing <kernel@esmil.dk>

This adds a glue layer for the Synopsys DesignWare MAC IP core on the
StarFive JH7100 SoC.

Signed-off-by: Emil Renner Berthing <kernel@esmil.dk>
[drop references to JH7110, update JH7100 compatible string]
Signed-off-by: Cristian Ciocaltea <redacted>
---
  MAINTAINERS                                   |   1 +
  drivers/net/ethernet/stmicro/stmmac/Kconfig   |  12 ++
  drivers/net/ethernet/stmicro/stmmac/Makefile  |   1 +
  .../ethernet/stmicro/stmmac/dwmac-starfive.c  | 155 ++++++++++++++++++
  4 files changed, 169 insertions(+)
  create mode 100644 drivers/net/ethernet/stmicro/stmmac/dwmac-starfive.c
diff --git a/MAINTAINERS b/MAINTAINERS
index d48468b81b94..defedaff6041 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -19820,6 +19820,7 @@ STARFIVE DWMAC GLUE LAYER
  M:	Emil Renner Berthing <kernel@esmil.dk>
  S:	Maintained
  F:	Documentation/devicetree/bindings/net/starfive,jh7100-dwmac.yaml
+F:	drivers/net/ethernet/stmicro/stmmac/dwmac-starfive.c
  
  STARFIVE JH7100 CLOCK DRIVERS
  M:	Emil Renner Berthing <kernel@esmil.dk>
diff --git a/drivers/net/ethernet/stmicro/stmmac/Kconfig b/drivers/net/ethernet/stmicro/stmmac/Kconfig
index f77511fe4e87..2c81aa594291 100644
--- a/drivers/net/ethernet/stmicro/stmmac/Kconfig
+++ b/drivers/net/ethernet/stmicro/stmmac/Kconfig
@@ -165,6 +165,18 @@ config DWMAC_SOCFPGA
  	  for the stmmac device driver. This driver is used for
  	  arria5 and cyclone5 FPGA SoCs.
  
+config DWMAC_STARFIVE
+	tristate "StarFive DWMAC support"
Bring only one driver.

https://lore.kernel.org/all/20230118061701.30047-6-yanhong.wang@starfivetech.com/ (local)
Already mentioned in the cover letter that we have this overlap (will be 
merged into a single driver).

Thanks,
Cristian
Best regards,
Krzysztof
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help