Commit Graph

325 Commits

Author SHA1 Message Date
hebinglin 94b54832f8 change(esp_hw_support): remove sleep_mmu_retention related flow for esp32c5 eco1 2026-01-12 14:15:48 +08:00
Jiang Jiang Jian 382dbc04ea Merge branch 'bugfix/fix_esp32_phy_init_bb_clock_issue' into 'master'
bugfix(wifi): fix incomplete phy initialization due to absence of bb clocks at...

Closes ESPCS-1007 and ESPCS-997

See merge request espressif/esp-idf!42511
2026-01-08 20:32:04 +08:00
morris ebc68a1910 Merge branch 'refactor/sleep_sys_peripheral' into 'master'
refactor: cleanup dependency of soc_caps & hal components in  sleep_system_peripheral.c

See merge request espressif/esp-idf!44682
2026-01-07 19:29:07 +08:00
Chen Chen f3b5600bd1 refactor: remove some dependency on hal components 2026-01-05 18:02:29 +08:00
Song Ruo Jing 215c9993bf fix(clk): update H4 to use 64MHz clock for mspi
And add pll clock ref count
2026-01-04 14:07:01 +08:00
wuzhenghui 48ba430297 change(esp_hal_rtc_timer): unify lp_timer/rtc_timer naming to RTC_TIMER 2025-12-30 11:35:36 +08:00
liuning fd1c50d0dc fix(wifi): allow to disable wifi modem clocks if wifi is not inited 2025-12-29 17:14:58 +08:00
liuning 9dc2dc8d1b feat(phy): add check for required clock bits during phy enable 2025-12-29 16:49:27 +08:00
liuning ea2829f856 bugfix(wifi): fix incomplete phy initialization due to absence of bb clocks at coexistence scenarios 2025-12-24 20:15:48 +08:00
wuzhenghui 3c90d22010 feat(esp_hw_support): support configurable uarts behavior before sleep 2025-12-19 17:25:43 +08:00
Jiang Jiang Jian abd35ae487 Merge branch 'bugfix/fix_regdma_data_race' into 'master'
fix: add mutex protection for software trigger regdma start to avoid data races

Closes WIFIBUG-1489

See merge request espressif/esp-idf!44025
2025-12-11 20:04:40 +08:00
hebinglin b5ae961c6c feat(esp_hw_support): add flash deep power down support during sleep 2025-12-09 17:19:27 +08:00
sibeibei 00f45acc4b fix: add mutex protection for software trigger RegDMA start to avoid data races 2025-12-09 14:55:08 +08:00
C.S.M d5054072eb ci(header_check): Add check for public header should not include freertos 2025-11-28 19:15:17 +08:00
Tomas Rezucha da7d0e6979 fix(usb): Fix USB PHY mocking on linux target 2025-11-20 12:44:11 +01:00
Harshal Patil 0debe71b3d Merge branch 'feat/flash_enc_using_key_manager' into 'master'
Support Flash Encryption using Key Manager

Closes IDF-13462 and IDF-14278

See merge request espressif/esp-idf!41879
2025-11-13 07:55:15 +05:30
Song Ruo Jing c17644a400 feat(gpio): add IO hold support for Deep-sleep for ESP32-P4 ECO5 2025-11-11 17:03:24 +08:00
harshal.patil 8abea3c537 feat(bootloader_support): Support Flash Encryption using Key Manager 2025-11-11 12:23:25 +05:30
hebinglin bf38ef3abc feat(esp_hw_support): support lp uart wakeup during sleep 2025-11-06 16:19:57 +08:00
morris 604e58c90a Merge branch 'bugfix/fix_gdma_acquire_and_release' into 'master'
fix(gdma): fix the concurrent contention issue of gdma application or release

Closes IDF-13548

See merge request espressif/esp-idf!40501
2025-10-31 08:47:22 +08:00
morris 717312f472 fix(gdma): fixed the race conditon in of gdma resource allocation 2025-10-30 16:05:44 +08:00
wuzhenghui 487f9204dd change(esp_hw_support): esp32p4 rev3.0 dummy read workaround refactor 2025-10-30 14:50:33 +08:00
wuzhenghui 2bb369f542 fix(esp_hw_support): add PD_TOP lightsleep mspi failure workaround for p4 rev3 2025-10-20 15:56:15 +08:00
wuzhenghui 065dd70056 change(esp_hw_support): move ESP_SLEEP_POWER_DOWN_CPU to Kconfig 2025-10-14 16:33:30 +08:00
wuzhenghui af1c8a568d feat(esp_hw_support): update cpu_pd support for esp32p4 v3.0 2025-10-14 16:33:28 +08:00
Chen Jichang d0e24e4a81 refactor(hw_support): remove unused periph_module_t members 2025-10-09 15:27:20 +08:00
Omar Chebib 324446da95 feat(mailbox): define and implement a mailbox API with hardware and software support 2025-09-25 10:25:15 +08:00
gaoxu e5c6b87c10 fix(tsens): fix temp_sensor affect by adc reset 2025-09-22 08:19:46 +08:00
Marius Vikhammer 04fdae2f67 feat(ulp): added lp-core exception as wake-up source 2025-09-18 11:14:02 +08:00
morris 661590940a refactor(etm): enhance thread safety and clean up soc macros 2025-08-18 14:58:24 +08:00
He Binglin 7e1f3e35e1 Merge branch 'bugfix/es_idf_clkicg_idf-13119' into 'master'
fix(esp_hw_support): fix dead code and out-of-bounds in esp_sleep_clock_config function

