[PATCH v3 0/3] drivers/spi/airoha_snfi_spi: dual/quad wires modes, dma

Mikhail Kshevetskiy mikhail.kshevetskiy at iopsys.eu
Tue Jun 24 07:49:38 CEST 2025


Christian,
Is there any comments?

On 20.06.2025 02:54, Mikhail Kshevetskiy wrote:
> 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
>
> Changes v3:
>  * fix clearmask in some calls of regmap_update_bits()
>
> 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 | 641 ++++++++++++++++++++++++++++++++--
>  1 file changed, 603 insertions(+), 38 deletions(-)
>


More information about the U-Boot mailing list