mbox series

[0/3] spi: OCTAL mode fixes

Message ID 20240618132951.2743935-1-patrice.chotard@foss.st.com
Headers show
Series spi: OCTAL mode fixes | expand

Message

Patrice CHOTARD June 18, 2024, 1:29 p.m. UTC
From: Patrice Chotard <patrice.chotard@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(-)