From 5147d5bfddc807e990a762aed0e56724afeda663 Mon Sep 17 00:00:00 2001 From: Joy Chakraborty Date: Thu, 27 Apr 2023 12:33:10 +0000 Subject: [PATCH] spi: dw: Add 32 bpw support to SPI DW DMA driver Add Support for AxSize = 4 bytes configuration from dw dma driver if n_bytes i.e. number of bytes per write to fifo is 4. Number of bytes written to fifo per write is depended on the bits/word configuration being used which the DW core driver translates to n_bytes. Hence, for bits per word values between 17 and 32 n_bytes should be equal to 4. * tested on Baikal-T1 based system with DW SPI-looped back interface transferring a chunk of data with DFS:8,12,16. Signed-off-by: Joy Chakraborty