Commit Graph

389 Commits

Author SHA1 Message Date
morris 4837c31273 feat(dsi): add vsync interrupt handling 2025-10-26 22:50:22 +08:00
Song Ruo Jing a8e8b828af 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:14:28 +08:00
Tomas Rezucha 8fb0366f70 feat(usb/host): Add option to choose peripheral for USB host library
Starting with ESP32-P4 we can have targets that have more than 1 USB-OTG peripheral.
This commit adds an option to choose which peripherals will be used by USB Host lib.

Internally, we will still have only 1 Root HUB but with multiple Root ports.
2025-07-01 10:11:55 +02:00
yanzihan@espressif.com 34b8f67a89 feat(esp_hw_support): use pvt to auto control digital ldo and rtc ldo for esp32p4 2025-06-25 18:22:02 +08:00
wuzhenghui f3cc52d234 feat(esp_hw_support): do esp32p4 l1&l2 cache regs retention by regdma 2025-02-19 14:32:00 +08:00
Jiang Jiang Jian 5436955fd9 Merge branch 'bugfix/esp32c5_eco1_wifi_ps_v5.4' into 'release/v5.4'
backport v5.4: fix some wifi power save issues and optimize phy sleep for esp32c5 eco1 and beta5

See merge request espressif/esp-idf!36561
2025-02-10 15:22:59 +08:00
Tomas Rezucha cd7fab3bdc refactor(usb): Include supported PHYs information in SoC 2025-01-27 08:08:02 +01:00
Tomas Rezucha d12312bf76 fix(usb): Fixed missing GPIO drive capability on ESP32-P4
All USB PHYs that share their IOs with GPIOs must set
the GPIO's drive capability to maximum.
2025-01-27 08:07:42 +01:00
Li Shuai 9e1b5eb173 change(soc): fix idf_size error caused by ldgen to run success for ci pipeline 2025-01-26 14:54:33 +08:00
Tomas Rezucha b78bcaea36 refactor(usb/phy): Do not use deprecated variables in usb_phy 2025-01-08 09:26:41 +01:00
morris c670044eab Merge branch 'feature/uart_sleep_retention_support_c5_c61_v5.4' into 'release/v5.4'
feat(uart): support uart sleep retention on C5/C61 (v5.4)

See merge request espressif/esp-idf!35400
2025-01-07 10:29:23 +08:00
Song Ruo Jing cfcedfe42d feat(uart): support uart sleep retention on C5/C61 2024-12-03 17:17:14 +08:00
wuzhenghui afa697bd74 fix(esp_driver_gptimer): do gptimer retention by timer unit rather than timer group 2024-12-02 19:07:50 +08:00
Li Shuai 78b272c092 feat(esp_hw_support): extend sleep retention module bitmap bit width 2024-11-18 15:57:42 +08:00
Chen Jichang 2e44cb9387 feat(mcpwm): support sleep retention 2024-11-13 11:13:34 +08:00
Chen Jichang 31befbfad3 feat(pcnt): add sleep retention init
Currently, due to the lack of sleep callback feature. We only init
sleep module but don't allocate it. Thus the power domain will be
kept during the light sleep. And temporarily disable pcnt sleep
retention support on P4 due to the lack of retention module ID.
2024-11-07 12:09:26 +08:00
Tomas Rezucha b02ad37a55 feat(soc/usb): Add USB related changes to soc_caps and usb_dwc_periph
This commit changes the following:

