[PATCH 0/3] spi: OCTAL mode fixes

patrice.chotard at foss.st.com patrice.chotard at foss.st.com
Tue Jun 18 06:29:48 PDT 2024


From: Patrice Chotard <patrice.chotard at foss.st.com>

During tests performed using spidev_test in OCTAL mode with spi-stm32-qspi.c,
several issues has been found :
  _ OCTAL mode wasn't supported in spi.c
  _ CCR register wasn't set correctly when OCTAL mode is set in spi-stm32-qspi.c.
  _ Fix dual flash mode sanity test in spi-stm32-qspi.c

Patrice Chotard (3):
  spi: stm32: qspi: Fix dual flash mode sanity test in
    stm32_qspi_setup()
  spi: stm32: qspi: Clamp stm32_qspi_get_mode() output to CCR_BUSWIDTH_4
  spi: add OCTAL mode support

 drivers/spi/spi-stm32-qspi.c | 12 +++++-------
 drivers/spi/spi.c            |  6 ++++--
 include/linux/spi/spi.h      |  5 +++--
 3 files changed, 12 insertions(+), 11 deletions(-)

-- 
2.25.1




More information about the linux-arm-kernel mailing list