Commit Graph

339 Commits

Author SHA1 Message Date
wuzhenghui
247ba2907c fix(esp_hw_support): update LACT clock prescale immediately when APB changes on esp32 2025-05-22 14:35:05 +08:00
wuzhenghui
cd500c0496 feat(esp_hw_support): remeasure sleep_time_overhead_out if min_freq_mhz changed 2025-04-28 11:49:33 +08:00
wuzhenghui
7c2261fca8 change(doc): added more usage notes & warings about PM_POWER_DOWN_PERIPHERAL_IN_LIGHT_SLEEP 2025-02-28 16:49:08 +08:00
wuzhenghui
dbb4d923ca fix(esp_hw_support): fix esp32s2/esp32s3 RTC IOMUX clock management 2025-02-21 13:59:56 +08:00
wuzhenghui
a8312fbedb fix(esp_driver_gpio): manage lp_io module clock by driver 2025-02-21 13:59:51 +08:00
wuzhenghui
989e958256 fix(esp_hw_support): add timer wakeup sleep duration check
Closes https://github.com/espressif/esp-idf/issues/15255
2025-02-17 19:44:20 +08:00
Song Ruo Jing
2611ec8716 fix(clk): postpone CPU PLL off time in sleep
For PMU supported chips, powering down CPU PLL in sleep will be done by PMU, not sleep code
2025-01-10 19:32:25 +08:00
Song Ruo Jing
6a26acf647 fix(clk): rtc_clk_cpu_freq_set_xtal will always disable CPU's PLL
Align C6/H2 rtc_clk_cpu_freq_set_xtal behavior to other chips
2024-12-24 22:33:38 +08:00
Li Shuai
2b406b6810 fix(esp_hw_support): fix the issue of regdma wait node to immediately return to done 2024-12-03 10:35:06 +08:00
wuzhenghui
88e3e21a9f fix(esp_system): deselect all modem modules clk source selection before clk init 2024-11-15 11:05:21 +08:00
Xiao Xufeng
dbed93dce8 fix(startup): move rtc initialization before MSPI timing tuning to improve stability 2024-09-18 19:30:22 +08:00
wuzhenghui
2a48be3a9d change(esp_hw_support): collect retention link priority definition 2024-08-26 11:22:30 +08:00
Omar Chebib
16d957e7aa fix(esp_hw_support): clear reserved interrupts that are not applicable for each target 2024-06-03 11:09:45 +08:00
Omar Chebib
1439815d57 refactor(esp_hw_support): changed reserved interrupt functions to be now defined per SoC 2024-06-03 11:05:25 +08:00
Li Shuai
159e58dc27 fix: modify some typos to ensure CI pipeline run pass 2024-05-14 19:34:37 +08:00
Li Shuai
0dea30c2f2 change(esp_hw_support): add adc retention module and it is dependencies on the clock modem 2024-05-14 19:34:37 +08:00
Li Shuai
c9b1618a3e change(esp_hw_support): dump sleep retention context to io stream 2024-05-14 19:34:37 +08:00
Li Shuai
0cb0890145 change(esp_hw_support): modify system and modem clock to support modem domain power down 2024-05-14 17:50:59 +08:00
Li Shuai
031f56e294 change(esp_hw_support): some system peripherals to use a retention module number 2024-05-14 17:50:59 +08:00
Li Shuai
83cb32cd70 feat(esp_hw_support): implement of sleep retention module initialize and dependency management 2024-05-14 17:50:59 +08:00
Li Shuai
38b3341863 change(esp_hw_support): modify the style of module argument from bitmap to number 2024-05-14 17:50:59 +08:00
Li Shuai
7d738cae1c change(esp_hw_support): rename interface name of get modules bitmap to get created modules 2024-05-14 17:50:59 +08:00
Lou Tianhao
b8c6179355 change(pm): add ext1 new api 2024-04-15 20:33:02 +08:00
wuzhenghui
b0d7c5ac40 fix(esp_hw_support): move deepsleep phy callback before PLL disable 2024-04-03 14:11:18 +08:00
Jiang Jiang Jian
44fa82c7c3 Merge branch 'feature/support_gdma_retention_v5.1' into 'release/v5.1'
feature: support gdma retention in pd_top lightsleep (v5.1)

