Commit Graph
2709 Commits
Author SHA1 Message Date
wuzhenghui 046f837245 feat(esp_hw_support): add ESP_MODEM_CLOCK_ENABLE_CHECKING config option 2026-01-30 15:30:34 +08:00
wuzhenghui a4c48831c5 fix: add reference count control for modem clock devices 2026-01-30 15:30:34 +08:00
sibeibei 258b77a5eb fix: clear modem RF flag before PMU sleep to prevent open rf failed on next wake-up 2026-01-30 15:20:26 +08:00
morris 799e366cee Merge branch 'feat/esp_driver_dma_v6.0' into 'release/v6.0'
feat(dma): graduate the dma driver from esp_hw_support to esp_driver_dma (v6.0)

See merge request espressif/esp-idf!45387
2026-01-30 12:40:39 +08:00
Jiang Jiang Jian d3e1887bbc Merge branch 'fix/p4_min_rev_usage_v6.0' into 'release/v6.0'
P4: fix wrong rev_min usage in rom and other places (v6.0)

See merge request espressif/esp-idf!45223
2026-01-30 10:50:51 +08:00
Michael (XIAO Xufeng) 340e6a63ab Merge branch 'feat/vbat_p4_eco6_v6.0' into 'release/v6.0'
feat(vbat): update vbat charger threshold on p4 revision 3 (backport v6.0)

See merge request espressif/esp-idf!45227
2026-01-30 01:37:41 +08:00
morris db750dc1a0 feat(dma): graduate the dma driver from esp_hw_support to esp_driver_dma 2026-01-29 14:41:14 +08:00
Jiang Jiang Jian 9ed8ae514a Merge branch 'fix/fix_p4_lp_adc_unavailable_in_sleep_v6.0' into 'release/v6.0'
feat(esp_hw_support): support ESP_SLEEP_USE_ADC_TSEN_MONITOR_MODE for esp32p4 (v6.0)

See merge request espressif/esp-idf!45197
2026-01-29 14:11:53 +08:00
laokaiyao 2cb958a9e3 feat(tsens): graduate temperature sensor hal component 2026-01-29 10:05:47 +08:00
Xiao Xufeng 170061e971 refactor(spi_flash): move internal types to private headers and refactor initialization
This commit refactors the SPI flash component to improve encapsulation and
modularity by moving internal types and functions to private headers, and
reorganizing initialization code.

Key changes:

1. Move PSRAM frequency constraint macro from soc_caps.h to mspi_ll.h
   - Rename SOC_SPI_MEM_PSRAM_FREQ_AXI_CONSTRAINED to
     MSPI_TIMING_LL_PSRAM_FREQ_AXI_CONSTRAINED
   - Move macro definition to chip-specific mspi_ll.h files (C5, C61, H4, P4, S31)
   - Update usage in clk_utils.c and esp_flash_spi_init.c
   - Remove old macro from all soc_caps.h files

2. Move internal types to private headers
   - Move esp_flash_t structure to esp_private/esp_flash_types.h
   - Move esp_flash_os_functions_t to esp_private/spi_flash_os.h
   - Update all internal files to include private headers
   - Keep forward declarations in public esp_flash.h

3. Move chip driver header to internal directory
   - Move spi_flash_chip_driver.h to esp_flash_port/spi_flash_chip_driver.h
   - Update all references to use new path
   - Add esp_private/esp_flash_types.h include to the moved header

4. Refactor initialization functions
   - Move init_flash from esp_system/startup_funcs.c to
     spi_flash/esp_flash_spi_init.c
   - Create new init_pm_flash_freq_limit function in startup_funcs.c
     to call esp_pm_flash_freq_limit_init() conditionally
   - Update system_init_fn.txt with new function locations

5. Improve API encapsulation
   - Replace direct access to esp_flash_t->size in
     esp_partition_register_external() with esp_flash_get_size() API
   - Move esp_flash_is_quad_mode from inline function to regular function
     in esp_flash_api.c

6. Update component dependencies
   - Add esp_driver_gpio to spi_flash component PRIV_REQUIRES
   - Remove unused includes and clean up header dependencies

