zephyr/drivers/flash
Rodrigo Brochado da3ec7dbfa drivers: flash: Fix regression on nrf52840 anomaly 122 workaround
A nordic hal update was made around the same time that anomaly 122 on
nrf52840 was fixed. This update introduced qspi_pins_deconfigure() in
the nrfx_qspi_uninit(). With that, the CS pin from QSPI becomes a
floating pin after anomaly 122 uninit is executed.

Set the CS pin high after the uninit to fix this.

I'm assuming that floating CS pins that are likely to experience EMI
can impact power consumption. That was the case with my custom board.

My custom board with nrf52840 and MX25R3235F running the hello_world
sample was consuming 2.3 mA before this patch, and 30 uA after
applying it.

Signed-off-by: Rodrigo Brochado <git.rodrigobrochado@gmail.com>
2022-03-17 19:04:19 +01:00
..
CMakeLists.txt drivers: flash: the chosen_flash variable was not read properly 2021-11-02 13:23:56 +01:00
flash_esp32.c drivers: flash: drop DEV_DATA/DEV_CFG usage 2022-01-19 18:16:02 +01:00
flash_gecko.c drivers: remove redundant DEV_NAME helpers 2022-03-15 17:31:51 -04:00
flash_handlers.c drivers/flash: remove flash_write_protection API 2022-02-01 10:46:28 +01:00
flash_ite_it8xxx2.c ITE: drivers/flash: remove flash write protection API 2022-03-17 11:32:51 +01:00
flash_mcux_flexspi_hyperflash.c drivers: flash: mcux_flexspi_hyperflash: use DEVICE_DT_GET 2022-02-21 22:16:10 -05:00
flash_mcux_flexspi_mx25um51345g.c drivers: flash: mcux_flexspi_mx25um51345g: use DEVICE_DT_GET 2022-02-21 22:16:10 -05:00
flash_mcux_flexspi_nor.c drivers: flash: mcux_flexspi_nor: use DEVICE_DT_GET 2022-02-21 22:16:10 -05:00
flash_page_layout.c flash_page_layout: refactor flash_page_get_info 2021-07-10 14:48:22 -04:00
flash_priv.h
flash_sam0.c everywhere: fix typos 2022-03-14 20:22:24 -04:00
flash_sam.c drivers: fix style issues 2022-01-19 18:16:02 +01:00
flash_shell.c
flash_simulator.c all: Deprecate UTIL_LISTIFY and replace with LISTIFY 2022-03-08 11:03:30 +01:00
flash_stm32_qspi.c drivers: remove redundant DEV_NAME helpers 2022-03-15 17:31:51 -04:00
flash_stm32_v1.c
flash_stm32.c drivers: flash: Refactor drivers to use shared init priority 2022-01-17 11:51:09 -05:00
flash_stm32.h everywhere: fix typos 2022-03-14 20:22:24 -04:00
flash_stm32f2x.c
flash_stm32f4x.c everywhere: fix typos 2022-03-14 20:22:24 -04:00
flash_stm32f7x.c everywhere: fix typos 2022-03-14 20:22:24 -04:00
flash_stm32g0x.c drivers: flash: stm32g0: dual bank handling 2021-11-17 11:06:59 -05:00
flash_stm32g4x.c everywhere: fix typos 2022-03-14 20:22:24 -04:00
flash_stm32h7x.c drivers: flash: Refactor drivers to use shared init priority 2022-01-17 11:51:09 -05:00
flash_stm32l4x.c everywhere: fix typos 2022-03-14 20:22:24 -04:00
flash_stm32l5x.c STM32L5: flash: enable support for DBANK == 0 2022-02-21 20:56:58 -05:00
flash_stm32wbx.c everywhere: fix typos 2022-03-14 20:22:24 -04:00
jesd216.c everywhere: fix typos 2022-03-14 20:22:24 -04:00
jesd216.h
Kconfig kconfig: remove Enable from boolean prompts 2022-03-09 15:35:54 +01:00
Kconfig.at45
Kconfig.b91 drivers: flash: introduce new Telink B91 Flash driver 2021-07-30 19:53:04 -04:00
Kconfig.esp32 soc: riscv: esp32c3: drivers: flash: add support 2021-10-28 06:47:21 -04:00
Kconfig.gecko
Kconfig.it8xxx2 ite: drivers/flash: add flash driver for it8xxx2 2021-06-22 15:15:20 -04:00
Kconfig.lpc
Kconfig.mcux drivers: flash: added flexspi hyperflash. 2021-10-19 16:42:12 -05:00
Kconfig.nios2_qspi
Kconfig.nor
Kconfig.nordic_qspi_nor drivers/flash/nrf_qspi_nor: Default write_from_nvmc buffer size to 4 2021-12-20 17:52:00 +01:00
Kconfig.nrf
Kconfig.rv32m1
Kconfig.sam drivers: flash: Kconfig.sam: -depends on and +dfu sample exclude 2021-09-02 13:23:47 -04:00
Kconfig.sam0
Kconfig.simulator kconfig: remove Enable from boolean prompts 2022-03-09 15:35:54 +01:00
Kconfig.stm32 drivers/flash: stm32l5: Adding flash driver for stm32l5x series 2021-08-04 10:26:06 -05:00
Kconfig.stm32_qspi kconfig: stm32: Select CONFIG_USE_STM32_HAL_MDMA when QSPI is used 2022-01-04 20:47:29 -05:00
nrf_qspi_nor.c drivers: flash: Fix regression on nrf52840 anomaly 122 workaround 2022-03-17 19:04:19 +01:00
soc_flash_b91.c drivers: flash: Refactor drivers to use shared init priority 2022-01-17 11:51:09 -05:00
soc_flash_lpc.c drivers: flash: Refactor drivers to use shared init priority 2022-01-17 11:51:09 -05:00
soc_flash_mcux.c drivers: flash: Refactor drivers to use shared init priority 2022-01-17 11:51:09 -05:00
soc_flash_nios2_qspi.c everywhere: fix typos 2022-03-14 20:22:24 -04:00
soc_flash_nrf_ticker.c everywhere: fix typos 2022-03-14 20:22:24 -04:00
soc_flash_nrf.c drivers: flash: Refactor drivers to use shared init priority 2022-01-17 11:51:09 -05:00
soc_flash_nrf.h everywhere: fix typos 2022-03-14 20:22:24 -04:00
soc_flash_rv32m1.c drivers: flash: Refactor drivers to use shared init priority 2022-01-17 11:51:09 -05:00
spi_flash_at45.c drivers: flash: drop get_dev_data/get_dev_config usage 2022-01-19 18:16:02 +01:00
spi_nor.c everywhere: fix typos 2022-03-14 20:22:24 -04:00
spi_nor.h qspi: stm32: Add support for 4 IO read and program (4READ/4PP) 2022-01-04 20:47:29 -05:00