zephyr/drivers/flash
Mehdi Zemzem adedf14c42 drivers: flash: spi nor: Add MultInstance support
Modify the SPI Nor driver to be able to have multiple instances at
the same time.

This patch is heavily inspired by the at45 driver.
It was tested on the nRF5340 DK by using the external spi memory two times.
Macros were improved by de-nordic

Signed-off-by: Mehdi Zemzem <mehdi.zemzem2@gmail.com>
2024-03-21 10:07:53 +00:00
..
CMakeLists.txt drivers: flash: support for Nuvoton numaker series RMC 2024-03-11 14:22:55 +01:00
flash_ambiq.c drivers: flash: Add Ambiq flash controller driver. 2023-10-27 10:50:05 +02:00
flash_andes_qspi.c drivers: flash: add Andes qspi-nor driver 2023-08-03 10:28:02 +02:00
flash_andes_qspi.h drivers: flash: add Andes qspi-nor driver 2023-08-03 10:28:02 +02:00
flash_cadence_nand.c drivers: flash: Added cdns Nand Driver 2024-01-30 18:01:31 +01:00
flash_cadence_nand_ll.c drivers: flash: Added cdns Nand Driver 2024-01-30 18:01:31 +01:00
flash_cadence_nand_ll.h drivers: flash: Added cdns Nand Driver 2024-01-30 18:01:31 +01:00
flash_cadence_qspi_nor.c drivers: flash: Add Cadence QSPI NOR Flash Driver 2022-09-01 14:30:59 -04:00
flash_cadence_qspi_nor_ll.c includes: prefer <zephyr/kernel.h> over <zephyr/zephyr.h> 2022-09-05 16:31:47 +02:00
flash_cadence_qspi_nor_ll.h drivers: flash: Add Cadence QSPI NOR Flash Driver 2022-09-01 14:30:59 -04:00
flash_esp32.c soc: xtensa,riscv: esp32xx: refactor folder structure 2023-07-25 18:12:33 +02:00
flash_gd32.c drivers: flash: introduce gd32 fmc driver 2022-09-08 10:13:05 +02:00
flash_gd32.h drivers: flash: introduce gd32 fmc driver 2022-09-08 10:13:05 +02:00
flash_gd32_v1.c drivers/flash/gd32_vX: add missing kernel header 2022-10-17 14:39:39 +09:00
flash_gd32_v2.c drivers: flash: update gd32 fmc v2 2023-12-01 10:51:52 +00:00
flash_gd32_v3.c drivers/flash/gd32_vX: add missing kernel header 2022-10-17 14:39:39 +09:00
flash_gecko.c drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
flash_handlers.c flash: correct userspace flash_handlers 2024-01-30 08:30:32 -05:00
flash_ifx_cat1.c drivers: flash: Add Infineon CAT1 Flash driver 2023-05-08 11:16:09 +02:00
flash_ite_it8xxx2.c ITE: soc: chip_chipregs: Access registers using structure method 2022-11-09 10:44:29 +01:00
flash_mcux_flexspi_hyperflash.c drivers: clock_control: add support for FlexSPI reclock on NXP iMX RT10XX 2024-02-01 10:57:35 +01:00
flash_mcux_flexspi_mx25um51345g.c drivers: memc: update interface of memc flexspi driver for multi device 2023-10-20 14:53:10 +02:00
flash_mcux_flexspi_nor.c drivers: flash: flash_flexspi_nor: support SFDP probe 2024-02-01 10:57:35 +01:00
flash_npcx_fiu_nor.c syscall: rename Z_OOPS -> K_OOPS 2023-11-03 11:46:52 +01:00
flash_npcx_fiu_qspi.c soc: arm: npcx: move soc-specific register definitions to soc.h 2023-11-09 10:20:39 +00:00
flash_npcx_fiu_qspi.h driver: flash: npcx: add support for npcx4 series 2023-08-24 10:42:33 +01:00
flash_nxp_s32_qspi_nor.c drivers: flash: add NXP S32 QSPI flash NOR driver 2023-07-26 09:44:14 +02:00
flash_page_layout.c include: add missing errno.h include 2022-10-11 18:05:17 +02:00
flash_priv.h headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
flash_rpi_pico.c device: remove redundant init functions 2023-04-19 10:00:25 +02:00
flash_sam.c drivers: flash: sam: Use interrupt to sync 2024-01-23 15:22:26 +00:00
flash_sam0.c drivers: flash: atmel SAM0 fix flash_write to handle smaller length. 2023-10-20 14:51:17 +02:00
flash_shell.c drivers: flash: shell: adjusted load command prompt 2023-09-29 16:28:40 +02:00
flash_simulator.c syscall: rename Z_OOPS -> K_OOPS 2023-11-03 11:46:52 +01:00
flash_simulator_native.c drivers flash_simulator: Set standard source macro appropriately 2024-01-26 07:48:55 -05:00
flash_simulator_native.h flash simulator: Refactor native part so it works with emb libC 2023-07-10 09:50:56 +02:00
flash_smartbond.c device: remove redundant init functions 2023-04-19 10:00:25 +02:00
flash_stm32.c drivers: flash: stm32 flash base address from the DTS node 2024-01-29 14:12:47 -06:00
flash_stm32.h drivers: flash: stm32 flash base address from the DTS node 2024-01-29 14:12:47 -06:00
flash_stm32_ex_op.c syscall: rename Z_OOPS -> K_OOPS 2023-11-03 11:46:52 +01:00
flash_stm32_ospi.c drivers: flash: stm32 ospi refactor stm32_ospi_mem_erased args 2024-03-08 09:39:07 +01:00
flash_stm32_ospi.h drivers: flash: stm32 ospi: implement non busy wait polling 2024-03-08 09:39:07 +01:00
flash_stm32_qspi.c drivers: flash: stm32 qspi drivers gets address and size from DTS 2024-02-02 13:48:18 +01:00
flash_stm32f1x.c flash: stm32: configurable write block sizes 2024-03-11 18:57:43 +00:00
flash_stm32f2x.c drivers: flash: stm32 flash base address from the DTS node 2024-01-29 14:12:47 -06:00
flash_stm32f4x.c drivers: flash: stm32 flash base address from the DTS node 2024-01-29 14:12:47 -06:00
flash_stm32f7x.c drivers: flash: stm32 flash base address from the DTS node 2024-01-29 14:12:47 -06:00
flash_stm32g0x.c drivers: flash: stm32 flash base address from the DTS node 2024-01-29 14:12:47 -06:00
flash_stm32g4x.c drivers: flash: stm32 flash base address from the DTS node 2024-01-29 14:12:47 -06:00
flash_stm32h7x.c drivers: flash: stm32 flash base address from the DTS node 2024-01-29 14:12:47 -06:00
flash_stm32l4x.c drivers: flash: stm32 flash base address from the DTS node 2024-01-29 14:12:47 -06:00
flash_stm32l5x.c drivers: flash: stm32 flash base address from the DTS node 2024-01-29 14:12:47 -06:00
flash_stm32wba_fm.c drivers: flash: stm32 flash base address from the DTS node 2024-01-29 14:12:47 -06:00
flash_stm32wbax.c drivers: flash: stm32 flash base address from the DTS node 2024-01-29 14:12:47 -06:00
flash_stm32wbx.c drivers: flash: stm32 flash base address from the DTS node 2024-01-29 14:12:47 -06:00
jesd216.c drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
jesd216.h drivers: flash: stm32 ospi driver with read ID from octoflash 2022-11-22 14:26:57 +00:00
Kconfig drivers: flash: support for Nuvoton numaker series RMC 2024-03-11 14:22:55 +01:00
Kconfig.ambiq drivers: flash: Add Ambiq flash controller driver. 2023-10-27 10:50:05 +02:00
Kconfig.andes drivers: flash: add Andes qspi-nor driver 2023-08-03 10:28:02 +02:00
Kconfig.at45 drivers: flash: spi: Move to using select in Kconfig for SPI bus 2023-02-27 14:35:15 +01:00
Kconfig.b91 drivers: flash: Update drivers to use devicetree Kconfig symbol 2022-07-30 08:27:13 -05:00
Kconfig.cadence_nand drivers: flash: Added cdns Nand Driver 2024-01-30 18:01:31 +01:00
Kconfig.cadence_qspi_nor drivers: flash: Add Cadence QSPI NOR Flash Driver 2022-09-01 14:30:59 -04:00
Kconfig.cc13xx_cc26xx drivers: flash: Update drivers to use devicetree Kconfig symbol 2022-07-30 08:27:13 -05:00
Kconfig.esp32 drivers: flash: Update drivers to use devicetree Kconfig symbol 2022-07-30 08:27:13 -05:00
Kconfig.gd32 drivers: flash: introduce gd32 fmc driver 2022-09-08 10:13:05 +02:00
Kconfig.gecko drivers: flash: Update drivers to use devicetree Kconfig symbol 2022-07-30 08:27:13 -05:00
Kconfig.ifx_cat1 drivers: flash: Fix kconfig dependency 2023-05-10 16:49:59 +09:00
Kconfig.it8xxx2 hwmv2: Introduce Hardware model version 2 and convert devices 2024-03-02 16:56:33 -05:00
Kconfig.lpc drivers: flash: soc_flash_lpc: enable support for lpc54xxx IAP 2022-08-25 08:26:53 -05:00
Kconfig.mcux hwmv2: Introduce Hardware model version 2 and convert devices 2024-03-02 16:56:33 -05:00
Kconfig.nios2_qspi flash: nios2_qspi: Convert driver to be devicetree based 2022-08-12 08:11:42 -04:00
Kconfig.nor flash: spi_nor: don't hard loop in wait_until_ready 2024-01-24 22:15:33 -06:00
Kconfig.nordic_qspi_nor drivers: qspi: added operation timeout 2024-01-09 10:00:57 +01:00
Kconfig.npcx_fiu soc: npcx: replace Nuvoton NPCX series definitions in the npcx drivers 2023-10-20 15:07:21 +02:00
Kconfig.nrf drivers: flash: soc_flash_nrf: Account for ticker in timeout 2022-10-13 16:06:08 +09:00
Kconfig.nrf_mram drivers: flash: Add flash driver for MRAM 2024-03-08 09:36:04 +01:00
Kconfig.nrf_rram drivers: flash: rram: Make rram flash timeout multiplier user selectable 2024-02-26 10:27:23 +01:00
Kconfig.numaker drivers: flash: support for Nuvoton numaker series FMC 2023-07-21 10:41:40 +00:00
Kconfig.numaker_rmc drivers: flash: support for Nuvoton numaker series RMC 2024-03-11 14:22:55 +01:00
Kconfig.nxp_s32 drivers: flash: add NXP S32 QSPI flash NOR driver 2023-07-26 09:44:14 +02:00
Kconfig.rpi_pico drivers: flash: Add flash driver for rpi_pico series 2022-11-15 12:12:00 +00:00
Kconfig.rv32m1 drivers: flash: Update drivers to use devicetree Kconfig symbol 2022-07-30 08:27:13 -05:00
Kconfig.sam flash: sam: Rewrite driver to dyncamically adapt to pages 2024-01-23 15:22:26 +00:00
Kconfig.sam0 soc: atmel: add base support for C2x SOC 2022-11-04 16:03:01 +01:00
Kconfig.simulator drivers: flash: Update drivers to use devicetree Kconfig symbol 2022-07-30 08:27:13 -05:00
Kconfig.smartbond drivers: flash: Add driver for smartbond 2022-08-31 20:32:03 +02:00
Kconfig.stm32 drivers: flash: stm32wba: Use STM32WBA Flash manager for RF coexistence 2023-12-21 09:19:24 +01:00
Kconfig.stm32_ospi drivers: flash: stm32 ospi driver for the stm32h5x 2023-04-07 08:33:51 +00:00
Kconfig.stm32_qspi drivers: flash: Update drivers to use devicetree Kconfig symbol 2022-07-30 08:27:13 -05:00
Kconfig.xmc4xxx drivers: flash: Add xmc4xxx flash drivers 2022-10-03 13:56:49 +02:00
nrf_qspi_nor.c drivers: nrf_qspi_nor: Handle anomaly 159 on nRF5340 2024-03-14 15:35:06 +01:00
soc_flash_b91.c include: add missing kernel.h include 2022-10-11 18:05:17 +02:00
soc_flash_cc13xx_cc26xx.c include: add missing zephyr/irq.h include 2022-10-20 22:52:09 +09:00
soc_flash_lpc.c drivers: flash: soc_flash_lpc: enable support for lpc54xxx IAP 2022-08-25 08:26:53 -05:00
soc_flash_mcux.c flash: nxp: fix lpc55s36 flash read 2023-10-10 15:26:18 +02:00
soc_flash_nios2_qspi.c flash: nios2_qspi: Convert driver to be devicetree based 2022-08-12 08:11:42 -04:00
soc_flash_nrf.c drivers/flash/nrf: Workaround for nrf91 errata 7 2023-09-28 15:33:52 +02:00
soc_flash_nrf.h drivers: flash: soc_flash_nrf: Account for ticker in timeout 2022-10-13 16:06:08 +09:00
soc_flash_nrf_mram.c drivers: flash: Add flash driver for MRAM 2024-03-08 09:36:04 +01:00
soc_flash_nrf_rram.c drivers: flash: rram singlethreading support 2024-02-26 10:27:23 +01:00
soc_flash_numaker.c drivers: flash: support for Nuvoton numaker series FMC 2023-07-21 10:41:40 +00:00
soc_flash_numaker_rmc.c drivers: flash: support for Nuvoton numaker series RMC 2024-03-11 14:22:55 +01:00
soc_flash_rv32m1.c drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
soc_flash_xmc4xxx.c drivers: flash: soc_flash_xmc4xxx: Add missing kernel.h header 2022-10-20 15:41:39 +02:00
spi_flash_at45.c drivers: spi_flash_at45: Fix erasing of first two sectors 2023-05-09 12:22:15 +02:00
spi_nor.c drivers: flash: spi nor: Add MultInstance support 2024-03-21 10:07:53 +00:00
spi_nor.h drivers: flash: spi nor: Add MultInstance support 2024-03-21 10:07:53 +00:00