spi: loongson: SPI-IO driver for Loongson-2K0300
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | spi: dt-bindings: loongson,ls2k-spi: Document loongson,ls2k0300-spi compatibleDocumentation/ | +4 | 0 replies | |
| 2/5 | spi: dt-bindings: loongson,ls2k-spi: Document loongson,ls2k0300-spi-io compatibleDocumentation/ | +41 | 1 reply | |
| 3/5 | spi: loongson-io: Add SPI-IO interrupt-driven driverMAINTAINERS drivers/ drivers/ +1 more | +755 | 0 replies | |
| 4/5 | spi: loongson-io: Add DMA support to SPI-IO driverdrivers/ | +388 | 0 replies | |
| 5/5 | MAINTAINERS: Add myself as Loongson SPI maintainerMAINTAINERS | +1 | 0 replies |
Reviews trailers per patch
1 of 5 patches has a Reviewed-by or Acked-by.
| Patch | Conor Dooley |
|---|---|
| 1/5 | |
| 2/5 | A-b |
| 3/5 | |
| 4/5 | |
| 5/5 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/5] spi: loongson: SPI-IO driver for Loongson-2K0300
Hi all:
This series adds a new SPI controller driver for the Loongson-2K0300 SPI-IO blocks (SPI2 / SPI3). On the Loongson-2K0300 these blocks reside in the chip IO address space (0x1610,c000 – 0x1610,ffff) and only support IO-space access; a separate QSPI controller handles the main SPI pins on the same SoC, so this driver uses the dedicated compatible "loongson,ls2k0300-spi-io".
Test results
SPI NOR flash on SPI2, spi-max-frequency = 28000000:
DMA:
read: ~3.1 MB/s
write: ~401 kB/s
Intterupt:
read: ~750 KB/s
write: ~300 kB/sThanks.
Binbin
Binbin Zhou (5):
spi: dt-bindings: loongson,ls2k-spi: Document loongson,ls2k0300-spi
compatible
spi: dt-bindings: loongson,ls2k-spi: Document loongson,ls2k0300-spi-io
compatible
spi: loongson-io: Add SPI-IO interrupt-driven driver
spi: loongson-io: Add DMA support to SPI-IO driver
MAINTAINERS: Add myself as Loongson SPI maintainer
.../bindings/spi/loongson,ls2k-spi.yaml | 45 + MAINTAINERS | 2 + drivers/spi/Kconfig | 16 + drivers/spi/Makefile | 1 + drivers/spi/spi-loongson-io.c | 1114 +++++++++++++++++ 5 files changed, 1178 insertions(+) create mode 100644 drivers/spi/spi-loongson-io.c
base-commit: e09d1526e19ef8b1008ee81149232db6c2bdee32
Signature · 1 line
2.52.0