[PATCH v2 0/4] spi: stm32: stability & performance enhancements

Alain Volmat alain.volmat at foss.st.com
Thu Dec 18 02:48:26 PST 2025


The series fixes a stability issue when dealing with <8bpw
transfers, as well as enforce an error if the DMA information
provided within the DT are incorrect.

Performance enhancement is also provided by allowing a polling
mode which is triggered when the transfer is so short that
polling mode transfer would lead to faster transfer than
if it was done in a interrupt driven manner.

Signed-off-by: Alain Volmat <alain.volmat at foss.st.com>
---
Changes in v2:
- reordered commits, putting fix commits first in the series.
- no changes done in commits.
- Link to v1: https://lore.kernel.org/r/20251217-stm32-spi-enhancements-v1-0-943348b8ff66@foss.st.com

---
Alain Volmat (3):
      spi: stm32: properly fail on dma_request_chan error
      spi: stm32: perform small transfer in polling mode
      ARM: dts: stm32: add spi1 sleep state pinctrl on stm32mp157c-ev1

Deepak Kumar (1):
      spi: stm32: fix Overrun issue at < 8bpw

 arch/arm/boot/dts/st/stm32mp157c-ev1.dts |   3 +-
 drivers/spi/spi-stm32.c                  | 106 +++++++++++++++++++++++++++----
 2 files changed, 96 insertions(+), 13 deletions(-)
---
base-commit: 865a1f17d5e41c0b34929afcab0afa6bdb90d33e
change-id: 20251213-stm32-spi-enhancements-29da9bc29133

Best regards,
-- 
Alain Volmat <alain.volmat at foss.st.com>




More information about the linux-arm-kernel mailing list