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
sakimisu
1387790744
add config for hpmicro usb instance and irq
2023-08-26 01:09:33 +08:00
sakimisu
c5fc9f338e
fix macro spelling
2023-08-25 21:37:14 +08:00
sakimisu
4d61e5e053
copy bouffalo ehci glue from official sdk
2023-08-25 21:36:58 +08:00
sakimisu
628e4ee928
improve ehci driver, enable iaad feature
2023-08-25 21:36:14 +08:00
sakimisu
749369b6fc
remove usb_phy_init, because hpm sdk v1.2 implement it
2023-08-25 21:35:42 +08:00
Zhihong Chen
4777a65f54
ehci: update hardcode for hpmicro
...
- should define CONFIG_USB_EHCI_HPMICRO and CONFIG_HPM_USB_BASE in usb_config.h
Signed-off-by: Zhihong Chen <zhihong.chen@hpmicro.com >
2023-08-01 20:10:02 +08:00
sakumisu
fed6f26ebd
fix log
2023-07-14 17:58:39 +08:00
sakumisu
c8ecf31c99
remove ununsed code
2023-07-13 20:13:51 +08:00
sakimisu
7574063e94
enum device with disposable thread, do not block hub thread
2023-07-05 22:53:13 +08:00
sakimisu
0d916af297
check if urb is null
2023-07-02 22:29:07 +08:00
sakimisu
d0d6f99c90
use DxEPCTL to check if ep is busy
2023-06-30 22:19:23 +08:00
sakimisu
faf90663a9
format code
2023-06-28 21:45:06 +08:00
sakimisu
8253f074ce
implment musb usbh_kill_urb
2023-06-28 21:11:38 +08:00
sakimisu
8a93ca4bce
remove dap
2023-06-25 22:38:18 +08:00
sakimisu
8968b7b3c9
update dwc2 iso transfer
2023-06-22 13:40:07 +08:00
sakimisu
822cd9d679
add dwc2 param log
2023-06-21 20:51:10 +08:00
sakumisu
66e95c9d81
remove ununsed code
2023-06-02 19:06:48 +08:00
sakimisu
b59c1c6613
check if dwc2 supports dma
2023-05-26 20:37:23 +08:00
sakimisu
dcbad9eebe
comment musb reg struct
2023-05-19 15:32:07 +08:00
sakumisu
0c21844166
prevent variables being optimised
2023-05-08 20:22:04 +08:00
sakumisu
f446a7e95b
move g_dwc2_udc into no cache ram
2023-05-08 20:05:32 +08:00
sakumisu
b439be2475
fix typo
2023-05-04 17:15:31 +08:00
sakimisu
0bfa749333
fix typo
2023-04-23 22:50:23 +08:00
sakimisu
5657b2a028
update hub process for usb3.0, update xhci driver
2023-04-21 23:43:59 +08:00
zhugengyu
ef126eafa6
update xhci driver
2023-04-21 22:56:46 +08:00
sakumisu
53fe0f2cd5
update ehci iso struct and api
2023-04-20 15:12:38 +08:00
Chen Leeren
2bac932648
Fix enum of low-speed and high-speed devices
2023-04-11 17:57:15 +08:00
Chen Leeren
a51edd9231
Update wch driver
2023-04-08 19:32:27 +08:00
sakumisu
c47b8dd3e1
enable dwc2 nak irq for bulk if someday uses
2023-03-25 00:36:44 +08:00