Commit Graph

2178 Commits

Author SHA1 Message Date
wanckl
da32729e82 feat(driver_spi): update p4 eco5 spi support on real chip 2025-11-03 19:38:44 +08:00
Pete Kabaragoya
450ee3366d fix(esp32p4): P4 touch channel 14 failure fix
Merges https://github.com/espressif/esp-idf/pull/17759

Core dump when using all touch channels on a P4 unless curr_chan is allowed to be 14
2025-10-28 10:36:37 +08:00
Konstantin Kondrashov
645f0be984 feat(efuse): Adds 3-bit field for wafer major version in ESP32-P4 2025-09-18 23:32:59 +08:00
morris
9ba4c2cd8e Merge branch 'feat/uart_dma_support_v5.3' into 'release/v5.3'
feat(uhci): Add uhci (uart-dma) support on current chips (backport v5.3)

See merge request espressif/esp-idf!41520
2025-08-29 16:14:24 +08:00
C.S.M
8659c44975 feat(uhci): Add uhci (uart-dma) support on current chips 2025-08-28 18:23:23 +08:00
laokaiyao
e44278b70e feat(i2s): add PLL240M clock source on S3 and C6
Closes https://github.com/espressif/esp-idf/issues/17056
2025-08-28 10:24:29 +08:00
Jiang Jiang Jian
b33f6cd072 Merge branch 'feature/support_chip912_pvt_auto_dbias_360m_backport_v5.3' into 'release/v5.3'
feat(esp_hw_support): use pvt to auto control digital ldo and rtc ldo for esp32p4_backport_v5.3

See merge request espressif/esp-idf!40124
2025-08-26 10:49:49 +08:00
morris
b9a2f086e4 Merge branch 'bugfix/gpio_esp32_workaround_v5.3' into 'release/v5.3'
fix(gpio): fix ESP32 GPIO sleep mode handling (v5.3)

See merge request espressif/esp-idf!41217
2025-08-21 13:04:53 +08:00
morris
28ccd8bb75 Merge branch 'bugfix/ledc_update_duty_wait_v5.3' into 'release/v5.3'
fix(ledc): duty_start bit should wait for its self-clear before next set on esp32 (v5.3)

See merge request espressif/esp-idf!41275
2025-08-21 13:04:16 +08:00
Jiang Jiang Jian
3cbf1cc63b Merge branch 'fix/fix_lightsleep_pd_modem_breaks_common_fe_clock_v5.3' into 'release/v5.3'
fix(esp_hw_support): fix lightsleep pd modem breaks common fe clock (v5.3)

See merge request espressif/esp-idf!41112
2025-08-20 14:33:55 +08:00
Song Ruo Jing
11c425f2dc fix(ledc): duty_start bit should wait for its self-clear before next set on esp32 2025-08-14 19:16:22 +08:00
harshal.patil
2bfecc9638 change(mbedtls/ecdsa): The ECDSA module of ESP32-H2 ECO5 does not use MPI module 2025-08-13 20:50:53 +05:30
Song Ruo Jing
a6487d4a73 fix(gpio): fix ESP32 GPIO sleep mode handling
The previous workaround does not work, the backup/restore should apply to RTC IO registers.
2025-08-13 21:38:35 +08:00
wuzhenghui
beabc5bbf8 fix(esp_hw_support): fix MODEM_ADC_COMMON_FE destroyed by modem powerdown lightsleep 2025-08-08 12:05:05 +08:00
Li Shuai
08c146b2ab change(hal): add hal interface to configure pau regdma wait timeout parameter 2025-08-06 19:42:35 +08:00
yanzihan@espressif.com
ed7296b5ac feat(esp_hw_support): use pvt to auto control digital ldo and rtc ldo for esp32p4 2025-07-28 14:17:12 +08:00
Jiang Jiang Jian
17264e6711 Merge branch 'fix/spi_master_p4_change_default_clk_pll_v5.3' into 'release/v5.3'
fix(driver_spi): master driver change esp32p4 default src to pll (v5.3)

See merge request espressif/esp-idf!40115
2025-07-16 17:30:28 +08:00
Jiang Jiang Jian
8752e3fe80 Merge branch 'feat/enable_wakeup_tests_for_more_chips_v5.3' into 'release/v5.3'
feat(esp_hw_support): enable wakeup tests for more chips (v5.3)

