From: Mark Brown Date: Tue, 20 May 2025 09:34:25 +0000 (+0100) Subject: spi: sh-msiof: Transfer size improvements and I2S X-Git-Tag: v6.16-rc1~23^2~15 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=5b31d2d81a4bcdd9915e7b152fb3cdc3dc7f4ecb;p=linux-block.git spi: sh-msiof: Transfer size improvements and I2S Merge series from Geert Uytterhoeven : This patch series (A) improves single transfer sizes in the MSIOF driver, using two methods: - By increasing the assumed FIFO sizes, impacting both PIO and DMA transfers, - By using two groups, impacting DMA transfers, and (B) lets the recently-introduced MSIOF I2S drive reuse the SPI driver's register definitions. All of this is covered with a thick sauce of fixes for (harmless) bugs, cleanups, and refactorings. Note that the driver uses the limitations as specified in the hardware documentation. For discovering the actual FIFO sizes, I wrote some crude test code that can be found at [2]. This is based on spi/for-next and sound-asoc/for-next, and has been tested on a variery of R-Car SoCs. [1] https://lore.kernel.org/cover.1746180072.git.geert+renesas@glider.be [2] https://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-drivers.git/log/?h=topic/msiof-fifo --- 5b31d2d81a4bcdd9915e7b152fb3cdc3dc7f4ecb