These changes improve code organization by clearly separating public APIs
from internal implementation details, making the codebase more maintainable
and reducing the risk of breaking changes to internal structures.
2026-01-29 03:28:30 +08:00
morris f02cd2e253 Merge branch 'bugfix/dma_memcpy_psram_workaround_v6.0' into 'release/v6.0'
fix(dma): add PSRAM memory barrier for external RAM buffers (v6.0)

See merge request espressif/esp-idf!45163
2026-01-28 22:38:05 +08:00
morris 39dc9613c1 Merge branch 'refactor/remove_gdma_trigger_peripheral_t_v6.0' into 'release/v6.0'
refactor: remove gdma_trigger_peripheral_t (v6.0)

See merge request espressif/esp-idf!45063
2026-01-28 22:37:24 +08:00
Xiao Xufeng 79f7427729 fix(esp32p4): fix efuse, encryption and other rev_min usage 2026-01-28 21:46:00 +08:00
Michael (XIAO Xufeng) d6c4fcd957 Merge branch 'bugfix/fix_big_vdddig_bug_p4eco6_v6.0' into 'release/v6.0'
Fix_vdddig_big_bug when boot in ECO6 (v6.0)

See merge request espressif/esp-idf!45182
2026-01-28 21:27:50 +08:00
Jiang Jiang Jian 422a827f6b Merge branch 'bugfix/esp_idf_c2_pm-613_6.0' into 'release/v6.0'
fix(esp_hw_support): fix cpu restart failed due to rtc_clk in flash(v6.0)

See merge request espressif/esp-idf!45296
2026-01-28 19:08:12 +08:00
Jiang Jiang Jian 2359d58fbf Merge branch 'refactor/independent_esp_hal_pmu_v6.0' into 'release/v6.0'
feat(hal): graduate pmu/rtc_cntl hal driver into a new component: esp_hal_pmu (v6.0)

See merge request espressif/esp-idf!44954
2026-01-28 19:02:36 +08:00
Jiang Jiang Jian ea33171ec8 Merge branch 'feat/support_configurable_behavior_for_sleep_console_v6.0' into 'release/v6.0'
feat(esp_hw_support): Support configurable console uart behavior before sleep (v6.0)

See merge request espressif/esp-idf!44949
2026-01-28 17:50:23 +08:00
Jiang Jiang Jian e08da5d846 Merge branch 'fix/fix_cnnt_top_dependency_v6.0' into 'release/v6.0'
fix(esp_hw_support): fix TOP domain to CNNT domian dependency (v6.0)

See merge request espressif/esp-idf!44950
2026-01-28 17:50:13 +08:00
armando 165ecbab44 test(mspi): add flash api run on psram stack test for xip_psram case 2026-01-28 15:30:15 +08:00
armando 2594933551 feat(p4): added rev3_1 macro 2026-01-26 09:58:25 +08:00
chaijie@espressif.com be3a71a585 fix(p4_eco6): Fix_vdddig_big_bug when boot 2026-01-26 09:58:25 +08:00
Jiang Jiang Jian 48e7e0618d Merge branch 'fix/make_deepsleep_gpio_wakeup_usable_for_pd_top_lightsleep_v6.0' into 'release/v6.0'
fix(esp_hw_support): fix different cache writeback cost make sleep time compensation failed (v6.0)

See merge request espressif/esp-idf!45334
2026-01-23 15:56:12 +08:00
Jiang Jiang Jian c530fad0c2 Merge branch 'bugfix/fix_apb_bus_get_stuck_by_operating_wifi_mac_clock_v6.0' into 'release/v6.0'
fix(phy): wifi mac clock is not required during phy calibration

See merge request espressif/esp-idf!45252
2026-01-23 15:55:35 +08:00
morris 8ad6e47f95 fix(dma): add PSRAM memory barrier for external RAM buffers 2026-01-23 10:18:58 +08:00
wuzhenghui 8a914c6f1b fix(esp_hw_support): revert cache writeback/invalidate in wakeup process 2026-01-21 17:18:17 +08:00
hebinglin 9fdfb4216c fix(esp_hw_support): remove ESP32 linker.lf api that conflict with FORCE_IRAM_ATTR 2026-01-20 17:44:04 +08:00
hebinglin b16f09fb51 fix(esp_hw_support): fix cpu restart failed due to rtc_clk in flash 2026-01-20 17:43:55 +08:00
liuning 83f1021595 fix(phy): wifi mac clock is not required during phy calibration 2026-01-19 16:06:47 +08:00
C.S.M ba84c5ca1d feat(vbat): update vbat charger threshold on p4 revision 3 2026-01-19 11:21:05 +08:00
wuzhenghui a0e94d7f24 feat(esp_hw_support): support esp32p4 ADC_TESEN_MONITOR mode 2026-01-16 18:01:53 +08:00
morris 1b258fc8c5 refactor: remove gdma_trigger_peripheral_t 2026-01-13 18:00:11 +08:00
Chen Chen a9d7ccbb15 refactor: remove some dependency on hal components 2026-01-13 10:29:44 +08:00
Jiang Jiang Jian 791998edb3 Merge branch 'fix/fix_c5_rng_to_lp_peri_dependency_v6.0' into 'release/v6.0'
fix(esp_hw_support): fix RNG to LP peri domain dependency on C5  (v6.0)