See merge request espressif/esp-idf!40047
2025-07-02 13:57:48 +08:00
Marius Vikhammer
62b365569d feat(lp_core): added support for LP-IO as LP-core wakeup source 2025-07-01 17:57:42 +08:00
wanckl
77eff50f99 fix(driver_spi): master driver change esp32p4 default src to pll 2025-07-01 11:35:21 +08:00
Aditya Patwardhan
cddc6685f1 Merge branch 'feature/enable_support_for_deterministic_mode_and_ecdsa_192_v5.3' into 'release/v5.3'
Feature/enable support for deterministic mode and ecdsa 192 v5.3

See merge request espressif/esp-idf!40102
2025-06-25 14:37:58 +05:30
nilesh.kale
2a6e018ee8 feat: enable support for deterministic mode for esp32h2 2025-06-25 10:51:01 +05:30
Michael (XIAO Xufeng)
a81456e0d0 Merge branch 'fix/fix_c3_c2_cache_freeze_soc_caps_issue_v5.3' into 'release/v5.3'
cache: fixed SOC_CACHE_FREEZE_SUPPORTED not defined on C3 / C2 issue (v5.3)

See merge request espressif/esp-idf!39884
2025-06-24 23:14:11 +08:00
nilesh.kale
19fcf0e073 feat: enabled ECDSA-P192 support for ESP32H2 2025-06-24 15:03:59 +05:30
armando
2784693977 fix(cache): fixed SOC_CACHE_FREEZE_SUPPORTED not defined on c3/c2 issue 2025-06-24 15:44:56 +08:00
morris
c60f52b724 Merge branch 'contrib/github_pr_16130_v5.3' into 'release/v5.3'
esp_adc: Release the peripheral after calibration (GitHub PR) (v5.3)

See merge request espressif/esp-idf!40003
2025-06-24 12:18:09 +08:00
gaoxu
216cf17fc1 fix(adc): fix P4 ADC2 oneshot error and refactor apb claim macor 2025-06-24 10:33:59 +08:00
Jiang Jiang Jian
dc625ba12b Merge branch 'refactor/p4_touch_channel_increase_1_v5.3' into 'release/v5.3'
refactor(touch): adjust touch channel number on P4 from 0-13 to 1-14 (v5.3)

See merge request espressif/esp-idf!39793
2025-06-23 10:50:12 +08:00
Jiang Jiang Jian
0c7bd3e961 Merge branch 'fix/lp_periph_use_int_raw_v5.3' into 'release/v5.3'
change(lp-core): Update LP I2C and LP UART drivers to use raw interrupt status (v5.3)

See merge request espressif/esp-idf!39250
2025-06-23 10:42:43 +08:00
wuzhenghui
34035452af fix(hal): fix pmu_ll_ext1_clear_wakeup_status API 2025-06-23 10:00:52 +08:00
laokaiyao
565267ca34 refactor(touch): adjust touch channel number on P4 from 0-13 to 1-14 2025-06-13 19:44:38 +08:00
morris
15bc442a88 Merge branch 'feat/usb-explicit-fifo-config_v5.3' into 'release/v5.3'
feat(usb/hal): Add HAL API to configure custom FIFO layout (backport v5.3)

See merge request espressif/esp-idf!39264
2025-06-03 14:35:32 +08:00
Jiang Jiang Jian
c06e9d3a73 Merge branch 'fix/fix_esp32p4_retention_cost_v5.3' into 'release/v5.3'
fix(esp_hw_support): optimize retention cost and update sleep time compensation (v5.3)

See merge request espressif/esp-idf!38745
2025-05-26 20:01:56 +08:00
Jiang Jiang Jian
96037e9cc3 Merge branch 'fix/fix_usb_hs_phy_leakage_on_deepsleep_v5.3' into 'release/v5.3'
fix(esp_hw_support): Fix deepsleep leakage after initializing USB HS phy (v5.3)

See merge request espressif/esp-idf!39169
2025-05-26 19:56:41 +08:00
Jiang Jiang Jian
b7cdd6ead9 Merge branch 'fix/fix_esp32p4_stuck_in_pd_ana_v5.3' into 'release/v5.3'
fix(esp_hw_support): fix esp32p4 may get stuck when entering deepsleep (v5.3)

See merge request espressif/esp-idf!39284
2025-05-26 19:56:12 +08:00
Jiang Jiang Jian
b78ef76005 Merge branch 'fix/fix_esp_timer_accuracy_when_do_dfs_v5.3' into 'release/v5.3'
fix(esp_hw_support): improve esp timer accuracy on DFS for esp32 & esp32s2 (v5.3)