Closes IDF-13119 and IDF-13103

See merge request espressif/esp-idf!40989
2025-08-15 13:08:36 +08:00
C.S.M 0121a14699 refactor(temperature_sensor): Move temperature calculation from hw_support to hal 2025-08-11 11:47:20 +08:00
hebinglin 1e89698c60 fix(esp_hw_support): change esp_sleep_clock_option_t to fix idf-13119 2025-08-11 10:24:12 +08:00
Song Ruo Jing 2319386d9d Merge branch 'bugfix/gpio_esp32_workaround' into 'master'
fix(gpio): fix ESP32 GPIO sleep mode handling

Closes IDF-13626

See merge request espressif/esp-idf!40988
2025-08-07 17:14:58 +08:00
C.S.M 818579b78d test(i3c_master): Add multi test for i3c master 2025-08-06 18:04:29 +08:00
Song Ruo Jing 9a2984b4c0 fix(gpio): fix ESP32 GPIO sleep mode handling
The previous workaround does not work, the backup/restore should apply to RTC IO registers.
Also moved the workaround to sleep_gpio.c to avoid gpio hal using kconfig.
2025-08-05 21:02:09 +08:00
harshal.patil 60ff4bca9b refactor(esp_system): Update all references of the memory protection configs 2025-08-04 11:43:01 +05:30
Kevin (Lao Kaiyao) 1a242d132c Merge branch 'feature/support_i2s_and_etm_on_h4' into 'master'
feat(i2s & etm): support i2s and etm on esp32-h4

Closes IDF-12385, IDF-12355, and IDF-13396

See merge request espressif/esp-idf!39698
2025-07-22 20:27:11 +08:00
Wu Zheng Hui 92b84443f3 Merge branch 'feat/support_modify_regdma_link_skip_flag_dynamically' into 'master'
feat(esp_hw_support): add API to supoport modify retention skip flag dynamically

See merge request espressif/esp-idf!40596
2025-07-22 14:19:29 +08:00
laokaiyao 0a110478ea feat(modem_etm): support modem etm on h4 2025-07-18 15:51:34 +08:00
wuzhenghui 2dc52022ac feat(esp_hw_support): add API to supoport modify retention skip flag dynamically 2025-07-15 18:05:52 +08:00
igor.masar 84a5812d55 refactor(usb_phy): Move USB PHY implementation to esp_hw_support
Moved USB PHY source and headers from `usb/` to `esp_hw_support/`
to better reflect their hardware-specific nature.
Replaced use of public GPIO driver APIs with internal LL (Low-Level) APIs
for more precise hardware control and alignment with ESP-IDF HAL best practices.
Deleted deprecated PHY helper functions.
Consolidated all SoC-specific declarations under `usb_periph.h`.

BREAKING CHANGE: deprecated USB PHY APIs have been removed; update
callers to use the new interfaces in esp_hw_support/usb_phy.h
2025-07-10 14:52:47 +02:00
Wu Zheng Hui bac996a766 Merge branch 'feat/support_low_power_mode_in_monitor_state' into 'master'
feat(esp_hw_support): support enable analog lowpower mode by API

Closes IDFGH-6208

See merge request espressif/esp-idf!38924
2025-06-23 09:40:56 +08:00
wuzhenghui e55d6d8b3c feat(esp_hw_support): support enable analog lowpower mode by API
Closes https://github.com/espressif/esp-idf/issues/7882
2025-06-19 19:35:16 +08:00
Song Ruo Jing 6d293c8582 feat(clk): Add basic clock support for esp32h21 2025-06-16 15:05:32 +08:00
wuzhenghui 65b7e70564 feat(driver): support acquire/release clock source dependency for all drivers 2025-05-27 21:21:38 +08:00
wuzhenghui 113f40a3e0 feat(esp_hw_support): support gate PLL div clock source by reference count 2025-05-27 19:55:23 +08:00
wuzhenghui 2931aa23b6 fix(esp_hw_support): update LACT clock prescale immediately when APB changes on esp32 2025-05-22 13:58:50 +08:00
Song Ruo Jing 8262915e28 refactor(regi2c): remove regi2c_defs.h from some targets 2025-05-19 21:46:40 +08:00
wuzhenghui 7107177e2d fix(esp_hw_support): Fix deepsleep leakage after initializing USB HS phy 2025-05-15 10:12:59 +08:00