morris
8318a2ad44
Merge branch 'feature/usb_new_phy_driver_collective_backport_v5.1' into 'release/v5.1'
...
refactor(usb/host): PHY driver preqrequisite refacotring collective backport (v5.1)
See merge request espressif/esp-idf!29791
2024-05-31 22:30:32 +08:00
Li Shuai
08a05ec562
change(esp_hw_support): use new retention api to implement gdma retention
2024-05-14 19:34:37 +08:00
Darian Leung
d41515f948
refactor(hal/usb): Add new USB PHY related HAL API
...
This commit adds/updates the USB PHY related HAL APIs. The following changes
are made:
- Updated 'usb_wrap_hal.h' API
- Added 'usb_serial_jtag_hal.h' API
2024-05-13 17:36:34 +08:00
Darian Leung
4f996fc421
feat(hal/usb): Update USB WRAP and USJ LL
...
- Added LL cap macros to distinguish feature differences between the LLs of
different targets:
- '..._LL_EXT_PHY_SUPPORTED' indicates whether the USB WRAP/USJ supports
routing to an external FSLS PHY.
- Added 'usb_wrap_types.h' and 'usb_serial_jtag_types.h' to provide types used
in LLs.
- Fixed some spelling/naming issues as part of code-spell pre-commit
2024-05-13 17:36:34 +08:00
Darian Leung
06821a8fe6
refactor(hal/usb): Refactor usb_wrap_ll.h
...
This commit rewrite the 'usb_wrap_ll.h' API as follows:
- All APIs renamed from 'usb_fsls_phy_ll_...()' to 'usb_wrap_ll_...()'
- APIs now match their equivalent counter parts in 'usb_serial_jtag_ll.h'
2024-05-13 17:36:33 +08:00
Darian Leung
c776d40df1
refactor(hal/usb): Remove usb_fsls_phy_ll.h
...
For targets that only contain a USJ peripheral (and not a DWC OTG), their
'usb_fsls_phy_ll.h' headers only contain a single function
('usb_fsls_phy_ll_int_jtag_enable()') whose feature is already covered by
functions in 'usb_serial_jtag_ll.h'. Thus, this header is redundant.
This commit does the following:
- Remove 'usb_fsls_phy_ll.h' for targets that only contain a USJ peripheral
- Rename 'usb_fsls_phy_[hal|ll].[h|c]' to `usb_wrap_[hal|ll].[h|c]` for targets
that contain a DWC OTG peripheral. This better reflects the underlying peripheral
that the LL header accesses.
2024-05-13 17:36:33 +08:00
Darian Leung
75498cdb7a
refactor(hal/usj): Add USB PHY related functions to USJ LL
2024-05-13 17:36:32 +08:00
morris
9808619d52
Merge branch 'bugfix/fix_gpio_etm_multi_task_v5.1' into 'release/v5.1'
...
fix(gpio_etm): allow one GPIO binds to multiple ETM tasks (v5.1)
See merge request espressif/esp-idf!30457
2024-05-13 15:59:44 +08:00
morris
442a798083
Merge branch 'feat/add_example_usj_v5.1' into 'release/v5.1'
...
change(usb_serial_jtag): Add example for usb serial jtag echo (backport v5.1)
See merge request espressif/esp-idf!30020
2024-05-11 22:37:34 +08:00
morris
54507f0113
Merge branch 'refactor/usb_remove_unused_files_v5.1' into 'release/v5.1'
...
USB: Remove unused HAL files and deprecate usb_periph (v5.1)
See merge request espressif/esp-idf!29790
2024-05-11 22:36:18 +08:00
morris
01b912a9e5
Merge branch 'fix/uart_wakeup_threshold_v5.1' into 'release/v5.1'
...
fix(uart): Fix mismatch wakeup rising edges required with the threshold configured (v5.1)
See merge request espressif/esp-idf!30464
2024-05-10 22:59:34 +08:00
morris
81bd6ac6a5
Merge branch 'bugfix/gpio_drive_cap_v5.1' into 'release/v5.1'
...
fix(gpio): add workaround to ensure correct IO drive strength for C3 and S3 (v5.1)
See merge request espressif/esp-idf!30467
2024-05-10 22:58:17 +08:00
Song Ruo Jing
a664c71fd7
fix(uart): Fix mismatch wakeup rising edges required with the threshold configured
...
Closes https://github.com/espressif/esp-idf/issues/12586
2024-04-24 17:21:37 +08:00
Song Ruo Jing
c57bfa3737
fix(gpio_etm): allow one GPIO binds to multiple ETM tasks
2024-04-24 17:10:03 +08:00
Song Ruo Jing
204de70570
fix(gpio): add workaround to ensure correct IO drive strength for C3 and S3
2024-04-24 16:59:42 +08:00
harshal.patil
b5347ef02b
feat(hal/ecdsa): Add HAL API for operation successful check
2024-04-12 11:14:10 +05:30
Jeroen Domburg
28e2ab09ea
fix(driver): Add docs and driver fix for the case where a full EP does not cause the host to pickup the data
2024-04-07 10:46:34 +08:00
Darian Leung
0205ed9dc6
refactor(hal): Remove usb_hal and usb_ll
...
This commit removes some legacy USB related HAL and LL files that are no longer
used.
2024-03-22 15:21:51 +08:00
hongshuqing
3b7a934498
fix: fix s3 bbpll cali fail bug
2024-03-14 15:45:37 +08:00
morris
374e54ca78
Merge branch 'bugfix/workaround_reset_eof_counter_c3_v5.1' into 'release/v5.1'
...
fix(adc): workaround to fix adc continuous get less results on c3 (v5.1)
See merge request espressif/esp-idf!29137
2024-03-14 10:44:23 +08:00
morris
bdfa644d5f
Merge branch 'feature/usb_hs_periodic_scheduler_v5.1' into 'release/v5.1'
...
feat(usb/host): Update ISOC scheduler for HS endpoints (backport 5.1)
See merge request espressif/esp-idf!29398
2024-03-11 21:20:35 +08:00
Jiang Jiang Jian
f87ee9c4ec
Merge branch 'bugfix/fix_c6_wakeup_access_flash_v5.1' into 'release/v5.1'
...
fix(hal): fix esp32c6 clock bug workaround access flash in wakeup process (v5.1)
See merge request espressif/esp-idf!29245
2024-03-05 10:58:14 +08:00
Michael (XIAO Xufeng)
005e6656be
Merge branch 'feature/add_new_pkg_and_flash_psram_efuses_v5.1' into 'release/v5.1'
...
feat(efuse): Add flash&psram efuses for S3 (v5.1)
See merge request espressif/esp-idf!29143
2024-03-05 10:34:18 +08:00
Tomas Rezucha
c64d0be428
feat(usb/host): Update ISOC scheduler for HS endpoints
...
USB-OTG uses 'sched_info' field of HCTSIZ register to schedule transactions
in USB microframes.
2024-03-04 09:59:50 +01:00
Tomas Rezucha
58606027da
feat(usb/host): Calculate FIFO sizes based on USB configuration
2024-02-28 16:09:53 +08:00
Darian Leung
d837836f84
refactor(hal/usb): Rename usb_fsls_phy API to match header/source names
...
Note: Also fixed some formatting issues in usb_wrap_struct.h
2024-02-28 16:09:52 +08:00
Darian Leung
148cc6e75d
refactor(hal/usb): Rename usb_phy files to usb_fsls_phy
...
This commit renames USB PHY related HAL files from "usb_phy_xxx" to
"usb_fsls_phy_xxx" since they are only designed to support Full-Speed/Low-Speed
Serial USB PHYs. This renmaing is done to accommodate future USB PHYs that use
other PHY interfaces (e.g., UTMI, ULPI etc).
2024-02-28 16:09:52 +08:00
Darian Leung
f524a59875
refactor(hal/usb): Remove usage of old USB OTG config macros
2024-02-28 16:09:51 +08:00
Darian Leung
b32a735bb0
refactor(soc/host): Update USB OTG struct fields
...
This commit updates the "*_struct.h" files for the USB OTG peripheral:
- Added/removed some missing/non-existing register fields
- Added "reserved" place holders for registers that are missing due to IP
configuration.
- Added "usb_dwc_cfg.h" listing the USB OTG IP configuration for each target.
- Updated LL/HAL according to register field updates. Also tidied up the include
directives in those headers.
2024-02-28 16:09:51 +08:00
Darian Leung
177eb9f6c6
refactor(hal/usb): Fix USB OTG compilation dependency
...
Update "hal/CMakeLists.txt" so that USB OTG related HAL files depend on
the "SOC_USB_OTG_SUPPORTED" capability.
2024-02-28 16:09:51 +08:00
Tomas Rezucha
d26320d8a1
fix(usb/host): Correctly parse bInterval field in HighSpeed EP descriptors
...
For LS and FS interrupt endpoint: interval = bInterval
For isochronous and HS interrupt endpoint: interval = 2^(bInterval-1)
2024-02-28 16:09:50 +08:00
morris
bbb7c4c756
Merge branch 'feature/usb_hs_support_v5.1' into 'release/v5.1'
...
feat(usb/host): Add High Speed enumeration types (backport v5.1)
See merge request espressif/esp-idf!28059
2024-02-28 11:46:17 +08:00
morris
c48ddea0f6
Merge branch 'contrib/github_pr_13020_v5.1' into 'release/v5.1'
...
fix (esp_lcd): Don't assume panels are 16bit in VSYNC restart logic (GitHub PR) (v5.1)
See merge request espressif/esp-idf!28812
2024-02-28 11:40:46 +08:00
Jiang Jiang Jian
76152c80a2
Merge branch 'c6_auto_dbias_master_hsq_v5.1' into 'release/v5.1'
...
ESP32C6: Active & sleep dbg and dbias get from efuse to fix the voltage (v5.1)
See merge request espressif/esp-idf!28722
2024-02-28 10:49:13 +08:00
wuzhenghui
12dca8d086
fix(hal): fix esp32c6 clock bug workaround access flash in wakeup process
2024-02-26 11:42:38 +08:00
hongshuqing
80378b809e
feat(pmu): set fix voltage to different mode for esp32c6
2024-02-22 15:01:14 +08:00
KonstantinKondrashov
24f6995fb5
feat(efuse): Add flash&psram efuses for S3
2024-02-21 09:36:49 +02:00
gaoxu
5101e52a36
fix(adc): workaround to fix adc continuous get less results on c3
2024-02-21 13:54:29 +08:00
morris
4ae845cd3e
fix(rgb_lcd): relax the check for the data line GPIO
...
There are a bunch of cases you might want some pins not exposed.
Eg.
* Reading say 8 bit data and outputting the top 5 bits, discarding the rest by not mapping those data pins to output pins
* Not using hsync/vsync because sync data is embedded within the data bits for more timing flexibility (eg. interlacing).
* Using the LCD module as a high speed parallel data output bus, with no need for sync/control pins.
Removing this validation makes these cases work.
Merges https://github.com/espressif/esp-idf/pull/13103
2024-02-06 10:35:11 +08:00
zwx
1cc34e69d7
fix(802154): fix pending tx will be delayed issue
2024-02-01 14:16:00 +08:00
Michael (XIAO Xufeng)
7f39afb373
Merge branch 'h2_auto_dbias_master_hsq_v5.1' into 'release/v5.1'
...
ESP32H2: Active & sleep dbias get from efuse to fix the voltage (v5.1)
See merge request espressif/esp-idf!28715
2024-01-29 11:21:06 +08:00
hongshuqing
9f5cd217a0
feat(pmu): set fix voltage to different mode for esp32h2
...
h2 remove include
2024-01-26 11:39:16 +08:00
zwx
2f988d08de
feat(802.15.4): introduce pending tx while rx feature
2024-01-25 14:14:51 +08:00
Lou Tianhao
1e43abfb57
change(pm): put pmu_hal to iram
2024-01-16 14:01:22 +08:00
Lou Tianhao
2ecbfecedf
feat(pm): support PMU trigger regdma when PU TOP
2024-01-16 14:01:22 +08:00
xiaqilin
a9679450b2
fix(ieee802154): fix the issue of not receiving packets when RSSI is positive in esp32h2
2024-01-04 15:09:42 +08:00
Jiang Jiang Jian
6e57f35873
Merge branch 'backport/add_dynamic_iram_check_for_ot_sleep_v51' into 'release/v5.1'
...
fix(pm): fix extra retention function to iram(Backportv5.1)
See merge request espressif/esp-idf!28134
2023-12-29 12:26:04 +08:00
wuzhenghui
53afab3850
feat(ulp): add api to get lp_cpu wakeup cause and clear wakeup source at startup
...
Closes https://github.com/espressif/esp-idf/issues/12651
2023-12-28 13:31:55 +08:00
zwx
81123259ff
fix(pm): fix extra retention function to iram
...
* Also remove unused function on H2
2023-12-26 19:20:44 +08:00
Tomas Rezucha
cb4e90ca6e
refactor(usb/host): Move FIFO size configuration to HAL layer
...
The logic of calculating FIFO sizes is DWC OTG specific.
We move it to the HAL layer to provide better abstraction in the HDC layer.
2023-12-21 10:45:21 +01:00