zephyr/drivers
Thomas Altenbach 6aeb12d558 drivers: flash: stm32_qspi: Fix flash not reset when in QPI mode
The reset commands were sent only in SPI mode, causing the device not to
be properly reset when in QPI mode. On the STM32H747I-DISCO boards, this
was causing the driver initialization to fail due to a bad SFDP magic
after flashing the external memory using STM32CubeProgrammer since the
external loader is configuring the flash memory in QPI mode.

The commands are sent in QPI mode first, then in SPI mode:
- If the flash memory was in QPI mode, the two first reset commands are
  processed and after reset, the flash memory is in SPI mode and
  correctly handles the SPI mode reset commands.
- If the flash memory was in SPI mode, for each QPI command the chip
  select signal will be released before the flash memory had the
  opportunity to receive a whole command (1 byte), so the partially
  received commands will be ignored and won't cause any harm. Then, the
  chip is reset by the commands sent in SPI mode.

Signed-off-by: Thomas Altenbach <altenbach.thomas@gmail.com>
2025-07-11 09:41:38 -05:00
..
adc drivers: adc: Place device APIs in linker sections 2025-06-27 10:09:32 -05:00
audio drivers: audio: dmic_mcux: init active_buf_idx when setting up dma 2025-07-01 19:03:07 -05:00
auxdisplay drivers: kconfig: fix typo 2025-07-01 10:58:54 -10:00
bbram
bluetooth drivers: bluetooth: silabs: Fix indicating support for 2M phy 2025-07-08 13:44:51 -05:00
cache
can drivers: can: sam0: fix clock configuration for SAM0 series 2025-07-10 15:53:46 -05:00
charger
clock_control drivers: clock_control: Remove unused 'sys' argument 2025-07-10 16:00:52 -05:00
comparator
console sca: Fix undefined behavior during preprocessing 2025-06-27 14:14:35 +02:00
coredump
counter counter: cmsdk_apb_timer: Use clock freq from DT clocks 2025-07-08 13:36:58 -05:00
crypto drivers: crypto: crypto_ataes132a fix memset undefined behavior 2025-07-10 10:13:17 -05:00
dac drivers: dac: Place device APIs in linker sections 2025-06-27 10:09:32 -05:00
dai
debug
disk
display display: stm32: ltdc: fix RGB565/BGR565 format to match sample expectations 2025-07-04 13:07:55 -05:00
dma dma_mcux_edma: Remove header file 2025-07-11 09:41:14 -05:00
dp
edac
eeprom drivers: kconfig: fix typo 2025-07-01 10:58:54 -10:00
entropy drivers: virtio: move virtio headers to zephyr/drivers 2025-07-04 15:49:54 -05:00
espi drivers: kconfig: fix typo 2025-07-01 10:58:54 -10:00
ethernet drivers: mdio_nxp_enet_qos: fix CR overwrite 2025-07-08 13:40:17 -05:00
firmware soc: nordic: move nrf_ironside from drivers/firmware to soc/nordic 2025-07-02 17:57:45 -05:00
flash drivers: flash: stm32_qspi: Fix flash not reset when in QPI mode 2025-07-11 09:41:38 -05:00
fpga
fuel_gauge drivers: kconfig: fix typo 2025-07-01 10:58:54 -10:00
gnss drivers: kconfig: fix typo 2025-07-01 10:58:54 -10:00
gpio drivers: gpio: pca6416: fix dt get id 2025-07-10 10:14:16 -05:00
haptics
hdlc_rcp_if
hwinfo
hwspinlock
i2c drivers: i2c: stm32: exclude stm32f7 family for PM 2025-07-09 17:16:16 -05:00
i2s drivers: kconfig: fix typo 2025-07-01 10:58:54 -10:00
i3c drivers: i3c: check addr slot is free only if it's different 2025-07-04 13:08:33 -05:00
ieee802154
input drivers: kconfig: fix typo 2025-07-01 10:58:54 -10:00
interrupt_controller
ipm
led
led_strip
lora drivers: lora: rylrxxx: fix snprintf usage 2025-07-04 16:40:46 -10:00
mbox
mdio drivers: mdio_nxp_enet_qos: fix CR overwrite 2025-07-08 13:40:17 -05:00
memc drivers: nxp: flexspi: fix hyper flash hang issue 2025-06-26 22:14:38 -05:00
mfd license: fix copyright owner 2025-06-26 10:56:48 -05:00
mipi_dbi
mipi_dsi drivers: mipi_dsi: dsi_mcux_2l: support non-contiguous frame buffer 2025-06-27 08:49:44 -10:00
misc drivers: misc: mcux_flexio: Set the DOZEN bit 2025-07-09 00:24:14 -05:00
mm
modem drivers: modem_cellular: fix bg95dial cmd resp 2025-07-04 13:07:12 -05:00
mspi drivers: kconfig: fix typo 2025-07-01 10:58:54 -10:00
net drivers: kconfig: fix typo 2025-07-01 10:58:54 -10:00
pcie
peci
pinctrl drivers/pinctrl: ite: Don't clear FUNC3 setting unless alt_func is FUNC3 2025-06-30 15:19:49 -05:00
pm_cpu_ops
power_domain drivers: power_domain: Power domain TISCI driver support 2025-06-26 10:57:45 -05:00
ps2
psi5 drivers: introduce support Peripheral Sensor Interface (PSI5) driver 2025-07-01 10:53:59 -10:00
ptp_clock
pwm drivers: pwm: stm32: fix four channel pwm capture 2025-07-10 16:01:23 -05:00
regulator
reset drivers: reset: Add MPFS MSS driver 2025-06-27 09:59:08 -05:00
retained_mem
rtc drivers: rtc: stm32: narrow backup domain access window during interrupts 2025-07-04 13:06:36 -05:00
sdhc drivers: kconfig: fix typo 2025-07-01 10:58:54 -10:00
sensor sensor: bme280: Fix bad chip id read after power cycle 2025-07-09 00:25:33 -05:00
sent drivers: introduce Single Edge Nibble Transmission (SENT) driver 2025-06-26 18:50:07 -10:00
serial drivers: lp uart: fix initialization 2025-07-10 16:01:11 -05:00
sip_svc
smbus
spi spi_mcux_dspi: Hotfix for failing null rx test 2025-07-11 09:41:14 -05:00
stepper
syscon drivers: syscon: remove unnecessary checks for dev pointer 2025-07-04 16:42:53 -10:00
tee
timer drivers: timer: Clean up Cortex-M systick Kconfig 2025-07-04 16:40:31 -10:00
usb drivers: udc_dwc2: Set EP0 IN CNAK only when necessary 2025-07-11 09:41:04 -05:00
usb_c
video drivers: video: stm32_dcmipp: move video/ header directory to drivers/ 2025-07-09 09:42:43 -05:00
virtio drivers: virtio: move virtio headers to zephyr/drivers 2025-07-04 15:49:54 -05:00
virtualization
w1
watchdog drivers: watchdog: Add enableWait setting for wdt_mcux_imx_wdog 2025-07-03 11:57:17 -05:00
wifi drivers: nrf_wifi: Fix TX drop statistics 2025-07-08 13:39:17 -05:00
xen
CMakeLists.txt drivers: introduce support Peripheral Sensor Interface (PSI5) driver 2025-07-01 10:53:59 -10:00
Kconfig drivers: introduce support Peripheral Sensor Interface (PSI5) driver 2025-07-01 10:53:59 -10:00