Commit Graph

63 Commits

Author SHA1 Message Date
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
morris 291554cd09 refactor(global): remove completed todos in the codebase 2025-12-15 22:40:15 +08:00
Island 1f085d5c0e Merge branch 'fix/change_api_to_enable_rc32k' into 'master'
fix: change the api to enable rc32k

Closes BLERP-2283

See merge request espressif/esp-idf!42284
2025-10-16 11:11:13 +08:00
Chen Jichang d0e24e4a81 refactor(hw_support): remove unused periph_module_t members 2025-10-09 15:27:20 +08:00
cjin 9c3bcab65c fix: change the api to enable rc32k on ESP32-H2 2025-09-30 14:18:30 +08:00
wuzhenghui 3e7892122e feat(esp_hw_support): support lightsleep and deepsleep on esp32h21 2025-09-26 14:02:55 +08:00
yinqingzhao 4a15df3d0f feat(phy): add phy calibration independent support 2025-08-22 10:47:49 +08:00
wuzhenghui 5747c1784b change(esp_hw_support): always do hardware clock enable in modem module enabling 2025-07-29 17:02:12 +08:00
wuzhenghui feffdee63b fix(esp_hw_support): fix MODEM_ADC_COMMON_FE destroyed by modem powerdown lightsleep 2025-07-29 17:02:11 +08:00
C.S.M 4860379677 refactor(hw_support): Use esp_os_enter_critical instead of portENTER_CRITICAL_SAFE in esp_hw_support 2025-06-18 11:23:34 +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
sibeibei 26d6f0fc13 fix(pm): fix tbtt interrupt timing error when BLE RTC is configured to use MODEM_CLOCK_LPCLK_SRC_MAIN_XTAL on C6EC01 and later version 2025-04-27 16:59:11 +08:00
wuzhenghui c067e406ce fix(esp_system): deselect all modem modules clk source selection before clk init 2024-11-15 11:00:16 +08:00
Song Ruo Jing 2cb35a2955 refactor(regi2c): ana i2c master clock is enabled per request 2024-11-04 12:37:17 +08:00
Lou Tianhao aa7b7f225a change(esp_hw_support): change modem clock implementation 2024-10-11 14:01:59 +08:00
Lou Tianhao 6be09eb5b8 change(pm): replace SOC_CLK_RC32K_NOT_TO_USE with CONFIG_ESP_CLK_RC32K_NOT_TO_USE 2024-09-20 14:07:18 +08:00
Lou Tianhao 02f5e0f98c change(pm): remove rc32k for esp32c5 2024-08-28 10:44:09 +08:00
Lou Tianhao 980ec70d0a feat(esp_hw_support): support pmu init and sleep for esp32c5
fix(ci): add efuse header in pmu_sleep
2024-08-28 10:44:08 +08:00
wuzhenghui 56aefbe845 driver(gptimer): support software triggered GPTimer retention test 2024-08-20 10:52:17 +08:00
Song Ruo Jing 3aa27ae960 refactor(regi2c): add LL function to control analog i2c master clock 2024-07-24 12:26:59 +08:00
Jiang Jiang Jian e14eadf952 Merge branch 'bugfix/wifi-6570' into 'master'
fix the issue of wifipwr losing its clock during sleep on the esp32c6 eco1

Closes WIFI-6570

See merge request espressif/esp-idf!31586
2024-06-24 09:57:52 +08:00
Lou Tian Hao ec9c9413bc Merge branch 'feature/esp32c5mp_light_sleep_support_stage_1' into 'master'
feat(esp_hw_support): esp32c5mp sleep support (Stage 1: support modem clock)

