Commit Graph

409 Commits

Author SHA1 Message Date
Song Ruo Jing
54534c8637 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 20:27:55 +08:00
morris
6e9fca80c8 fix(lcd): reserve the GPIOs used by RGB LCD
and disconnect the LCD signals when the dirver is uninstalled.
2025-07-31 13:08:38 +08:00
Jiang Jiang Jian
0291ab0dfb Merge branch 'feature/support_chip912_pvt_auto_dbias_360m_backport_v5.5' into 'release/v5.5'
feat(esp_hw_support): use pvt to auto control digital ldo and rtc ldo for esp32p4_backport_v5.5

See merge request espressif/esp-idf!40676
2025-07-22 17:36:09 +08:00
yanzihan@espressif.com
3d3731965c feat(esp_hw_support): use pvt to auto control digital ldo and rtc ldo for esp32p4 2025-07-18 09:54:31 +08:00
Tomas Rezucha
ab5e48b026 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-06-30 08:47:45 +02:00
morris
b095331a51 fix(mcpwm): the wrong pm lock type on esp32 and esp32s3 2025-05-16 10:31:27 +08:00
armando
8d02253b48 refactor(sdio): sdio related soc register headers renaming 2025-04-30 10:50:12 +08:00
Chen Jichang
6edf48d253 feat(parlio_tx): support cs signal on esp32c5 v1.0 2025-04-25 14:25:01 +08:00
morris
2b5d91ad1c refactor(ana_cmpr): enhanced the driver implementation 2025-04-11 17:45:32 +08:00
wanckl
043c46b4f4 feat(driver_twai): add new driver based on c5 twaifd 2025-04-01 20:17:09 +08:00
Chen Jichang
30f2578e75 fix(esp32h4): fix g0 component build 2025-03-04 16:17:18 +08:00
Wan Lei
73eb376eb1 Merge branch 'feat/h21_gptimer_support' into 'master'
feat(driver_gptimer): esp32h21 add basic gptimer support

Closes IDF-11594

See merge request espressif/esp-idf!37028
2025-02-24 19:32:11 +08:00
wanckl
cfe4bf339f feat(driver_gptimer): esp32h21 add basic gptimer support 2025-02-21 20:22:41 +08:00
wuzhenghui
93cdad7a3b feat(esp_hw_support): support esp32h21 retention link software trigger 2025-02-19 14:21:18 +08:00
Wu Zheng Hui
5fd4104d12 Merge branch 'fix/esp32p4_lightsleep_fixes' into 'master'
fix(esp_hw_support): some fixes of esp32p4 lightsleep retention & power switch process

Closes PM-291, PM-301, and PM-302

See merge request espressif/esp-idf!35460
2025-02-13 17:20:21 +08:00
C.S.M
883c42b1f8 feat(i3c): i3c-i2c driver hal and soc support 2025-02-11 18:57:10 +08:00
Li Shuai
65ef909867 Revert "change(soc): fix idf_size error caused by ldgen to run success for ci pipeline"
This reverts commit bd19d4b930.
2025-02-05 19:58:39 +08:00
Tomas Rezucha
125a3f0297 refactor(usb): Include supported PHYs information in SoC 2025-01-24 14:03:04 +01:00
Tomas Rezucha
ce59bd4017 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-24 14:02:52 +01:00
Ondrej Kosta
d30e4d9960 Merge branch 'feat/eth_gpio' into 'master'
feat(esp_eth): new gpio init strategy

Closes IDF-11128

See merge request espressif/esp-idf!35827
2025-01-22 20:20:07 +08:00
Li Shuai
bd19d4b930 change(soc): fix idf_size error caused by ldgen to run success for ci pipeline 2025-01-17 17:16:39 +08:00
Ondrej Kosta
83fecdd5d3 change(esp_eth): new gpio init strategy 2025-01-15 22:53:33 +08:00
C.S.M
50cd05c4ac Merge branch 'refactor/move_bod_to_hw_support' into 'master'
refactor(bod): Move brownout handling file from esp_system to esp_hw_support

See merge request espressif/esp-idf!36191
2025-01-09 11:08:05 +08:00
C.S.M
5e4fd8ee52 refactor(bod): Move brownout handling file from esp_system to esp_hw_support 2025-01-08 14:41:37 +08:00
Tomas Rezucha
a66cecd250 refactor(usb/phy): Do not use deprecated variables in usb_phy 2025-01-07 09:10:23 +01:00
Gao Xu
b11535c32d Merge branch 'feat/h21_introduce_step4' into 'master'
feat(esp32h21): add G0 component support (stage4)

See merge request espressif/esp-idf!35494
2024-12-20 17:26:00 +08:00
gaoxu
4ba375351a feat(esp32h21): add G0 component support (stage4) 2024-12-20 14:15:12 +08:00
wanckl
fe48cbc3c0 feat(twai): c5 twaifd low level support and deprecate old types header 2024-12-18 19:23:25 +08:00
wuzhenghui
690de1bbcb feat(esp_hw_support): do esp32p4 l1&l2 cache regs retention by regdma 2024-12-04 22:00:36 +08:00
Wu Zheng Hui
1b44d4df3b Merge branch 'fix/fix_tg_retention_failure' into 'master'
fix(esp_driver_gptimer): do gptimer retention by timer unit rather than timer group

Closes PM-233 and IDFCI-2427

See merge request espressif/esp-idf!35284
2024-12-02 16:44:05 +08:00
wuzhenghui
3ae1929e58 fix(esp_driver_gptimer): do gptimer retention by timer unit rather than timer group 2024-11-29 16:25:26 +08:00
Song Ruo Jing
3abfd17004 feat(uart): support uart sleep retention on C5/C61 2024-11-28 14:59:05 +08:00
morris
24272610b2 refactor(soc): reformat code with astyle 2024-11-22 11:09:38 +08:00
Li Shuai
8368564717 feat(esp_hw_support): extend sleep retention module bitmap bit width 2024-11-18 15:38:30 +08:00
Chen Jichang
8e4ff8bcba feat(mcpwm): support sleep retention 2024-11-07 12:06:31 +08:00
Chen Jichang
ddf6fea6a2 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-10-30 19:34:33 +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