WSL2-Linux-Kernel/drivers/spi
Patrice Chotard d38fa9a155
spi: stm32-qspi: Always wait BUSY bit to be cleared in stm32_qspi_wait_cmd()
In U-boot side, an issue has been encountered when QSPI source clock is
running at low frequency (24 MHz for example), waiting for TCF bit to be
set didn't ensure that all data has been send out the FIFO, we should also
wait that BUSY bit is cleared.

To prevent similar issue in kernel driver, we implement similar behavior
by always waiting BUSY bit to be cleared.

Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
Link: https://lore.kernel.org/r/20210603073421.8441-1-patrice.chotard@foss.st.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2021-06-03 13:55:36 +01:00
..
Kconfig spi: altera: Make SPI_ALTERA_CORE invisible 2021-04-28 16:34:59 +01:00
Makefile spi: altera: Add DFL bus driver for Altera API Controller 2021-04-20 17:26:41 +01:00
atmel-quadspi.c
internals.h
spi-altera-core.c spi: altera: separate core code from platform code 2021-04-20 17:26:40 +01:00
spi-altera-dfl.c spi: altera: Add DFL bus driver for Altera API Controller 2021-04-20 17:26:41 +01:00
spi-altera-platform.c spi: altera: separate core code from platform code 2021-04-20 17:26:40 +01:00
spi-amd.c
spi-ar934x.c
spi-armada-3700.c
spi-at91-usart.c
spi-ath79.c
spi-atmel.c
spi-au1550.c
spi-axi-spi-engine.c spi: spi-axi-spi-engine: remove usage of delay_usecs 2021-03-12 14:30:42 +00:00
spi-bcm-qspi.c spi: spi-bcm-qspi: replace 'delay_usecs' with 'delay.value' check 2021-03-12 14:30:44 +00:00
spi-bcm-qspi.h
spi-bcm63xx-hsspi.c
spi-bcm63xx.c spi: bcm63xx-spi: don't check 'delay_usecs' field 2021-03-12 14:30:43 +00:00
spi-bcm2835.c spi: bcm2835: Fix out-of-bounds access with more than 4 slaves 2021-05-24 09:50:36 +01:00
spi-bcm2835aux.c
spi-bitbang-txrx.h
spi-bitbang.c spi: Cleanup on failure of initial setup 2021-06-01 14:03:12 +01:00
spi-brcmstb-qspi.c
spi-butterfly.c
spi-cadence-quadspi.c spi: Updates for v5.13 2021-04-26 16:32:11 -07:00
spi-cadence.c
spi-cavium-octeon.c
spi-cavium-thunderx.c
spi-cavium.c
spi-cavium.h
spi-clps711x.c
spi-coldfire-qspi.c
spi-davinci.c spi: davinci: Use device_get_match_data() helper 2021-04-09 13:44:04 +01:00
spi-dln2.c spi: dln2: Fix reference leak to master 2021-04-09 13:43:57 +01:00
spi-dw-bt1.c
spi-dw-core.c
spi-dw-dma.c
spi-dw-mmio.c
spi-dw-pci.c
spi-dw.h
spi-ep93xx.c
spi-falcon.c spi: spi-falcon: remove check for 'delay_usecs' 2021-03-12 14:30:48 +00:00
spi-fsi.c spi: fsi: add a missing of_node_put 2021-04-21 16:07:04 +01:00
spi-fsl-cpm.c
spi-fsl-cpm.h
spi-fsl-dspi.c spi: spi-fsl-dspi: Fix a resource leak in an error handling path 2021-05-10 13:00:27 +01:00
spi-fsl-espi.c spi: fsl-espi: remove usage of 'delay_usecs' field 2021-03-12 14:30:49 +00:00
spi-fsl-lib.c
spi-fsl-lib.h
spi-fsl-lpspi.c spi: fsl-lpspi: Fix PM reference leak in lpspi_prepare_xfer_hardware() 2021-04-09 13:43:59 +01:00
spi-fsl-qspi.c
spi-fsl-spi.c spi: Cleanup on failure of initial setup 2021-06-01 14:03:12 +01:00
spi-fsl-spi.h
spi-geni-qcom.c spi: spi-geni-qcom: Convert to use resource-managed OPP API 2021-03-16 10:14:11 +05:30
spi-gpio.c
spi-hisi-kunpeng.c spi: hisi-kunpeng: Fix Woverflow warning on conversion 2021-04-07 16:58:34 +01:00
spi-hisi-sfc-v3xx.c spi: hisi-sfc-v3xx: drop unnecessary ACPI_PTR and related ifendif protection 2021-04-12 17:07:38 +01:00
spi-img-spfi.c
spi-imx.c sound updates for 5.13 2021-04-30 12:48:14 -07:00
spi-iproc-qspi.c
spi-jcore.c spi: jcore: Fix trailing statements should be on next line 2021-03-24 19:51:09 +00:00
spi-lantiq-ssc.c
spi-lm70llp.c
spi-loopback-test.c treewide: Change list_sort to use const pointers 2021-04-08 16:04:22 -07:00
spi-lp8841-rtc.c
spi-mem.c spi: spi-mem: Fix code indent should use tabs where possible 2021-03-24 19:51:10 +00:00
spi-meson-spicc.c
spi-meson-spifc.c
spi-mpc52xx-psc.c
spi-mpc52xx.c
spi-mpc512x-psc.c
spi-mt65xx.c
spi-mt7621.c
spi-mtk-nor.c spi: spi-mtk-nor: Fix checkpatch spacing error 2021-03-24 19:51:07 +00:00
spi-mux.c
spi-mxic.c
spi-mxs.c
spi-npcm-fiu.c
spi-npcm-pspi.c
spi-nxp-fspi.c spi: fspi: enable fspi driver for on imx8mp 2021-03-25 13:59:42 +00:00
spi-oc-tiny.c
spi-omap-100k.c spi: omap-100k: Fix reference leak to master 2021-04-09 13:44:00 +01:00
spi-omap-uwire.c spi: Cleanup on failure of initial setup 2021-06-01 14:03:12 +01:00
spi-omap2-mcspi.c spi: Cleanup on failure of initial setup 2021-06-01 14:03:12 +01:00
spi-orion.c spi: orion: set devdata properly as it is being used later 2021-04-09 13:44:02 +01:00
spi-pic32-sqi.c
spi-pic32.c
spi-pl022.c spi: pl022: Convert to use GPIO descriptors 2021-03-31 13:54:29 +01:00
spi-ppc4xx.c
spi-pxa2xx-dma.c
spi-pxa2xx-pci.c spi: pxa2xx: Fix checkpatch spacing errors 2021-03-24 19:51:05 +00:00
spi-pxa2xx.c spi: Cleanup on failure of initial setup 2021-06-01 14:03:12 +01:00
spi-pxa2xx.h
spi-qcom-qspi.c spi: spi-qcom-qspi: Convert to use resource-managed OPP API 2021-03-16 10:14:11 +05:30
spi-qup.c spi: qup: fix PM reference leak in spi_qup_remove() 2021-04-09 13:44:03 +01:00
spi-rb4xx.c
spi-realtek-rtl.c
spi-rockchip.c spi: rockchip: Fix code indent should use tabs where possible 2021-03-24 19:51:11 +00:00
spi-rpc-if.c
spi-rspi.c
spi-s3c24xx-regs.h
spi-s3c24xx.c
spi-s3c64xx.c spi: s3c64xx: constify driver/match data 2021-04-15 16:07:58 +01:00
spi-sc18is602.c spi: sc18is602: implement .max_{transfer,message}_size() for the controller 2021-05-21 13:13:33 +01:00
spi-sh-hspi.c
spi-sh-msiof.c
spi-sh-sci.c
spi-sh.c spi: spi-sh: replace 'delay_usecs' with 'delay.value' in pr_debug 2021-03-12 14:30:45 +00:00
spi-sifive.c
spi-slave-mt27xx.c spi: mediatek: add mt8195 spi slave support 2021-03-23 17:19:45 +00:00
spi-slave-system-control.c
spi-slave-time.c
spi-sprd-adi.c spi: sprd: Fix checkpatch spacing error 2021-03-24 19:51:04 +00:00
spi-sprd.c spi: sprd: Add missing MODULE_DEVICE_TABLE 2021-05-12 13:01:43 +01:00
spi-st-ssc4.c
spi-stm32-qspi.c spi: stm32-qspi: Always wait BUSY bit to be cleared in stm32_qspi_wait_cmd() 2021-06-03 13:55:36 +01:00
spi-stm32.c Merge branch 'for-5.12' of https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi into spi-5.13 2021-04-15 19:29:40 +01:00
spi-sun4i.c
spi-sun6i.c
spi-synquacer.c
spi-tegra20-sflash.c spi: spi-tegra20-flash: don't check 'delay_usecs' field for spi transfer 2021-03-12 14:30:46 +00:00
spi-tegra20-slink.c
spi-tegra114.c
spi-tegra210-quad.c
spi-test.h
spi-ti-qspi.c
spi-tle62x0.c
spi-topcliff-pch.c spi: spi-topcliff-pch: Fix checkpatch spacing error 2021-03-24 19:51:03 +00:00
spi-uniphier.c
spi-xcomm.c
spi-xilinx.c
spi-xlp.c
spi-xtensa-xtfpga.c
spi-zynq-qspi.c spi: spi-zynq-qspi: Fix some wrong goto jumps & missing error code 2021-06-02 12:03:26 +01:00
spi-zynqmp-gqspi.c spi: spi-zynqmp-gqspi: return -ENOMEM if dma_map_single fails 2021-04-16 13:44:15 +01:00
spi.c spi: Don't have controller clean up spi device before driver unbind 2021-05-14 13:24:56 +01:00
spidev.c spidev: Add Micron SPI NOR Authenta device compatible 2021-04-20 17:29:41 +01:00