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.
Only 2-wire mode has been tested so far. It works fine with en7523/an7581 chips. PS: We have dma support for reading/loading spi-nand pages. The patch is undergoing internal review for NDA violations. If everything will be OK, we will send it soon. Mikhail Kshevetskiy (2): 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.c | 131 ++++++++++++++++++++++------------ 1 file changed, 85 insertions(+), 46 deletions(-) -- 2.47.2