Tomas Rezucha
d837cae2b0
feat(hal/usb): Make USB-DWC HAL&LL configuration independent
...
Previously, we included symbols from soc/usb_dwc_cfg.h and configured
the HAL and LL according to it. Now we get the configuration in runtime
from USB-DWC registers.
Added missing definition for USB FS peripheral on ESP32-P4.
2024-10-24 16:54:20 +02: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
laokaiyao
c3e0dd610a
refactor(soc): sort esp32s3 soc headers
2024-10-11 16:29:42 +08:00
laokaiyao
0cb4bdc54e
feat(i2s): support sleep retention
2024-09-30 17:38:22 +08:00
Lou Tian Hao
c7d532049a
Merge branch 'feature/esp32c61_light_sleep_support_stage_2' into 'master'
...
feat(esp_hw_support): esp32c61 sleep support (Stage 2: support basic pmu sleep function)
Closes IDF-9248, IDF-9247, IDF-9246, IDF-10993, IDF-9250, PM-203, and IDF-9244
See merge request espressif/esp-idf!33294
2024-09-11 15:11:58 +08:00
Lou Tianhao
0926a700c2
feat(pm): support basic pmu sleep
2024-09-10 10:44:13 +08:00
laokaiyao
65f49c6a7b
refactor(soc): create soc include folders
2024-09-10 09:56:11 +08:00
Armando (Dou Yiwen)
85bc5acfc7
Merge branch 'change/sdmmc_ll_layer' into 'master'
...
sdmmc: full ll layer
Closes IDF-10544 and IDF-10251
See merge request espressif/esp-idf!33156
2024-09-04 10:54:37 +08:00
Armando
a1da4f8a01
feat(sdmmc): sdmmc full ll layer
2024-09-03 17:03:42 +08:00
wanckl
19c6e77a31
fix(mspi): collect mspi iomux pin macro from iomux_reg.h to spi_pins.h
2024-09-03 13:55:00 +08:00
wanckl
473f39c31f
fix(driver_spi): move macro GPIO_MATRIX_DELAY_NS out from soc.h
2024-09-03 13:55:00 +08:00
morris
23c41fc772
feat(lcd): support i80 lcd driver on esp32p4
2024-08-20 18:47:22 +08:00
Song Ruo Jing
706935f468
fix(gpio): esp32p4 IOs cannot keep being held in the entire deep sleep process
2024-08-15 21:54:21 +08:00
laokaiyao
1397e5421e
feat(i2c): support i2c on esp32-c61
2024-08-14 11:25:31 +08:00
Chen Jichang
9b94afdd38
feat(dedic_gpio): add support for esp32c5
2024-07-17 17:56:43 +08:00
laokaiyao
7ac331fea7
refactor(lp_ana_periph): sync the reg names to TRM (part2)
2024-06-24 15:30:55 +08:00
morris
0365cb0bc7
change(wdt): create wdt_periph.c in soc component
2024-06-18 09:59:06 +08:00
laokaiyao
865e3ee2de
feat(touch_sens): touch sensor driver-ng on P4
2024-06-12 12:09:17 +08:00
Song Ruo Jing
dca7c286d0
feat(uart): support uart module sleep retention on c6/h2/p4
2024-06-03 12:40:43 +08:00
C.S.M
374c89097f
feat(spi_flash): Adjust flash clock to real 80M clock, and support 32bit address on eco1
2024-05-27 19:42:47 +08:00
morris
098abb5993
Merge branch 'feat/pcnt_support_esp32c5' into 'master'
...
feat(pcnt): add driver support on esp32c5
Closes IDF-8683
See merge request espressif/esp-idf!30854
2024-05-23 09:53:08 +08:00
Armando
10d3912c70
feat(xip_psram): support xip psram feature on esp32p4
2024-05-22 15:56:07 +08:00
morris
3b376b03df
feat(pcnt): add driver support on esp32c5
2024-05-16 11:09:48 +08:00
nilesh.kale
b227154fd3
fix(soc): Refactor variable names for MPI operations and block bases
2024-05-14 10:34:33 +05:30
morris
6a57c26469
Merge branch 'feature/esp32c5_mp_gpio_support' into 'master'
...
esp32c5 mp gpio support
Closes IDF-9649
See merge request espressif/esp-idf!30474
2024-05-11 22:50:23 +08:00
gaoxu
cbef285352
feat(pm): add SOC_PM_SUPPORTED in soc caps
2024-05-11 10:51:17 +08:00
morris
e8e975112a
feat(rmt): support sleep retention
...
by back up the registers
2024-04-24 22:10:42 +08:00
wuzhenghui
309725fcd0
feat(esp_hw_support): support esp32p4 clock output
2024-04-17 15:09:49 +08:00
wuzhenghui
101f1abbf1
refactor(esp_hw_support): add hal layer for clock output feature
2024-04-17 14:25:29 +08:00
zlq
91668e17be
fix(rtc_cntl_reg.h): fix RTC_CNTL_SLAVE_PD_M
2024-04-10 16:25:18 +08:00
Cao Sen Miao
0985bfbe27
feat(i2c_master): Add lp_i2c support in i2c master driver
2024-04-03 11:39:04 +08:00
gaoxu
8e9b1501c0
fix(dma): fix s3 dma reg spell error
2024-04-02 14:30:14 +08:00
wanlei
20c18ac52b
feat(esp32c61): final introduce helloworld support
2024-04-02 10:50:52 +08:00
xiehang
f3c5047638
feat(extconn): Supports external WiFi connections for ESP32p4 and other espressf chips
2024-04-01 11:44:52 +08:00
xiehang
9d7bd6a8dd
change(esp_phy): Add SOC_PHY_SUPPORTED to control phy mode
2024-04-01 11:36:55 +08:00
morris
1b8e1df648
feat(uhci): add reset and clock control functions
2024-03-29 10:41:17 +08:00
Omar Chebib
a79c6f7f67
fix(esp_hw_support): clear reserved interrupts that are not applicable for each target
2024-03-27 16:21:25 +08:00
wanlei
1e6c61daa6
spi_master: sct mode support set line mode, transaction interval time
...
support line mode 1-2-4-8 depend on targets.
fix sct mode dma descriptor counter compute issue.
add conf_bits_len setting API to control interval time.
2024-03-20 15:42:03 +08:00
Armando
b303e4b7a6
spi_master: new segmented-configure-transfer mode
2024-03-20 15:42:03 +08:00
Wan Lei
966f47f5c1
Merge branch 'feat/c5_spi_support' into 'master'
...
feat(spi): bring up c5 spi master/slave/hd driver
Closes IDF-8698, IDF-8699, and IDF-8700
See merge request espressif/esp-idf!29133
2024-03-08 09:41:21 +08:00
Tomas Rezucha
c5dd4a827c
Merge branch 'fix/bbpll_usb_link_error' into 'master'
...
fix(esp_phy): Allow "Enable USB when phy init" option only on supported targets
Closes IDFGH-10996 and IDFGH-11554
See merge request espressif/esp-idf!27364
2024-03-07 19:43:01 +08:00
wanlei
0cf11e5b87
feat(spi): add esp32c5 spi support
2024-03-07 18:11:48 +08:00
Guillaume Souchere
0b9f01ac20
feat(soc): Add soc_caps macros for sleep support
...
- modify console example to use the new SOC_LIGHT_SLEEP_SUPPORTED
and SOC_DEEP_SLEEP_SUPPORTED macros when registering sleep commands
- remove exclusion of esp32p4 in basic and advanced example in
.build-test-rules.yml
- replace exclusion of esp32p4 for deep and light sleep tests with newly introduced macro
- remove the temporary disable check for esp32p4 and uses the
SOC_LIGHT_SLEEP_SUPPORTED maccro instead.
2024-03-05 07:05:40 +01:00
Tomas Rezucha
ea086840a4
fix(esp_phy): Allow WiFi/USB interference workaround option only on supported targets
...
"Enable USB when phy init" Kconfig option would call esp_phy function
`phy_bbpll_en_usb()` that is not implemented for all targets.
Selecting this option for unsupported target results in linking error.
The necessity of this workaround is now defined soc_caps.h rather than
in the Kconfig.
Closes https://github.com/espressif/esp-idf/issues/12185
2024-03-04 16:35:51 +01:00
Song Ruo Jing
5276cd4f1d
refactor(uart): add support to be able to test LP_UART port
...
Increase LP_UART_EMPTY_THRESH_DEFAULT value to 4. The original value
could cause the FIFO become empty before filling next data into the FIFO
when the buadrate is high. TX_DONE interrupt would raise before actual
transmission complete in such case.
2024-02-07 14:37:48 +08:00
Song Ruo Jing
cf93777077
refactor(rtc): move soc/rtc.h from soc to esp_hw_support component
...
Deprecated rtc_xtal_freq_t, replaced with soc_xtal_freq_t defined in
clk_tree_defs.h in soc component.
2024-01-25 19:15:33 +08:00
Darian Leung
19c18845b0
refactor(soc): Remove soc/usb_types.h
...
This header has been removed for the following reasons:
- Header is misplaced. 'xxx_types.h' headers should be placed in the 'hal'
component.
- The 'usb_xxx_endpoint_t' should be placed in the 'xxx_struct.h' header.
2024-01-17 21:28:25 +08:00
Darian Leung
6a43b623dc
refactor(soc): Rename usb_otg_periph to usb_dwc_periph
...
- Renamed usb_otg_periph.h/c to usb_dwc_periph.h/c to match naming convention
of other DWC OTG related files
- Added compatibility header for usb_otg_periph.h
2024-01-17 21:28:25 +08:00