See merge request espressif/esp-idf!39341
2025-05-26 19:54:44 +08:00
morris
46ac830333 Merge branch 'bugfix/lp_uart_baudrate_limitation_v5.3' into 'release/v5.3'
fix(uart): LP UART does not have the pre-divider for its clock source (v5.3)

See merge request espressif/esp-idf!37595
2025-05-23 17:10:39 +08:00
wuzhenghui
85aad225d0 fix(esp_hw_support): update LACT clock prescale immediately when APB changes on esp32 2025-05-22 15:14:39 +08:00
Song Ruo Jing
8baffe22cb fix(uart): LP UART does not have the pre-divider for its clock source
Closes https://github.com/espressif/esp-idf/issues/15427
2025-05-22 11:51:19 +08:00
igor.masar
d98a828c7e feat(usb/hal): Add support for explicit FIFO configuration
Introduce a new HAL API `usb_dwc_hal_set_fifo_config()` that allows advanced users
to manually configure RX, Non-Periodic TX, and Periodic TX FIFO sizes. This offers
fine-grained control beyond the previous bias-based sizing approach.

The HAL function no longer returns `esp_err_t`, and internal validations are enforced
via `HAL_ASSERT()`. Responsibility for input validation has been moved to the HCD layer.

FIFO configuration must be applied before any USB pipes are created or activated.
This feature is intended for use during `usb_host_install()`.

If no custom FIFO configuration is provided (i.e., all values are zero),
the driver falls back to a bias-based default layout based on Kconfig settings
(`CONFIG_USB_HOST_HW_BUFFER_BIAS_*`). Bias resolution is done inside `hcd_port_init()`.

The `port_obj_t` structure has been extended with a `fifo_config` field, which stores
the configuration to allow re-application after a USB port reset.

Obsolete FIFO bias enums (`usb_hal_fifo_bias_t`, `hcd_port_fifo_bias_t`) and related
APIs (`hcd_port_set_fifo_bias()`) have been removed in favor of the new structure-based mechanism.

The HCD initialization and port reset flow has been updated to use the explicit
FIFO configuration.

USB Host maintainer documentation (`maintainers.md`) has been updated accordingly.
Test cases were updated to remove the usage of removed bias API and now rely on default
or custom FIFO configuration.
2025-05-20 15:44:54 +02:00
wuzhenghui
6866e9d40e fix(esp_hw_support): fix esp32p4 may get stuck when entering deepsleep 2025-05-20 16:01:20 +08:00
Song Ruo Jing
7c4a6bf9d6 fix(uart): correct C3/S3 module enable porcedure to avoid undesired line noise 2025-05-20 11:54:15 +08:00
Sudeep Mohanty
ee995a79f3 change(lp-core): Update LP I2C and LP UART drivers to use raw interrupt status
This commit updates the LP I2C and LP UART drivers to use the raw
interrupt status without enabling the interrupts.
2025-05-19 10:38:07 +02:00
wuzhenghui
e0d1641281 fix(esp_hw_support): Fix deepsleep leakage after initializing USB HS phy 2025-05-15 16:05:34 +08:00
C.S.M
87c6979b97 fix(i2c): Fix that fsm reset cause i2c scl frequency changed on esp32s2 2025-05-08 13:01:30 +08:00
wuzhenghui
1b47abed1b feat(esp_hw_support): use non-lock regi2c fast-up cpll/mpll enable process after sleep wakeup 2025-05-07 11:42:33 +08:00
Adam Múdry
d29f0f3e21 feat(sdmmc): Concurrent use of SDMMC peripheral
Host and device (card, etc.) initialization is not thread-safe.
After initialization transactions are serialized and guarded by mutex.
Changed `SDMMC_HOST_DEFAULT()` default deinit function to `sdmmc_host_deinit_slot`
which has a slot number as argument.
2025-05-05 18:58:58 +08:00
Jiang Jiang Jian
dcd92c96bf Merge branch 'fix/rmii_ref_ckl_v5.3' into 'release/v5.3'
fix(esp_eth): fixed ESP32P4 EMAC REF RMII CLK output mode (v5.3)

See merge request espressif/esp-idf!38040
2025-04-27 14:21:28 +08:00
laokaiyao
781ccfbd0c fix(touch): fixed tie option take no effect 2025-04-21 20:46:33 +08:00
morris
3fc84fdbca Merge branch 'fix/usb-hal-dwc-host-channel-num_v5.3' into 'release/v5.3'
fix(usb/hal/dwc): Correct host channel number calculation (backport v5.3)

See merge request espressif/esp-idf!37373
2025-04-16 10:21:29 +08:00