Commit Graph

830 Commits

Author SHA1 Message Date
morris
87a73d7f4a Merge branch 'fix/handle_shared_intr_v5.4' into 'release/v5.4'
Fix/handle shared intr (v5.4)

See merge request espressif/esp-idf!44072
2025-12-30 10:29:20 +08:00
morris
61db3ce0a5 Merge branch 'fix/awb_subwindow_v5.4' into 'release/v5.4'
fix(isp): Added subwindow configuration for AWB (v5.4)

See merge request espressif/esp-idf!44220
2025-12-30 10:28:27 +08:00
Chen Chen
452662f59a fix(isp): Added subwindow configuration for AWB 2025-12-25 15:35:56 +08:00
Chen Chen
698cbe884b fix(ledc): fix potential null dereference issue & add test case 2025-12-25 15:02:16 +08:00
Chen Chen
851ffae394 fix(intr_alloc): Fix ISR allocate methods in several drivers 2025-12-25 15:02:16 +08:00
Song Ruo Jing
8b1794dd07 fix(ppa): YUV444 cannot be a PPA SRM output color mode 2025-12-17 21:22:58 +08:00
morris
46b5d17dab Merge branch 'feat/usb_host_hal_remote_wake_backport_5.4' into 'release/v5.4'
feat(esp_hal_usb): Add remote wakeup support backport v5.4

See merge request espressif/esp-idf!43988
2025-12-15 18:34:02 +08:00
peter.marcisovsky
f17f6ae7ae feat(usb_host): Add power and clock gating LL, HAL
- part of suspend/resume (remote wakeup) sequences
2025-12-04 17:09:22 +08:00
peter.marcisovsky
718b1b7c01 feat(esp_hal_usb): Add remote wakeup support 2025-12-04 10:04:37 +01:00
Song Ruo Jing
d5c0ab7ad2 refactor(ppa): avoid the use of yuv422_pack_order field in PPA driver 2025-11-24 11:38:07 +08:00
Song Ruo Jing
222d81976a fix(gpio): oe control by register only take effect when func sel is GPIO 2025-11-24 11:38:07 +08:00
morris
14dd2d23fa Merge branch 'feature/esp32p4_eco5_io_hold_v5.4' into 'release/v5.4'
feat(gpio): add IO hold support for Deep-sleep for ESP32-P4 ECO5 (v5.4)

See merge request espressif/esp-idf!43309
2025-11-19 16:32:25 +08:00
morris
1e975c6be2 Merge branch 'feature/esp32p4_eco5_support_v5.4' into 'release/v5.4'
feat(gpio/ledc/uart/2ddma/ppa): ESP32P4 ECO5 related updates (v5.4)

See merge request espressif/esp-idf!42819
2025-11-18 17:17:43 +08:00
Song Ruo Jing
1c3a4aafcf feat(gpio): add IO hold support for Deep-sleep for ESP32-P4 ECO5 2025-11-18 11:30:24 +08:00
armando
90176b9b4e change(isp): make wbg standalone 2025-11-14 16:04:30 +08:00
armando
fa8b875497 feat(isp): support AWB driver setting wbgain and subwindow feature 2025-11-14 16:04:26 +08:00
Song Ruo Jing
0c243c9490 feat(ppa): ESP32P4 ECO5 PPA related updates
PPA SRM engine added YUV422 and GRAY8 color mode support
PPA SRM engine macro block size increased to 32x32
PPA Blending engine added YUV420, YUV422 and GRAY8 color mode support
2025-11-13 15:47:15 +08:00
Song Ruo Jing
55f3730ba4 feat(2ddma): ESP32P4 ECO5 2DDMA related updates
Added one more pair of 2DDMA channels
Priority bit width increased corespondingly
Added three new CSC modes for RX channel 0
2025-11-13 15:47:15 +08:00
morris
bfa5bba36a Merge branch 'feat/dvp_format_trans_v5.4' into 'release/v5.4'
feat(cam): support format conversion function (v5.4)

See merge request espressif/esp-idf!41786
2025-11-11 16:37:46 +08:00
gaoxu
cfd1a55198 feat(cam): support format conversion function 2025-11-05 10:12:28 +08:00
wuzhenghui
819fa8ccb2 feat(esp_hw_support): update pmu support for esp32p4 v3.0 2025-11-04 16:03:27 +08:00
C.S.M
a87dd8986d feat(jpeg_encoder): Add yuv444 and yuv420 jpeg encoder format on esp32p4 eco5 2025-10-29 11:47:47 +08:00
morris
26cbcbb0b2 feat(dsi): can use gray8 image as input 2025-10-26 22:50:22 +08:00
morris
e3b655f02f feat(dsi): split the dphy config clock and pll reference clock
this is a breaking change in the esp32p4 ver3.0 silicon.
2025-10-26 22:50:22 +08:00
C.S.M
f148acc534 feat(uhci): Add uhci (uart-dma) support on current chips 2025-08-26 16:06:49 +08:00
Song Ruo Jing
a194b02246 fix(ledc): duty_start bit should wait for its self-clear before next set on esp32 2025-08-14 19:07:06 +08:00
morris
e055bd526f Merge branch 'feat/usb-explicit-fifo-config_v5.4' into 'release/v5.4'
feat(usb/hal): Add HAL API to configure custom FIFO layout (backport v5.4)

