... so that the pin keeps the inactive state of the CSN line when it is not controlled by the QSPI peripheral and the driver is not suspended. Currently, the nrf_qspi_nor shim deinitializes the nrfx_qspi driver after each operation, what leaves the pin uncontrolled until a new operation is requested (and the nrfx_qspi driver is initialized again) or the driver is suspended (and the pin is put into low-power state). This can cause the flash chip to needlessly consume current when there is no pull-up resistor on its CSN line and the line appears active. Prevent this by keeping the pin in a defined (inactive) state. Signed-off-by: Andrzej Głąbek <andrzej.glabek@nordicsemi.no> |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| common.c | ||
| Kconfig | ||
| Kconfig.b91 | ||
| Kconfig.cc13xx_cc26xx | ||
| Kconfig.esp32 | ||
| Kconfig.gd32 | ||
| Kconfig.imx | ||
| Kconfig.it8xxx2 | ||
| Kconfig.kinetis | ||
| Kconfig.lpc_iocon | ||
| Kconfig.npcx | ||
| Kconfig.nrf | ||
| Kconfig.rcar | ||
| Kconfig.rpi_pico | ||
| Kconfig.rv32m1 | ||
| Kconfig.sam | ||
| Kconfig.sam0 | ||
| Kconfig.sifive | ||
| Kconfig.smartbond | ||
| Kconfig.stm32 | ||
| Kconfig.xec | ||
| Kconfig.xlnx | ||
| Kconfig.xmc4xxx | ||
| pfc_rcar.c | ||
| pinctrl_b91.c | ||
| pinctrl_cc13xx_cc26xx.c | ||
| pinctrl_esp32.c | ||
| pinctrl_gd32_af.c | ||
| pinctrl_gd32_afio.c | ||
| pinctrl_imx.c | ||
| pinctrl_ite_it8xxx2.c | ||
| pinctrl_kinetis.c | ||
| pinctrl_lpc_iocon.c | ||
| pinctrl_mchp_xec.c | ||
| pinctrl_npcx.c | ||
| pinctrl_nrf.c | ||
| pinctrl_rpi_pico.c | ||
| pinctrl_rv32m1.c | ||
| pinctrl_sam0.c | ||
| pinctrl_sam.c | ||
| pinctrl_sifive.c | ||
| pinctrl_smartbond.c | ||
| pinctrl_stm32.c | ||
| pinctrl_xlnx_zynq.c | ||
| pinctrl_xmc4xxx.c | ||