Add support for TH1520-integrated GMACs
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 5 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | clk: thead: th1520-ap: Correctly handle flags for dividersdrivers/ | +3 | 1 reply | |
| 2/5 | riscv: cpu: th1520: Limit upper RAM boundary to 4 GiBarch/ | +16 | 1 reply | |
| 3/5 | drivers: net: Add T-Head DWMAC glue layerMAINTAINERS drivers/ drivers/ +1 more | +298 | 1 reply | |
| 4/5 | riscv: dts: th1520: Describe GMACs and enable them on Lichee Pi 4Aarch/ arch/ | +161 | 1 reply | |
| 5/5 | configs: th1520_lpi4a: Enable network supportconfigs/ | +6 | 1 reply |
Reviews trailers per patch
All 5 patches have a Reviewed-by or Acked-by.
| Patch | Leo Yu-Chi Liang |
|---|---|
| 1/5 | A-b |
| 2/5 | R-b |
| 3/5 | A-b |
| 4/5 | A-b |
| 5/5 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/5] Add support for TH1520-integrated GMACs
TH1520 SoC integrates two MAC controllers based on Designware IP that could operate at 1 Gbps. This series ports the MAC glue driver from Linux, and then enables networking on the TH1520-based Lichee Pi 4A board.
The driver could send and receive data correctly under link speed of 10Mbps, 100Mbps and 1Gbps. Under 1Gbps, tftp could transfer data at more than 10MiB/s.
Note the bug fixed by the first patch doesn't cause any problem with existing supported peripherals, thus the fix isn't urgent.
Yao Zi (5):
clk: thead: th1520-ap: Correctly handle flags for dividers
riscv: cpu: th1520: Limit upper RAM boundary to 4 GiB
drivers: net: Add T-Head DWMAC glue layer
riscv: dts: th1520: Describe GMACs and enable them on Lichee Pi 4A
configs: th1520_lpi4a: Enable network support
MAINTAINERS | 1 + arch/riscv/cpu/th1520/dram.c | 16 ++ arch/riscv/dts/th1520-lichee-module-4a.dtsi | 119 ++++++++ arch/riscv/dts/th1520.dtsi | 42 +++ configs/th1520_lpi4a_defconfig | 7 +- drivers/clk/thead/clk-th1520-ap.c | 4 +- drivers/net/Kconfig | 8 + drivers/net/Makefile | 1 + drivers/net/dwmac_thead.c | 288 ++++++++++++++++++++ 9 files changed, 484 insertions(+), 2 deletions(-) create mode 100644 drivers/net/dwmac_thead.c
Signature · 1 line
2.50.0