See merge request espressif/esp-idf!29089
2024-03-05 10:59:30 +08:00
Cao Sen Miao
6932e5958b fix(tsens,adc): Fix issue that disable adc will make temperature sensor crash,
Closes https://github.com/espressif/esp-idf/issues/12921
2024-02-28 12:35:59 +08:00
wuzhenghui
40a869935b feat(esp_hw_support): support gdma register context sleep retention
Closes https://github.com/espressif/esp-idf/issues/12528
2024-02-23 18:30:17 +08:00
wuzhenghui
9a246bcbf1 feat: support dump last time sleep context 2024-01-23 16:11:29 +08:00
Xiao Xufeng
a055fcbda4 fix(rtc): fixed bbpll not calibrated from bootloader issue 2024-01-05 10:19:20 +08:00
wuzhenghui
c33dd0f4a2 fix(esp_hw_support/sleep): wait flash ready after non-pd_top lightsleep for esp32c6 2023-12-27 15:36:15 +08:00
Lou Tianhao
1419db4b91 change(pm): change macro SOC_PM_RETENTION_HAS_REGDMA_POWER_BUG 2023-12-19 11:44:23 +08:00
Jiang Jiang Jian
e91322891c Merge branch 'fix/esp32c6_sleep_pll_issue_v5.1' into 'release/v5.1'
fix(pm): add mac/bb power down/up prepare for fix esp32c6 pll issue (backport v5.1)

See merge request espressif/esp-idf!27339
2023-12-11 15:12:51 +08:00
xiaqilin
ef4f420663 fix(pm): add mac/bb power down/up prepare for fix esp32c6 pll issue
* switch root clk src to PLL for modem reg opt and added callback
* register power_down/power_up callback in ieee802154 driver for esp32c6
* remove software regdma opt in bt
2023-12-08 08:03:32 +00:00
wuzhenghui
4a7d9dd387 fix(esp_hw_support): re-initialize icg map in modem_clock_module_enable 2023-12-08 14:22:36 +08:00
Shu Chen
ecbbd3c3d9 Merge branch 'backport/add_ot_radio_stats_enable_config_5_1' into 'release/v5.1'
feat(openthread): backport some openthread features(BackportV5.1)

See merge request espressif/esp-idf!26885
2023-11-22 12:23:53 +08:00
Jiang Jiang Jian
e718b603e4 Merge branch 'bugfix/clear_ulp_wake_intr_in_wake_source_enable_v5.1' into 'release/v5.1'
fix(esp_hw_support): clear all type ULP wakeup intr status at ulp wakeup source enable (backport v5.1)

See merge request espressif/esp-idf!27188
2023-11-21 10:52:54 +08:00
Jiang Jiang Jian
0e1ec38785 Merge branch 'bugfix/fix_lightsleep_current_leakage_on_usj_pad_v5.1' into 'release/v5.1'
fix(esp_hw_support): fix lightsleep current leakage on usb pad (backport v5.1)

See merge request espressif/esp-idf!27205
2023-11-21 10:51:11 +08:00
wuzhenghui
6b14ca55d5 fix(riscv): supports 1 byte and larger than 64byte range watchpoint setting 2023-11-16 20:40:04 +08:00
wuzhenghui
6ae596c764 fix(esp_hw_support): fix lightsleep current leakage on usb-phy controlled pad 2023-11-16 20:03:30 +08:00
wuzhenghui
61bb3fb67f fix(esp_hw_support): clear all type ULP wakeup intr status at ulp wakeup source enable 2023-11-16 11:49:40 +08:00
Lou Tianhao
9b3e40c9d1 feat(pm/deepsleep): Support EXT1_WAKEUP_MODE_PER_PIN 2023-11-03 11:02:56 +08:00
Lou Tianhao
42ec7a5e37 change(pm): Change sleep callback implement 2023-11-02 11:05:38 +00:00
Lou Tianhao
925da11115 feat(PowerManagement/lightsleep): Support ESP_SLEEP_EVENT_CALLBACKS 2023-11-02 11:05:38 +00:00
KonstantinKondrashov
315d4864bb fix(esp_hw_support): Return deep sleep APIs to the original behavior
Closes https://github.com/espressif/esp-idf/issues/12359
2023-10-18 18:18:49 +08:00
Xiao Xufeng
81dcc61008 Revert "feat(volt): chip auto adjust volt for esp32c6 & esp32h2"
This reverts commit b221f87e00.
2023-10-16 14:35:41 +08:00
gaoxu
b183b88463 fix(adc): power settings not taking into effect on C6 2023-09-28 16:24:39 +00:00
Jiang Jiang Jian
1adcaf7f99 Merge branch 'feature/support_7.6.1_soc/pvt_auto_dbias_v5.1' into 'release/v5.1'
rtc: auto adjust HP LDO voltage using pvt function(backport 5.1)

See merge request espressif/esp-idf!25995
2023-09-28 13:35:00 +08:00
Zim Kalinowski
1c21f07139 fix(app_update): Reverted: Fix CI test_switch_ota by increasing deepsleep
This reverts commit 7ac7d43541.
2023-09-27 12:26:29 +02:00
zlq
7bbe19d92f feat(volt): chip auto adjust volt for esp32c6 & esp32h2 2023-09-27 06:39:59 +00:00
harshal.patil
f6b589e275 feat(esp_hw_support): Added locking mechanism for the ECDSA and ECC peripheral 2023-09-25 14:33:04 +05:30