See merge request espressif/esp-idf!31028
2024-06-19 19:09:43 +08:00
Lou Tianhao 1b65a70928 change(esp_hw_support): bypass esp_sleep_pd_config 2024-06-19 11:19:42 +08:00
Lou Tianhao 8c52c983b4 feat(esp_hw_support): support modem clock for esp32c5mp 2024-06-19 11:19:37 +08:00
Li Shuai 731534e8c7 fix(wifi): fix the issue of wifipwr losing its clock during sleep on the esp32c6 eco1 2024-06-19 10:49:31 +08:00
zwl d6240706ea feat(bluetooth/controller): update controller api name on ESP32-C6 and ESP32-H2 2024-06-18 15:40:53 +08:00
Li Shuai 9de46dc084 fix(wifi): fix the issue where deinit ble in a coexist scenario causes the wifi mac tsf counter to stop 2024-05-16 11:32:32 +08:00
Alexey Gerenkov e662b51b77 fix(build): Fix variable declaration inside switch case 2024-05-03 16:55:18 +03:00
Shen Wei Long ca71f7737e Merge branch 'bugfix/add_workaround_for_ble_rtc_hw_issue' into 'master'
fix(ble): add workaround for ble RTC not enabled issue

Closes BLERP-382 and BLERP-383

See merge request espressif/esp-idf!28085
2024-04-08 19:59:04 +08:00
cjin 21ad1b393f bugfix(ble): workaround to avoid ble rtc not work when power up 2024-04-07 10:53:00 +08:00
Shen Weilong f09dcff91e feat(ble): Support BLE on esp32c5beta3 2024-04-03 10:58:06 +08:00
wuzhenghui a744a2c43f fix(esp_hw_support): fix zb/bt shared bb dependency for ieee154 2024-03-29 16:03:24 +08:00
morris 8e64a59fac refactor(periph_ctrl): remove orphaned clk_gate_ll.h
and deprecate the legacy periph_module_xxx functions for new targets
2024-03-29 10:53:05 +08:00
Lou Tianhao bd4147b5ef fix(ci): add sdkconfig head and change some macro 2024-03-26 19:59:00 +08:00
Lou Tianhao f5487c72ab change(pm): move the modem_clock-related code outside SOC_PM_SUPPORT_PMU_MODEM_STATE 2024-03-26 19:55:06 +08:00
wuzhenghui 29076a43f6 bringup esp32c5beta3 modem clock 2024-03-26 19:54:32 +08:00
laokaiyao a48f4760d2 feat(esp32c5): add system related supports 2024-01-02 11:17:11 +08:00
wuzhenghui 5280ef4924 fix(esp_hw_support): fix ble on esp32c6eco1 depends on wifipwr clock domain 2023-12-07 14:02:04 +08:00
wuzhenghui 6661e11203 fix(esp_hw_support): re-initialize icg map in modem_clock_module_enable 2023-11-17 14:05:23 +08:00
wuzhenghui c8083b07bf feat(modem_clock): separate management of modem_adc_common_fe clock and modem_private_fe 2023-09-28 17:41:42 +00:00
gaoxu 817036f46f fix(adc): power settings not taking into effect on C6 2023-09-28 17:41:42 +00:00
wuzhenghui a425d8816a feat(esp_hw_support): manage modem_etm clock in modem_clock for bt/154 indepently 2023-08-09 20:19:50 +08:00
wuzhenghui c34cdd05e9 fix(esp_hw_support): manage i2c_ana_mst clock witch modem clock driver 2023-08-04 10:39:43 +08:00
wuzhenghui a5c992c8af fix(esp_pm): fix PM_SLP_IRAM_OPT/PM_RTOS_IDLE_OPT feature
- Fix flash accessed code to resolve issues with PM_SLP_IRAM_OPT/PM_RTOS_IDLE_OPT enabled
2023-07-14 21:21:19 +08:00
cjin cf744f9466 ble: support eco1 BLE light sleep 2023-07-14 10:49:14 +08:00
Li Shuai efa4eeafd0 light sleep: enable system clock in PMU HP sleep state when selecting a 40 MHz XTAL as low power clock source of ble 2023-07-13 20:44:56 +08:00
Li Shuai 21781b1ab1 modem clock: provide a protected wifipwr clock enable/disable interface to fix the bug of selecting xtal as the low power clock source for ble 2023-07-13 20:44:56 +08:00