Commit Graph

1093 Commits

Author SHA1 Message Date
Li Shuai
08a05ec562 change(esp_hw_support): use new retention api to implement gdma retention 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
Li Shuai
44644845f3 change(esp_hw_support): rename sleep retention module to created module 2024-05-14 17:50:59 +08:00
morris
9808619d52 Merge branch 'bugfix/fix_gpio_etm_multi_task_v5.1' into 'release/v5.1'
fix(gpio_etm): allow one GPIO binds to multiple ETM tasks (v5.1)

See merge request espressif/esp-idf!30457
2024-05-13 15:59:44 +08:00
Jiang Jiang Jian
a2bbd59755 Merge branch 'support/esp_sleep_enable_ext1_wakeup_io_v5.1' into 'release/v5.1'
Support/esp sleep enable ext1 wakeup io(backport v5.1)

See merge request espressif/esp-idf!30164
2024-05-13 10:42:20 +08:00
Song Ruo Jing
c57bfa3737 fix(gpio_etm): allow one GPIO binds to multiple ETM tasks 2024-04-24 17:10:03 +08:00
cjin
b2cc9800d0 bugfix(ble): workaround to avoid ble rtc not work when power up 2024-04-19 08:44:43 +08:00
Lou Tianhao
b8c6179355 change(pm): add ext1 new api 2024-04-15 20:33:02 +08:00
Jiang Jiang Jian
a8f833a912 Merge branch 'fix/fix_pmu_power_domain_initialize_order_v5.1' into 'release/v5.1'
fix(esp_hw_support): fix pmu power domain initialize order (v5.1)

See merge request espressif/esp-idf!30152
2024-04-10 17:23:55 +08:00
wuzhenghui
ddd2c5b418
fix(esp_hw_support): fix pmu power domain initialize order 2024-04-10 10:07:58 +08:00
Mahavir Jain
d1c17f96f6 Merge branch 'fix/pmp_idcache_prot_c6_h2_v5.1' into 'release/v5.1'
fix(esp_hw_support): Fix the flash I/DROM region PMP protection (v5.1)

See merge request espressif/esp-idf!30023
2024-04-08 17:52:23 +08:00
Jiang Jiang Jian
368b7eb3fc Merge branch 'fix/add_phy_private_dslp_callback_v5.1' into 'release/v5.1'
fix(esp_hw_support): move deepsleep phy callback before PLL disable (v5.1)

See merge request espressif/esp-idf!30014
2024-04-07 10:24:39 +08:00
Laukik Hase
f839fa089a
fix(esp_hw_support): Fix the flash I/DROM region PMP protection 2024-04-03 15:51:39 +05:30
wuzhenghui
b0d7c5ac40
fix(esp_hw_support): move deepsleep phy callback before PLL disable 2024-04-03 14:11:18 +08:00
Li Shuai
4254953374 fix(esp_hw_support): fixed modem hang caused by incorrect configuration of power and isolate signals 2024-04-03 10:49:31 +08:00
Jiang Jiang Jian
59d686ed3c Merge branch 'bugfix/fix_maximum_value_of_config_rtc_clk_cal_cycles_bug_v5.1' into 'release/v5.1'
ESP All Chip: fixed the maximum value of config RTC_CLK_CAL_SYCLES bug (v5.1)

See merge request espressif/esp-idf!29649
2024-03-15 13:44:18 +08:00
hongshuqing
d50b336afd fix: fix_maximum_value_of_config_rtc_clk_cal_cycle_bug 2024-03-14 16:12:17 +08:00
chaijie@espressif.com
9680d3fa81 fix: fix sleep fast_mem & slow_mem may lost bug 2024-03-14 15:03:49 +08:00
Aditya Patwardhan
b884b3788e Merge branch 'bugfix/update_disabling_hmac_jtag_method_v5.1' into 'release/v5.1'
fix(esp_hw_support): update hmac toggle method due to discrepency in ROM code (v5.1)

See merge request espressif/esp-idf!29531
2024-03-13 20:20:52 +08:00
nilesh.kale
8cb2aa4fd3 fix(esp_hw_support): update hmac toggle method due to discrepency in ROM code
Need to update the HMAC enable/disable method due to discrepancy in ROM code
across different targets for the ets_hmac_disable() API.
2024-03-12 12:27:39 +05:30
Xiao Xufeng
194ea85ee8 spi_flash: fixed issue that enabling HPM-DC by default may cause app unable to restart 2024-03-12 10:48:08 +08:00
Mahavir Jain
590c650fc0 Merge branch 'fix/pmp_idcache_reg_prot_v5.1' into 'release/v5.1'
fix(esp_hw_support): Fix the I/DCACHE region PMP protection (v5.1)

See merge request espressif/esp-idf!29357
2024-03-08 22:50:10 +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
Jiang Jiang Jian
f87ee9c4ec Merge branch 'bugfix/fix_c6_wakeup_access_flash_v5.1' into 'release/v5.1'
fix(hal): fix esp32c6 clock bug workaround access flash in wakeup process (v5.1)

