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
hongshuqing
80378b809e
feat(pmu): set fix voltage to different mode for esp32c6
2024-02-22 15:01:14 +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
Tomas Rezucha
325205faee
refactor(usb/host): Make private hal types USB_DWC specific
2023-12-21 10:45:04 +01:00
Tomas Rezucha
d9223c6d91
feat(usb/host): Add High Speed enumeration types
2023-12-21 10:35:31 +01:00
Xu Si Yu
866bc77246
feat(ieee802154): add tx/rx report for IEEE802.15.4 debug
2023-12-21 15:17:54 +08:00
Jiang Jiang Jian
487adc09f4
Merge branch 'change/change_regdma_power_issue_macro_v5.1' into 'release/v5.1'
...
change(pm): change macro SOC_PM_RETENTION_HAS_REGDMA_POWER_BUG (backport v5.1)
See merge request espressif/esp-idf!27991
2023-12-21 11:27:10 +08:00
Lou Tianhao
1419db4b91
change(pm): change macro SOC_PM_RETENTION_HAS_REGDMA_POWER_BUG
2023-12-19 11:44:23 +08:00
Cao Sen Miao
dfff867379
fix(tempertuer_sensor): Fix regs on temperature sensor is not volatile due to GCC bug
2023-12-15 16:41:16 +08:00
morris
1b78d57496
Merge branch 'bugfix/bod_reset_c6_h2_v5.1' into 'release/v5.1'
...
fix(bod): Reset brownout in configuration to avoid RF cannot be enabled again(backport v5.1)
See merge request espressif/esp-idf!27723
2023-12-14 11:05:55 +08:00
wuzhenghui
4a7d9dd387
fix(esp_hw_support): re-initialize icg map in modem_clock_module_enable
2023-12-08 14:22:36 +08:00
morris
5e29bd5370
Merge branch 'bugfix/fix_adc_continuous_do_not_rst_apb_clk_v5.1' into 'release/v5.1'
...
fix(adc): fix adc continuous get less results beacuse do not reset apb clk (v5.1)
See merge request espressif/esp-idf!27604
2023-12-07 21:27:05 +08:00
Lou Tianhao
c1782faf0f
fix(pm/ext1): fix c6 h2 lp_aon_ll_ext1_set_wakeup_pins func
2023-12-07 03:52:22 +00:00
Cao Sen Miao
9dd90e2d9b
fix(bod): Reset brownout in configuration to avoid RF cannot be enabled again
2023-12-07 10:33:58 +08:00
gaoxu
57a5c4684c
fix(adc): fix adc continuous get less results beacuse do not reset apb clk
2023-12-06 10:19:45 +00:00
Darian Leung
fdab2d0c32
refactor(hal/usb_dwc): Add DWC OTG configuration values
...
This commit adds a subset of the DWC OTG configuration values to the
'usb_dwc_ll.h' file. Only relevant configuration values have been added.
Some DWC OTG releated constants have also been moved from 'usb_dwc_hal.h'
to 'usb_dwc_ll.h' and renamed.
2023-11-28 22:00:54 +01:00
Jiang Jiang Jian
b09e1d860d
Merge branch 'bugfix/fix_psram_access_faild_after_pd_cpu_wakeup_v5.1' into 'release/v5.1'
...
fix(esp_pm): fix psram access failed after pd_cpu wakeup if uart driver driven console is used (backport v5.1)
See merge request espressif/esp-idf!27051
2023-11-22 17:44:32 +08:00
Shu Chen
ecbbd3c3d9
Merge branch 'backport/add_ot_radio_stats_enable_config_5_1' into 'release/v5.1'
...
feat(openthread): backport some openthread features(BackportV5.1)
See merge request espressif/esp-idf!26885
2023-11-22 12:23:53 +08:00
Aditya Patwardhan
514cd783a3
Merge branch 'bugfix/esp32h2_ecdsa_hardware_k_v5.1' into 'release/v5.1'
...
fix(esp32h2): program use_hardware_k efuse bit for ECDSA key purpose (v5.1)
See merge request espressif/esp-idf!27271
2023-11-21 13:57:38 +08:00
morris
64e7343e40
Merge branch 'bugfix/fix_adc_read_zero_h2_v5.1' into 'release/v5.1'
...
ADC: fix adc raw data get 0 because of signal delay on ESP32H2(v5.1)
See merge request espressif/esp-idf!26976
2023-11-21 11:08:57 +08:00
Jiang Jiang Jian
e718b603e4
Merge branch 'bugfix/clear_ulp_wake_intr_in_wake_source_enable_v5.1' into 'release/v5.1'
...
fix(esp_hw_support): clear all type ULP wakeup intr status at ulp wakeup source enable (backport v5.1)
See merge request espressif/esp-idf!27188
2023-11-21 10:52:54 +08:00
Jiang Jiang Jian
0e1ec38785
Merge branch 'bugfix/fix_lightsleep_current_leakage_on_usj_pad_v5.1' into 'release/v5.1'
...
fix(esp_hw_support): fix lightsleep current leakage on usb pad (backport v5.1)
See merge request espressif/esp-idf!27205
2023-11-21 10:51:11 +08:00
Mahavir Jain
2cd1635b86
fix(ecdsa): remove unused k_mode from the ECDSA HAL/LL API
...
For ESP32-H2 case, the hardware k mode is always enforced through
efuse settings (done in startup code).
For ESP32-P4 case, the software k mode is not supported in the peripheral
itself and code was redundant.
2023-11-20 16:05:15 +05:30
morris
1b3713f7cd
Merge branch 'feature/support_adc_calibration_on_h2_v5.1' into 'release/v5.1'
...
adc_cali: supported adc calibration v1 on ESP32H2 (v5.1)
See merge request espressif/esp-idf!26963
2023-11-17 16:41:00 +08:00
morris
ddb6d22468
Merge branch 'feature/gpio_dump_io_info_v5.1' into 'release/v5.1'
...
feat(gpio): add a dump API to dump IO configurations (v5.1)
See merge request espressif/esp-idf!26870
2023-11-17 16:30:22 +08:00
morris
ceb0aec0cc
Merge branch 'bugfix/rmt_stop_issue_v5.1' into 'release/v5.1'
...
fix(rmt): a disabled channel may pick up a pending transaction (v5.1)
See merge request espressif/esp-idf!26779
2023-11-17 16:27:21 +08:00
gaoxu
1179d9859f
fix(adc): fix h2 adc oneshot read zero and add delay after getting done signal v5.1
2023-11-17 02:16:21 +00:00
wuzhenghui
6ae596c764
fix(esp_hw_support): fix lightsleep current leakage on usb-phy controlled pad
2023-11-16 20:03:30 +08:00
wuzhenghui
61bb3fb67f
fix(esp_hw_support): clear all type ULP wakeup intr status at ulp wakeup source enable
2023-11-16 11:49:40 +08:00
wuzhenghui
46dae91a39
fix(esp_pm): fix psram access faild after pd_cpu wakeup
2023-11-16 03:20:27 +00:00