See merge request espressif/esp-idf!39265
2025-06-30 10:18:31 +08:00
igor.masar
d191538f18 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 16:11:40 +02:00
Song Ruo Jing
8f231272f6 fix(gpio): fix IO output enable control
oen_sel and oen_inv_sel fields from func_out_sel_cfg register
2025-05-20 15:30:26 +08:00
Song Ruo Jing
6cffc5c994 fix(gpio): fix pu, pd, drv value incorrect from gpio_dump_io_configuration on esp32
Closes https://github.com/espressif/esp-idf/issues/14931
2025-05-20 15:30:14 +08:00
C.S.M
94cbc9bbac fix(i2c): Fix that fsm reset cause i2c scl frequency changed on esp32s2 2025-04-29 16:58:36 +08:00
laokaiyao
8e6a7845b7 fix(touch): fixed tie option take no effect 2025-04-21 20:45:50 +08:00
morris
756cd17c61 Merge branch 'contrib/github_pr_15484_v5.4' into 'release/v5.4'
fix(twai): fixed twai assert fail during recover (GitHub PR) (v5.4)

See merge request espressif/esp-idf!37988
2025-04-14 13:23:02 +08:00
diplfranzhoepfinger
30d871d206 fix(twai): fixed twai assert fail when recover
driver try start new frame in ISR however already bus off

Closes https://github.com/espressif/esp-idf/issues/9697
2025-04-10 20:08:34 +08:00
gaoxu
b227da9b2b ci(adc): enable P4 ADC test and correct ADC performance thresh 2025-04-01 15:05:36 +08:00
morris
57a83359d5 Merge branch 'bugfix/clear_ledc_gamma_ram_v5.4' into 'release/v5.4'
fix(ledc): left-off gamma ram registers should be cleared (v5.4)

See merge request espressif/esp-idf!37572
2025-04-01 11:13:32 +08:00
morris
8bce1430ee Merge branch 'bugfix/lp_uart_baudrate_limitation_v5.4' into 'release/v5.4'
fix(uart): LP UART does not have the pre-divider for its clock source (v5.4)

See merge request espressif/esp-idf!37594
2025-04-01 10:35:29 +08:00
peter.marcisovsky
1b4fd125c4 fix(jpeg_decoder): Correctly handle invalid 0xffff JPEG marker 2025-03-14 22:16:27 +08:00
Song Ruo Jing
e774dbfd0f fix(uart): LP UART does not have the pre-divider for its clock source
Closes https://github.com/espressif/esp-idf/issues/15427
2025-03-10 15:29:09 +08:00
Song Ruo Jing
b2dbcd7804 fix(ledc): left-off gamma ram registers should be cleared
Hardware reads in (range_number+1) fade parameter registers, which could
cause output waveform error.
2025-03-07 17:22:39 +08:00
Aditya Patwardhan
2ff128ebf4 fix(soc): Fixed ECDSA register compatibility 2025-02-20 21:03:10 +08:00
Mahavir Jain
748d29b5ad feat(ecc): enable ECC constant time mode for ESP32-H2 ECO5 2025-02-20 21:03:10 +08:00
morris
cf392937b6 Merge branch 'feature/flash_software_resume_v5.4' into 'release/v5.4'
feat(spi_flash): Add config for adding auto check status after suspend to improve performance (backport v5.4)

See merge request espressif/esp-idf!36525
2025-02-20 10:52:17 +08:00
Armando
7bbfe91432 fix(mmu): fixed esp_mmu_vaddr_to_paddr cannot figure out psram vaddr issue on esp32p4 2025-02-18 11:49:45 +08:00
Mahavir Jain
649f9a72ae Merge branch 'feat/support_aes_pseudo_round_func_in_esp32h2_eco5_v5.4' into 'release/v5.4'
Support AES and XTS-AES's pseudo round function in ESP32H2-ECO5 (v5.4)

See merge request espressif/esp-idf!36463
2025-01-23 13:20:20 +08:00
morris
206b3a22ad Merge branch 'feat/spi_std_timing_and_bit_trans_v5.4' into 'release/v5.4'
feat(driver_spi): support adjust master rx to standard timing (v5.4)

See merge request espressif/esp-idf!36399
2025-01-23 10:38:07 +08:00
harshal.patil
e3acb360e3 feat(hal/spi_flash_encrypted): Enable pseudo rounds function during XTS-AES operations 2025-01-21 12:28:23 +05:30
harshal.patil
7d803e661e feat(hal/aes): Enable pseudo rounds function during AES operations 2025-01-21 12:28:23 +05:30
C.S.M
82b3f5413c feat(spi_flash): Add config for adding auto check status after suspend to improve performance 2025-01-21 14:50:23 +08:00
C.S.M
c4bb6a3970 feat(spi_flash): support software resume after suspend in unicore 2025-01-21 14:50:23 +08:00