See merge request espressif/esp-idf!29245
2024-03-05 10:58:14 +08:00
Laukik Hase
5fcd908d26
refactor(esp_hw_support): Remove redundant PMP entry for ROM region
- The ROM text and data sections share the address range
    (see SOC_I/DROM_MASK_LOW - SOC_I/DROM_MASK_HIGH).
  - Initially, we had two PMP entries for this address range - one marking the
    region as RX and the other as R.
  - However, the latter entry is redundant as the former locks the PMP settings.
  - We can divide the ROM region into text and data sections later when we
    define boundaries marking these regions from the ROM.
2024-03-01 10:25:25 +05:30
Laukik Hase
5173ba1777
fix(esp_hw_support): Fix the I/DCACHE region PMP protection 2024-03-01 10:25:25 +05:30
Marius Vikhammer
b65563f7f7 Merge branch 'bugfix/esp_intr_free_v5.1' into 'release/v5.1'
fix(esp_hw_support): Fix esp_intr_free when task has no core affinity (v5.1)

See merge request espressif/esp-idf!29194
2024-02-29 12:44:38 +08:00
Cao Sen Miao
30095494be fix(tsens): 300us delay in phy cause extra power consumption 2024-02-28 12:36:04 +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
Cao Sen Miao
c205bbf90f fix(temperature_sensor): Fix the value is incorrect if disable and enable again
Closes https://github.com/espressif/esp-idf/issues/12864
2024-02-28 12:35:53 +08:00
Aditya Patwardhan
55c5c8367b Merge branch 'bugfix/soc_cpu_subsys_region_v5.1' into 'release/v5.1'
fix(soc): change debug addr range to CPU subsystem range (v5.1)

See merge request espressif/esp-idf!28672
2024-02-28 11:16:48 +08:00
Jiang Jiang Jian
76152c80a2 Merge branch 'c6_auto_dbias_master_hsq_v5.1' into 'release/v5.1'
ESP32C6: Active & sleep dbg and dbias get from efuse to fix the voltage (v5.1)

See merge request espressif/esp-idf!28722
2024-02-28 10:49:13 +08:00
Jiang Jiang Jian
1553b5b1d1 Merge branch 'feature/case_for_ot_sleepy_ci' into 'release/v5.1'
ci(openthread): add a test case for openthread sleepy device

See merge request espressif/esp-idf!28280
2024-02-28 10:41:10 +08:00
KonstantinKondrashov
f185ac42e2 fix(esp_hw_support): Fix esp_intr_free when taks has no core affinity
Closes https://github.com/espressif/esp-idf/issues/12608
2024-02-26 12:05:32 +02:00
wuzhenghui
54a15b81f9
feat: support cache safe assertion check in sleep process
- Add support for cache safe assertion check to ensure that code expected to be in RAM is in IRAM
2024-02-26 17:24:04 +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
hongshuqing
80378b809e feat(pmu): set fix voltage to different mode for esp32c6 2024-02-22 15:01:14 +08:00
Jakob Hasse
a66234b6de fix(esp_hw_support): Removed unused include directories from cmake
* Closes https://github.com/espressif/esp-idf/issues/12700
2024-02-21 11:41:11 +08:00
hongshuqing
9f5cd217a0 feat(pmu): set fix voltage to different mode for esp32h2
h2 remove include
2024-01-26 11:39:16 +08:00
Mahavir Jain
614ad494f6
fix(soc): change debug addr range to CPU subsystem range
For C6/H2/P4/C5, there is no SoC specific debug range. Instead the same
address range is part of CPU Subsystem range which contains debug mode
specific code and interrupt config registers (CLINT, PLIC etc.).

For now the PMP entry is provided with RWX permission for both machine
and user mode but we can save this entry and allow the access to only
machine mode for this range.

For P4/C5 case, this PMP entry can have RW permission as the debug mode
specific code is not present in this memory range.
2024-01-24 12:52:27 +05:30
Xu Si Yu
abaa9f2bfe ci(openthread): Add a test case for openthread sleepy device 2024-01-23 16:11:29 +08:00
wuzhenghui
9a246bcbf1 feat: support dump last time sleep context 2024-01-23 16:11:29 +08:00
nilesh.kale
fa02eeeb97 fix(esp_hw_support): fix API esp_hmac_disable_jtag() to disable JTAG
After ets_hmac_disable(), invalidating JTAG register process is ineffective.
So, added call to enable hmac begore invalidating JTAG REG.
And similarly disabled it after invalidation.
2024-01-23 12:20:06 +05:30
Jiang Jiang Jian
aa2793f3f1 Merge branch 'feature/support_hw_trigger_regdma_when_pu_top_v5.1' into 'release/v5.1'
fix(pm): trigger regdma retention by PMU when TOP is not power down on esp32H2 (backport v5.1)

See merge request espressif/esp-idf!28342
2024-01-18 11:06:51 +08:00
Lou Tianhao
2ecbfecedf feat(pm): support PMU trigger regdma when PU TOP 2024-01-16 14:01:22 +08:00
Xiao Xufeng
a055fcbda4 fix(rtc): fixed bbpll not calibrated from bootloader issue 2024-01-05 10:19:20 +08:00