[PATCH v2 0/3] drivers/spi/airoha_snfi_spi: dual/quad wires modes, dma
Mikhail Kshevetskiy
mikhail.kshevetskiy at iopsys.eu
Wed Jun 11 17:10:40 CEST 2025
This patch series adds
* Support of 2-wire and 4-wire spi modes. It speeds up flash read/write
by 2 (or 4) times on the corresponding hardware.
* Support of DMA for spi-nand cache reading/writing/updating. It speeds
up flash read/write very much.
Only 2-wire mode has been tested so far. It works fine with en7523/an7581
chips.
UBI attaching
-------------
before: 17 sec
after: 2.5 sec
reading of 0x1000000 bytes
--------------------------
before: 17 sec
after: 2 sec
Changes v2:
* dma support was added
Mikhail Kshevetskiy (3):
drivers/spi/airoha_snfi_spi: remove unnecessary operation
adjust_op_size
drivers/spi/airoha_snfi_spi: add support of dual/quad wires spi modes
drivers/spi/airoha_snfi_spi: add dma support
drivers/spi/airoha_snfi_spi.c | 634 ++++++++++++++++++++++++++++++++--
1 file changed, 596 insertions(+), 38 deletions(-)
--
2.47.2
More information about the U-Boot
mailing list