Ivan Grokhotkov
32cdd1d999
Merge branch 'refactor/usb_console_hal' into 'master'
...
refactor(console): Use esp_hal_usb APIs in USB console
Closes IDF-15755 and IDFGH-11591
See merge request espressif/esp-idf!51843
2026-09-11 13:04:53 +02:00
Ivan Grokhotkov
b171649d67
Merge branch 'fix/usb_bbpll_light_sleep' into 'master'
...
fix(usb_phy): Fixed USB PHY clock during low-power modes
Closes IDFGH-14711
See merge request espressif/esp-idf!51822
2026-09-11 13:04:30 +02:00
Tomas Rezucha
e8032f6ff6
feat(esp_hal_usb): Add option to run FS/LS only host on HS target
...
Add function usb_dwc_hal_init_with_config() that takes a bitmap
of configuration flags.
Currently only FS/LS only flag is implemented, but the design
allows extension in the future.
2026-09-11 14:22:44 +08:00
Tomas Rezucha
1bbd9ee09a
refactor(console): Use esp_hal_usb APIs in USB console
...
Also remove unused usb_reg.h and usb_struct.h
Closes https://github.com/espressif/esp-idf/issues/12710
Preparation for https://github.com/espressif/esp-idf/issues/18992
2026-09-10 14:30:18 +08:00
Tomas Rezucha
994d2b4203
fix(usb_phy): Fixed USB PHY clock during low-power modes
...
On ESP32-S3, USB PHY is clocked from BBPLL,
however if the BBPLL is not used as CPU clock source,
the power management unit can turn it off.
This commit registers USB as BBPLL consumer so it is not turned off.
Closes https://github.com/espressif/esp-idf/issues/15451
2026-09-08 14:47:25 +02:00
Jiang Guang Ming
d65b467108
fix(usb): address usb wakeup review comments
2026-06-10 15:14:37 +08:00
JiangGuangMing
c8dcd0d2aa
feat(esp_hal_usb): add usb suspend wakeup status in ll layer
2026-06-08 16:31:25 +08:00
Peter Marcisovsky
7ac6e821f8
Merge branch 'fix/esp_hal_usb_fsls_phy_default_settings' into 'master'
...
fix(esp_hal_usb): Fix internal PHY default settings
Closes IDF-15718
See merge request espressif/esp-idf!48764
2026-05-22 09:53:44 +02:00
peter.marcisovsky
c4b57d67aa
fix(esp_hal_usb): Fix internal PHY default settings
2026-05-21 19:56:32 +08:00
peter.marcisovsky
eac2c21088
fix(esp_hal_usb): Fix UTMI PHY default settings:
...
- Allow automatic UTMI PHY suspend/resume controlled by the DWC2 suspend/resume
- Correctly set precise detection
2026-05-20 14:52:43 +02:00
C.S.M
854d00cab1
feat(usj): Add usb serial jtag support on esp32s31
2026-05-19 16:16:31 +08:00
peter.marcisovsky
7b520d0f5c
fix(usb_host): Fix HNP cap on HS port of esp32p4 for HW version < 3
2026-04-23 19:52:37 +02:00
Tomas Rezucha
d02062f914
refactor(esp_hal_usb): Enable HNP on HNP-capable controllers
2026-04-22 10:21:59 +02:00
igor.masar
9ab7d5eb03
feat(usb): add ESP32-S31 DWC/UTMI support
...
Add ESP32-S31 USB DWC/UTMI LL headers, SoC register structures, peripheral
descriptors, capabilities, and linker mappings so the HS OTG controller and
UTMI PHY can be built in esp_hal_usb.
Introduce SOC_USB_FSLS_PHY_NUM on USB-OTG targets to separate FSLS USB_WRAP
support from OTG/UTMI support. Use it to gate usb_wrap, the USB PHY driver,
docs, and example build rules on targets without an FSLS PHY.
Also add UTMI data pulldown control to the HAL, clear the boot-time DWC
suspend state on ESP32-S31, alias the legacy internal PHY target to UTMI for
backward compatibility, and extend usb_phy tests for UTMI-only targets.
2026-04-08 16:01:28 +08:00
Tomas Rezucha
de8f440155
fix(esp_hal_usb): Add API for transfer max size
2026-03-02 18:46:58 +01:00
C.S.M
7202b67661
fix(usj):Fix usj fifo write/read on p4
2026-02-24 11:12:54 +08:00
wuzhenghui
5b879a8f58
feat(esp_hw_support): set USB2.0 phy to suspend mode at startup for active power saving
2026-01-28 19:49:46 +08:00
C.S.M
4034446cc7
refactor(hal): Cleanup some missing hal files
2025-12-26 10:33:32 +08:00
wanckl
6449181ce0
feat(driver_spi): split spi hal component
2025-12-11 15:00:18 +08:00
Tomas Rezucha
10ce570707
Merge branch 'feat/usb_host_hal_remote_wake' into 'master'
...
feat(esp_hal_usb): Add hal changes for remote wakeup
See merge request espressif/esp-idf!42394
2025-12-04 12:29:10 +01:00
morris
af02c173fb
refactor(soc): remove soc_caps_full.h
2025-12-04 10:48:07 +08:00
peter.marcisovsky
8ab21b52d6
feat(esp_hal_usb): Add remote wakeup support
2025-12-03 15:17:48 +01:00
morris
c7f4c62e00
Merge branch 'refactor/bitscrambler_in_esp_hal_dma' into 'master'
...
refactor(hal): bitscrambler hal -> esp_hal_dma, usj hal -> esp_hal_usb
Closes IDF-14353
See merge request espressif/esp-idf!43542
2025-11-25 13:06:26 +08:00
morris
b1fdb0db2b
refactor(hal_usb): move USB Serial JTAG HAL from hal component
2025-11-21 16:10:17 +08:00
Tomas Rezucha
da7d0e6979
fix(usb): Fix USB PHY mocking on linux target
2025-11-20 12:44:11 +01:00
Tomas Rezucha
a16739a950
Merge branch 'contrib/github_pr_17831' into 'master'
...
fix(hal): Fix USB PHY selection logic in usb_wrap_ll.h (GitHub PR)
Closes IDFGH-16746
See merge request espressif/esp-idf!43255
2025-11-12 08:54:30 +01:00
Tomas Rezucha
b6db931b0d
refactor(usb): Make usb hal layer independent
2025-11-10 17:04:22 +01:00