This patch series adds support for the Ethernet MAC found on the Actions
Semi Owl family of SoCs.
For the moment I have only tested the driver on RoseapplePi SBC, which is
based on the S500 SoC variant. It might work on S900 as well, but I cannot
tell for sure since the S900 datasheet I currently have doesn't provide
any information regarding the MAC registers - so I couldn't check the
compatibility with S500.
Similar story for S700: the datasheet I own is incomplete, but it seems
the MAC is advertised with Gigabit capabilities. For that reason most
probably we need to extend the current implementation in order to support
this SoC variant as well.
Please note that for testing the driver it is also necessary to update the
S500 clock subsystem:
https://lore.kernel.org/lkml/[email protected]/
The DTS changes for the S500 SBCs will be provided separately.
Thanks,
Cristi
Cristian Ciocaltea (3):
dt-bindings: net: Add Actions Semi Owl Ethernet MAC binding
net: ethernet: actions: Add Actions Semi Owl Ethernet MAC driver
MAINTAINERS: Add entries for Actions Semi Owl Ethernet MAC
.../bindings/net/actions,owl-emac.yaml | 91 +
MAINTAINERS | 2 +
drivers/net/ethernet/Kconfig | 1 +
drivers/net/ethernet/Makefile | 1 +
drivers/net/ethernet/actions/Kconfig | 39 +
drivers/net/ethernet/actions/Makefile | 6 +
drivers/net/ethernet/actions/owl-emac.c | 1660 +++++++++++++++++
drivers/net/ethernet/actions/owl-emac.h | 278 +++
8 files changed, 2078 insertions(+)
create mode 100644 Documentation/devicetree/bindings/net/actions,owl-emac.yaml
create mode 100644 drivers/net/ethernet/actions/Kconfig
create mode 100644 drivers/net/ethernet/actions/Makefile
create mode 100644 drivers/net/ethernet/actions/owl-emac.c
create mode 100644 drivers/net/ethernet/actions/owl-emac.h
--
2.30.2
Add entries for Actions Semi Owl Ethernet MAC binding and driver.
Signed-off-by: Cristian Ciocaltea <[email protected]>
---
MAINTAINERS | 2 ++
1 file changed, 2 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index 5e372d606c5c..b6cd438083e4 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -1530,6 +1530,7 @@ F: Documentation/devicetree/bindings/dma/owl-dma.yaml
F: Documentation/devicetree/bindings/i2c/i2c-owl.yaml
F: Documentation/devicetree/bindings/interrupt-controller/actions,owl-sirq.yaml
F: Documentation/devicetree/bindings/mmc/owl-mmc.yaml
+F: Documentation/devicetree/bindings/net/actions,owl-emac.yaml
F: Documentation/devicetree/bindings/pinctrl/actions,*
F: Documentation/devicetree/bindings/power/actions,owl-sps.txt
F: Documentation/devicetree/bindings/timer/actions,owl-timer.txt
@@ -1542,6 +1543,7 @@ F: drivers/dma/owl-dma.c
F: drivers/i2c/busses/i2c-owl.c
F: drivers/irqchip/irq-owl-sirq.c
F: drivers/mmc/host/owl-mmc.c
+F: drivers/net/ethernet/actions/
F: drivers/pinctrl/actions/*
F: drivers/soc/actions/
F: include/dt-bindings/power/owl-*
--
2.30.2