u-boot/drivers/spi
Apurva Nandan 8077d296ad spi: cadence-quadspi: Use STIG mode for all ops with small payload
OSPI controller supports all types of op variants in STIG mode,
only limitation being that the data payload should be less than
8 bytes when not using memory banks.

STIG mode is more stable for operations that send small data
payload and is more efficient than using DMA for few bytes of
memory accesses. It overcomes the limitation of minimum 4 bytes
read from flash into RAM seen in DAC mode.

Use STIG mode for all read and write operations that require
data input/output of less than 8 bytes from the flash, and thereby
support all four phases, cmd/address/dummy/data, through OSPI STIG.

Also, remove the reorder address chunk in apb_command_write since we now
setup ADDR BIT field that does the same job in a cleaner way.

Signed-off-by: Apurva Nandan <a-nandan@ti.com>
Signed-off-by: Dhruva Gole <d-gole@ti.com>
Acked-by: Jagan Teki <jagan@amarulasolutions.com>
2023-04-26 13:37:14 +05:30
..
altera_spi.c spi: altera_spi: Do not abuse CONFIG namespace 2021-08-30 14:13:28 -04:00
apple_spi.c spi: apple: Add driver for Apple SPI controller 2022-02-10 16:44:23 -05:00
atcspi200_spi.c WS cleanup: remove SPACE(s) followed by TAB 2021-09-30 09:08:16 -04:00
ath79_spi.c dm: treewide: Rename ..._platdata variables to just ..._plat 2020-12-13 16:51:09 -07:00
atmel-quadspi.c spi: atmel-quadspi: Fix the buswidth adjustment between spi-mem and controller 2022-04-26 09:54:41 +03:00
atmel_spi.c dm: treewide: Rename ..._platdata variables to just ..._plat 2020-12-13 16:51:09 -07:00
atmel_spi.h spi: atmel: Remove nondm code 2020-06-11 15:14:04 +05:30
bcm63xx_hsspi.c drivers: spi: fix some typos 2023-01-26 20:53:20 +05:30
bcm63xx_spi.c spi: bcm63xx: Don't check clk_free 2022-03-30 13:02:55 -04:00
bcmstb_spi.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
ca_sflash.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
cadence_ospi_versal.c Correct SPL uses of ZYNQMP_FIRMWARE 2023-02-10 07:41:41 -05:00
cadence_qspi.c spi: cadence-quadspi: Use STIG mode for all ops with small payload 2023-04-26 13:37:14 +05:30
cadence_qspi.h spi: cadence-qspi: Use priv instead of plat across the driver 2022-09-13 11:32:48 +02:00
cadence_qspi_apb.c spi: cadence-quadspi: Use STIG mode for all ops with small payload 2023-04-26 13:37:14 +05:30
cf_spi.c cf_spi.c: Rename CONFIG_SPI_IDLE_VAL to SPI_IDLE_VAL 2022-12-23 13:01:13 -05:00
davinci_spi.c global: Move remaining CONFIG_SYS_* to CFG_SYS_* 2022-12-05 16:06:08 -05:00
designware_spi.c spi: dw: Don't check clk_free 2022-03-30 13:02:55 -04:00
exynos_spi.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
fsl_dspi.c drivers: spi: fix some typos 2023-01-26 20:53:20 +05:30
fsl_espi.c global: Migrate CONFIG_SYS_MPC8* symbols to the CFG_SYS namespace 2022-11-10 10:08:55 -05:00
fsl_qspi.c Merge branch '2021-02-02-drop-asm_global_data-when-unused' 2021-02-15 10:16:45 -05:00
gxp_spi.c spi: gxp_spi: Add GXP SPI controller driver 2022-06-22 21:30:05 -04:00
ich.c doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
ich.h x86: spl: Move priv/plat structs to headers 2021-01-05 12:24:41 -07:00
iproc_qspi.c driver: spi: add bcm iproc qspi support 2022-02-24 13:42:50 +05:30
Kconfig Merge branch 'master_sh/gen4/initial' of https://source.denx.de/u-boot/custodians/u-boot-sh 2023-04-07 15:55:50 -04:00
kirkwood_spi.c global: Move remaining CONFIG_SYS_* to CFG_SYS_* 2022-12-05 16:06:08 -05:00
Makefile spi: Add Socionext F_OSPI SPI flash controller driver 2023-01-26 20:53:20 +05:30
meson_spifc.c dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00
microchip_coreqspi.c spi: Add Microchip PolarFire SoC QSPI driver 2022-11-03 13:27:56 +08:00
mpc8xx_spi.c spi, mpc8xx: Add support for chipselect via GPIO and fixups 2023-02-11 08:47:58 +01:00
mpc8xxx_spi.c dm: treewide: Rename ..._platdata variables to just ..._plat 2020-12-13 16:51:09 -07:00
mscc_bb_spi.c dm: treewide: Rename ..._platdata variables to just ..._plat 2020-12-13 16:51:09 -07:00
mt7620_spi.c spi: add spi controller support for MediaTek MT7620 SoC 2021-01-24 21:39:26 +01:00
mt7621_spi.c dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00
mtk_snfi_spi.c drivers: spi: fix some typos 2023-01-26 20:53:20 +05:30
mtk_snor.c spi: mtk_snor: add support for MTK SPI NOR controller 2021-01-29 10:35:14 -05:00
mtk_spim.c mediatek: Include <linux/sizes.h> where needed 2022-11-10 10:08:55 -05:00
mvebu_a3700_spi.c drivers: spi: fix some typos 2023-01-26 20:53:20 +05:30
mxc_spi.c global: Finish CONFIG -> CFG migration 2023-01-20 12:27:24 -05:00
mxs_spi.c treewide: Simply conditions with the new OF_REAL 2021-09-25 09:46:15 -06:00
npcm_fiu_spi.c spi: npcm-fiu: add regulator feature and remove set clock 2023-04-25 23:01:48 +05:30
npcm_pspi.c spi: nuvoton: add NPCM PSPI controller driver 2022-10-27 12:41:36 +05:30
nxp_fspi.c spi: nxp_fspi: Fix clock imbalance 2022-06-15 11:34:38 +02:00
octeon_spi.c cyclic: Use schedule() instead of WATCHDOG_RESET() 2022-09-18 10:26:33 +02:00
omap3_spi.c drivers: spi: fix some typos 2023-01-26 20:53:20 +05:30
pic32_spi.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
pl022_spi.c stm32mp1: fix reference for STMicroelectronics 2022-06-17 14:12:27 +02:00
renesas_rpc_spi.c renesas: Fix RPC-IF compatible values 2022-09-02 13:25:01 +02:00
rk_spi.c drivers: spi: fix some typos 2023-01-26 20:53:20 +05:30
rk_spi.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
rockchip_sfc.c spi: rockchip_sfc: Add missing include for dm/device_compat.h 2022-04-18 11:25:12 +08:00
sandbox_spi.c cf_spi.c: Rename CONFIG_SPI_IDLE_VAL to SPI_IDLE_VAL 2022-12-23 13:01:13 -05:00
sh_qspi.c drivers: spi: sh_qspi.c: Use log_warning() instead of printf() 2023-01-26 20:53:20 +05:30
soft_spi.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
spi-aspeed-smc.c drivers: spi: fix some typos 2023-01-26 20:53:20 +05:30
spi-emul-uclass.c dm: define LOG_CATEGORY for all uclass 2021-07-06 10:38:03 -06:00
spi-mem-nodm.c spi: spi-mem-nodm: Fix read data size issue 2021-08-03 11:50:37 +05:30
spi-mem.c spi: spi-mem: perform odd len check only while writing data 2023-04-25 22:56:14 +05:30
spi-mxic.c spi: Add MXIC controller driver 2021-06-25 20:59:45 +05:30
spi-qup.c drivers: spi: fix some typos 2023-01-26 20:53:20 +05:30
spi-sifive.c drivers: spi: fix some typos 2023-01-26 20:53:20 +05:30
spi-sn-f-ospi.c spi: f-ospi: Add missing spi_mem_default_supports_op() helper 2023-04-25 22:58:21 +05:30
spi-sunxi.c spi: sunxi: Add support for F1C100s SPI controller 2022-07-18 11:34:22 +01:00
spi-synquacer.c spi: synquacer: Silence uninitialized variable warnings 2023-04-25 23:06:10 +05:30
spi-uclass.c spi: Implement spi_set_speed 2022-10-16 12:23:22 +02:00
spi.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
stm32_qspi.c spi: stm32_qspi: Remove useless struct stm32_qspi_flash 2023-04-19 09:52:42 +02:00
stm32_spi.c spi: stm32: Add ofdata_to_platdata() callback 2021-10-08 08:41:47 +02:00
tegra20_sflash.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
tegra20_slink.c spi: tegra20_slink: accept any word length 2023-02-23 12:55:36 -07:00
tegra114_spi.c dm: Use access methods for dev/uclass private data 2021-01-05 12:24:40 -07:00
tegra210_qspi.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
tegra_spi.h dm: treewide: Rename ..._platdata variables to just ..._plat 2020-12-13 16:51:09 -07:00
ti_qspi.c Fix wrong QSPI clock calculation for AM4372 2022-01-16 08:31:03 -05:00
uniphier_spi.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
xilinx_spi.c spi: xilinx_spi: Fix spi reset 2023-03-09 13:15:00 +01:00
zynq_qspi.c spi: zynq_qspi: Fix programming qspi speed 2022-07-26 09:34:21 +02:00
zynq_spi.c Xilinx changes for v2021.04-rc3 2021-02-23 10:45:55 -05:00
zynqmp_gqspi.c xilinx: zynqmp: Add missing prototype for zynqmp_mmio_write 2023-03-09 13:15:00 +01:00