- Add types and data structures indicating the available USB controllers
for each target.
2024-10-24 15:18:30 +08:00
wanckl ef7406257a feat(driver_spi): spi master support sleep retention(recovery) 2024-10-24 12:47:32 +08:00
Song Ruo Jing 4a90deb227 feat(ledc): support ledc sleep mode selection
Support LEDC sleep retention on C6/H2/P4
2024-10-22 17:54:32 +08:00
Song Ruo Jing dc15243a64 refactor(uart): minor update on uart retention feature 2024-10-22 17:43:28 +08:00
Chen Jichang b6645acafe feat(parlio): support sleep retention 2024-10-21 20:25:39 +08:00
Armando 2cb5de2172 feat(twai): sleep retention 2024-10-18 14:14:16 +08:00
C.S.M 4cbc790628 feat(temperature_sensor): Add sleep retention support for temperature sensor 2024-10-16 17:35:35 +08:00
morris 05cb70cc3a refactor(rmt): define retention module in the soc layer 2024-10-10 12:12:58 +08:00
morris 0722aa8209 feat(etm): support sleep retention 2024-10-10 12:12:58 +08:00
C.S.M 3f061bd557 feat(i2c_master): Support i2c sleep retention on esp32c5/p4/c61 2024-10-08 15:55:48 +08:00
laokaiyao ae36f84945 feat(i2s): enable i2s test on c5 2024-09-30 17:38:22 +08:00
laokaiyao 0cb4bdc54e feat(i2s): support sleep retention 2024-09-30 17:38:22 +08:00
morris 0c38389aa2 change(gptimer): optimize the registers to be backup 2024-09-25 16:12:38 +08:00
Song Ruo Jing 6afbc06666 feat(gdma): add retention support for esp32p4, esp32c5, esp32c61 2024-09-24 12:33:41 +08:00
Lou Tianhao 24aa547c80 change(esp_hw_support): change regdma link entry num 2024-08-28 10:44:08 +08:00
laokaiyao 1c2f8b8ce0 feat(bootloader): support to check efuse block revision
change(bootloader): remove ignore efuse check flag (temp)

change(bootloader): use int for the minimum efuse blk rev (temp)
2024-08-26 10:02:31 +08:00
morris 23c41fc772 feat(lcd): support i80 lcd driver on esp32p4 2024-08-20 18:47:22 +08:00
wuzhenghui 56aefbe845 driver(gptimer): support software triggered GPTimer retention test 2024-08-20 10:52:17 +08:00
wuzhenghui 05504d5f68 feat(esp_hw_support): support extra link software trigger for all targets 2024-08-20 10:52:16 +08:00
laokaiyao 1397e5421e feat(i2c): support i2c on esp32-c61 2024-08-14 11:25:31 +08:00
Adam Múdry d1571c144b Merge branch 'feat/sdmmc_support_concurrent_use' into 'master'
feat(sdmmc): Concurrent use of SDMMC peripheral

Closes IDF-9152

See merge request espressif/esp-idf!31150
2024-08-09 01:08:16 +08:00
Adam Múdry 014dddad1f 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.
2024-08-06 10:34:13 +02:00
Armando ee8933f651 feat(lp_i2s): lp_i2s driver 2024-08-02 12:02:05 +08:00
morris c30d89953c feat(debug_probe): added debug probe hal driver 2024-07-29 15:23:18 +08:00
Chen Jichang 9b94afdd38 feat(dedic_gpio): add support for esp32c5 2024-07-17 17:56:43 +08:00
morris 22a85517ff fix(gptimer): fix the regdma overwrite the reload configuration 2024-06-18 09:59:12 +08:00
morris 0365cb0bc7 change(wdt): create wdt_periph.c in soc component 2024-06-18 09:59:06 +08:00
laokaiyao 717a2ccf15 remove(c5beta3): remove c5 beta3 soc files 2024-06-17 12:01:57 +08:00
laokaiyao 865e3ee2de feat(touch_sens): touch sensor driver-ng on P4 2024-06-12 12:09:17 +08:00
Armando (Dou Yiwen) 3af0335b3f Merge branch 'feature/p4_lcdcam_dvp_cam_driver' into 'master'
feat(cam): add esp32-p4 lcd_cam dvp driver

Closes IDF-10029

See merge request espressif/esp-idf!31085
2024-06-12 10:44:44 +08:00
Dong Heng a347fa175f feat(cam): add esp32-p4 lcd_cam dvp driver 2024-06-11 10:59:27 +08:00
wuzhenghui cca222948a fix(esp_driver_gpio): manage lp_io module clock by driver
Closes https://github.com/espressif/esp-idf/issues/13683
2024-06-05 17:56:37 +08:00
Gao Xu 78c40fd19a Merge branch 'esp32p4/add_adc_support' into 'master'
feat(adc): support ADC oneshot/continuous mode on ESP32P4

Closes IDF-6496 and IDF-6497

See merge request espressif/esp-idf!28281
2024-06-05 16:31:59 +08:00
gaoxu 795f3fe377 feat(adc): support ADC continuous mode on ESP32P4 2024-06-03 16:50:39 +08:00