See merge request espressif/esp-idf!44952
2026-01-12 20:48:33 +08:00
Jiang Jiang Jian 12d0df2537 Merge branch 'bugfix/fix_pvt_after_sleep_v6.0' into 'release/v6.0'
fix(pvt): fix pvt retention bug,replace pvt_retention with pvt_init

See merge request espressif/esp-idf!44927
2026-01-12 15:38:56 +08:00
wuzhenghui de5e57d296 feat(esp_hal_pmu): graduate pmu/rtc_cntl hal driver into a new component: esp_hal_pmu 2026-01-12 14:48:49 +08:00
Jiang Jiang Jian 3a472a3bc3 Merge branch 'bugfix/idfci-7928_v6.0' into 'release/v6.0'
backport v6.0: fix ci failed test case of Automatic light occurs when tasks are suspended

See merge request espressif/esp-idf!44946
2026-01-10 13:47:52 +08:00
Jiang Jiang Jian 21d2788468 Merge branch 'bugfix/fix_esp32_phy_init_bb_clock_issue_v6.0' into 'release/v6.0'
bugfix(wifi): fix incomplete phy initialization due to absence of bb clocks at...

See merge request espressif/esp-idf!44649
2026-01-10 13:09:17 +08:00
Jiang Jiang Jian 6d53193eb3 Merge branch 'feat/add_c5_v102_config_v6.0' into 'release/v6.0'
hw_support: add new config for c5 v1.2 and c61 v1.1 (v6.0)

See merge request espressif/esp-idf!43614
2026-01-10 13:09:00 +08:00
liuning a567d91e85 fix(wifi): allow to disable wifi modem clocks if wifi is not inited 2026-01-09 16:53:20 +08:00
liuning 675a977ac8 feat(phy): add check for required clock bits during phy enable 2026-01-09 16:53:20 +08:00
liuning 9c9f884f3a bugfix(wifi): fix incomplete phy initialization due to absence of bb clocks at coexistence scenarios 2026-01-09 16:53:20 +08:00
zlq 1d41de96d8 fix(pvt): fix pvt retention bug,replace pvt_retention with pvt_init 2026-01-09 15:44:53 +08:00
wuzhenghui c2194989e2 fix(esp_hw_support): update DEFAULT_SLEEP_OUT_OVERHEAD_US for esp32c61 2026-01-09 14:36:09 +08:00
wuzhenghui 8219f217c2 feat(esp_hw_support): add esp_random() bit balance 0/1 ratio with sleep test case 2026-01-09 11:17:19 +08:00
wuzhenghui 0ea4a22ce9 fix(esp_hw_support): fix RNG to LP peri domain dependency on C5 2026-01-09 11:17:15 +08:00
wuzhenghui 54cefb67cb fix(esp_hw_support): fix TOP domain to CNNT domian dependency 2026-01-09 11:12:59 +08:00
wuzhenghui da0ae0e56d feat(esp_hw_support): support configurable uarts behavior before sleep 2026-01-09 11:09:01 +08:00
Xiao Xufeng e2fa2a4719 feat(hw_support): add config version for c61 v1.1 2026-01-09 10:48:57 +08:00
Xiao Xufeng 8d68ba0b47 feat(hw_support): add config version for c5 v1.2 2026-01-09 10:48:57 +08:00
Li Shuai cebfa288fd change(esp_hw_support): update esp32 sleep parameters when disabling system sleep IRAM optimization 2026-01-09 10:30:11 +08:00