Zhihong Chen
b4e952b371
port: HPMicro: call suspend/connect/disconnect event
...
- call suspend/connect/disconnect event
Signed-off-by: Zhihong Chen <zhihong.chen@hpmicro.com>
2024-02-23 16:55:58 +08:00
Zhihong Chen
743669861e
port: HPMicro: fix transfer_len not reset
...
- fix transfer_len not reset
Signed-off-by: Zhihong Chen <zhihong.chen@hpmicro.com>
2024-02-20 22:10:56 +08:00
Zhihong Chen
0e3e9477cc
port: HPMicro: decoupling the relationship between busid and usbid
...
- decoupling the relationship between busid and usbid
Signed-off-by: Zhihong Chen <zhihong.chen@hpmicro.com>
2024-02-20 14:28:10 +08:00
Zhihong Chen
556fd6af63
HPMicro: port: fix _dcd_data align to 2048
...
- fix _dcd_data align to 2048
Signed-off-by: Zhihong Chen <zhihong.chen@hpmicro.com>
2024-02-19 20:19:48 +08:00
sakumisu
e0551b3e7b
config busid and regbase in usbh_initialize and usbd_initialize
2024-02-18 21:15:04 +08:00
sakumisu
4313a2666e
check if device is on extern hub
2024-02-09 12:35:44 +08:00
sakumisu
e34ecc6cbb
add volatile for HcEpType & ChannelEna
2024-02-07 21:37:17 +08:00
sakumisu
d1c7fa8c19
support multi port api for device
2024-02-06 19:52:22 +08:00
sakumisu
6b0a0135ac
remove ununsed macro
2024-01-23 07:39:41 +08:00
sakumisu
04a300d803
remove ununsed header
2024-01-19 23:08:04 +08:00
Zhihong Chen
c4a65146e8
port: hpmicro: fix usb_dc_deinit()
...
- fix usb_dc_deinit()
Signed-off-by: Zhihong Chen <zhihong.chen@hpmicro.com>
2024-01-14 17:00:40 +08:00
sakumisu
125aad65d6
dwc2 use fifo not dma as default because users may have problems in cache
2024-01-13 00:22:03 +08:00
sakumisu
eff338f8a7
add ehci hccr offset macro
2024-01-09 20:59:04 +08:00
sakumisu
1158fc3d8c
support multi USB IP for host
2024-01-08 22:47:28 +08:00
sakumisu
d517f2594e
fix macro name
2024-01-06 17:47:22 +08:00
sakumisu
5fe66b4f0d
dwc2: ctrl and bulk no need nak irq, when intr calls nak, retry by user
2024-01-06 01:09:55 +08:00
sakumisu
cbfac7ec0c
dwc2 low level deinit after usb register reset
2024-01-06 01:07:39 +08:00
sakumisu
e58a78c070
add aic & intel ehci glue, add rtems osal
2023-12-30 15:01:20 +08:00
sakumisu
1492b8cca9
remove ch32 host, nrf5x, rp2040 port
2023-12-30 14:44:52 +08:00
sakumisu
67a3bbe02e
fix hctsiz macro name
2023-12-30 14:39:34 +08:00
sakumisu
65b2de960b
update gccfg for stm32h7/f7
2023-12-30 14:39:26 +08:00
sakumisu
019c9cff6e
fix dwc2 out chan actual len
2023-12-28 20:57:50 +08:00
sakumisu
d30d08ca3a
musb do not use alloc pipe
2023-12-26 22:52:32 +08:00
sakumisu
8cd31e6be0
add check for dwc2 ramsize and ep num
2023-12-26 20:11:23 +08:00
sakumisu
f68a86ea89
add usbh_deinitialize api
2023-12-24 23:37:47 +08:00
sakumisu
8a831cdaa5
user must define some configs in usb_config.h when use fsdev/musb/dwc2
2023-12-21 21:58:08 +08:00
sakumisu
bb709437aa
fix musb submit_urb by 5bbe2a97
2023-12-18 20:52:07 +08:00
sakumisu
29d45ef5c7
replace struct usbd_endpoint_cfg with struct usb_endpoint_descriptor in usbh_ep_open api
2023-12-10 22:34:01 +08:00
FanHuaCloud
a1ed27523c
AT32 gccfg adds the vbusig flag by default
2023-12-09 14:45:14 +08:00
sakumisu
ce2a438c99
fix uninitialized warning
2023-12-05 21:39:36 +08:00
sakumisu
b1e95f0ca3
update hc template
2023-12-05 21:34:51 +08:00
sakumisu
14f1f597f1
add usb errno, do not use system errno
2023-12-05 21:34:32 +08:00
sakumisu
82cd79989c
check token only with qtd, not use token in qh
2023-12-05 20:44:30 +08:00
sakumisu
c90f273e24
port and add comment for gccfg with gd/at/st
2023-11-27 20:30:15 +08:00
sakumisu
3440e0cc1d
move out dwc2 ggcfg register and config by user
2023-11-26 22:59:41 +08:00
ovo
849ea98853
bugfix: send zlp won't trigger ep tx interrupt
2023-11-26 18:48:11 +08:00
sakumisu
8e0c5b4e7e
find roothub port to check if device is connecting
2023-11-24 21:09:45 +08:00
Zhihong Chen
86c7e435a3
hpmicro: update port files
...
- update port files
Signed-off-by: Zhihong Chen <zhihong.chen@hpmicro.com>
2023-11-23 15:21:11 +08:00
sakumisu
5b32482c3e
free pipe after sem giving
2023-11-22 21:42:56 +08:00
sakumisu
af1484882d
support ehci suspend & resume
2023-11-22 19:28:30 +08:00
sakumisu
e3c9fdbb86
reduce qtd num
2023-11-22 19:28:30 +08:00
sakumisu
5bbe2a97f2
refactor urb, add ep & hport in urb to make hardware pipe more reusable
2023-11-16 19:56:52 +08:00
zhugengyu
aeffaea016
add pusb2 port, fix issue for rt-thread, add msc storage demo for rt-thread
2023-11-15 16:48:07 +08:00
sakumisu
d10cbd5daf
check if token is active without errors, if token has errors, go to wakeup sem
2023-11-13 19:49:49 +08:00
Yang Xijing
ae521bf95c
add nuvoton port(not release)
2023-11-05 14:38:26 +08:00
sakumisu
0738c09a4d
check qtd active status to fix nbytes = 0 in nak or ping status
2023-11-03 22:18:58 +08:00
Chen Leeren
3d96f64f94
Fix possible errors in endpoint 0 datapid
2023-10-07 23:46:28 +08:00
Wayne Lin
dd1f1d3ba8
Update hcd-ehci, dcd-dwc2 and examples.
...
1. Add some example Msh commands.
2. Fix device enumeration on EXT hub.
3. Re-file some templates.
4. Extend end-point number of dwc2 device driver.
5. Re-file rndis_host implementation includes
a. rt_mutex_take in ISR
b. 2rd pmsg is unaligned issue.
c. destroy u0 ethernet resource after removing dongle.
2023-09-07 15:07:04 +08:00
sakumisu
bc1e7c4bd5
ignore dwc2 EPENA check
2023-09-04 15:43:32 +08:00
Zhihong Chen
b9915e0e1b
port: hpmicro: separate host and device USB instance config
...
- separate host and device USB instance config
Signed-off-by: Zhihong Chen <zhihong.chen@hpmicro.com>
2023-08-26 12:45:31 +08:00