Commit Graph
17 Commits
Author SHA1 Message Date
Xiao Xufeng c8447b51e2 fix(mspi): fixed possible boot failure in some builds when psram is enabled
A typical scenario is: when XIP on PSRAM enabled, compiler optimization level is Os. Under certain binary layout, boot hangs and backtrace points to `esp_sleep_config_gpio_isolate`.

The root cause is that, during PSRAM initialization, it calls esp_gpio_reserve, which happens to place before the reported function. However, after call, there is no barrier before the clock adjustment in `mspi_timing_enter_low_speed_mode`. The clock gets changed when the cache is still fetching data, resulting in the corrupted data in the end of the cache line.

This commits add spi_flash_disable_cache as a barrier to make sure the cache transactions is finished before the clock switch.
2026-05-31 01:46:45 +08:00
Armando 3bb766fc25 feat(psram): support 250MHz in experimental 2025-11-17 10:32:50 +08:00
armando ff195f3492 feat(psram): support fallback to use default driver pattern when id isn't match 2025-06-23 10:14:54 +08:00
Armando e12812a4d7 fix(psram): fixed mode reg read bad timing on octal and hex psrams 2024-12-25 11:00:12 +08:00
wanckl 19c6e77a31 fix(mspi): collect mspi iomux pin macro from iomux_reg.h to spi_pins.h 2024-09-03 13:55:00 +08:00
Armando 5e50b11232 fix(psram): fixed ap3204 id check 2024-08-27 09:51:27 +08:00
C.S.M c431e9b830 feat(spiram): refactor for spiram device driver for s3/c5 2024-08-09 11:43:04 +08:00
Armando 1b8c8d5fd4 fix(psram): fixed p4 psram 20M wrong clk div 2024-07-18 17:34:47 +08:00
morris cf59c00564 change(mpll): clean up mpll clock acquire with ldo driver 2024-03-25 22:03:49 +08:00
Ondrej Kosta ce388a4111 feat(esp_eth): Added support of internal EMAC for ESP32P4
Refactored internal EMAC DMA access.

Added MPLL acquire to manage access to the MPLL by multiple periphs.
2024-01-16 14:29:25 +01:00
Armando 80e18811db feat(psram): support 200mhz psram, experimental feature for now 2024-01-10 11:52:28 +08:00
Song Ruo Jing 7f2b85b82b feat(clk): add basic clock support for esp32p4
- Support CPU frequency 360MHz
- Support SOC ROOT clock source switch
- Support LP SLOW clock source switch
- Support clock calibration
2023-12-29 00:37:26 +08:00
Armando 71202c701f change(ldo): do vddpst ldo init in early stage 2023-12-26 11:43:33 +08:00
Armando 8e9d90f603 feature(esp_psram): p4 real chip 20M 2023-12-18 15:18:07 +08:00
Armando 0beb637563 refactor(esp_psram): reformat code with astyle_py 2 2023-10-09 15:29:31 +08:00
Armando b75f8561e5 change(psram): atomic set clock and reset 2023-08-31 17:10:34 +08:00
Armando 712c0c0075 feat(psram): esp32p4 psram device driver support 2023-08-28 14:14:58 +08:00