zephyr/drivers/memc
Ioannis Karachalios 7c5c459440 drivers: memc: Fix various APS6404 device issues
This commit deals with fixing various issues that prevents
the device from being built. In specific:

1. Fix default timing macro definitions to build with
an MSPI controller, other than AMBIG.
Add macro definition for MSPI_PORT.
2. Timing settings should be applied only when MSPI_TIMING
is defined. Otherwise, the APS6404 initialization routine
will fail with -EIO.
3. Similarly, use MSPI_XIP and MSPI_SCRAMBLE to apply XIP
and SCRAMBLE device settings, respectively (optimization).
4. MEMC_INIT_PRIORITY is assigned higher priority than
MSPI_INIT_PRIORITY which results in compiler error as
APS6404 device initialization depends on its underlying
MSPI bus controller.
5. The 'acquire' subroutine should be compiled when PM_DEVICE
is used (suppress compiler warning).

Signed-off-by: Ioannis Karachalios <ioannis.karachalios.px@renesas.com>
2024-11-08 13:56:31 -06:00
..
CMakeLists.txt
Kconfig
Kconfig.mcux
Kconfig.mspi
Kconfig.nxp_s32
Kconfig.sam
Kconfig.sifive
Kconfig.smartbond
Kconfig.stm32
memc_mcux_flexspi.c
memc_mcux_flexspi.h
memc_mcux_flexspi_aps6404l.c
memc_mcux_flexspi_aps6408l.c
memc_mcux_flexspi_is66wvq8m4.c
memc_mcux_flexspi_s27ks0641.c
memc_mcux_flexspi_w956a8mbya.c
memc_mspi_aps6404l.c
memc_nxp_flexram.c
memc_nxp_flexram.h
memc_nxp_s32_qspi.c
memc_nxp_s32_qspi.h
memc_sam_smc.c
memc_smartbond_nor_psram.c
memc_stm32.c
memc_stm32_nor_psram.c
memc_stm32_sdram.c
memc_stm32_sdram.ld
sifive_ddr.c
sifive_ddrregs.h