Commit Graph

229 Commits

Author SHA1 Message Date
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
sakimisu
419622f4e4 fix vbusen in gd32 2023-03-15 21:47:28 +08:00
GrAgiu
19d509052a fix STM32L4 dwc2 Deactivate VBUS Sensing 2023-03-15 21:42:34 +08:00
sakimisu
bb8cfe23de fix ep0 data receive 2023-03-15 21:38:41 +08:00
sakimisu
4cd9031d31 replace speed reconfig with mult 2023-03-12 15:05:35 +08:00
sakimisu
cda6e48fc1 check if urb is null in sunxi 2023-03-12 14:56:29 +08:00
sakumisu
043c594cd8 clean ehci iso code 2023-02-23 17:55:11 +08:00
Chen Leeren
2baec4fd32 Fix a bug of repeated connection of inserted device for wch host fs 2023-02-14 20:07:32 +08:00
sakumisu
efde616203 format code 2023-02-10 17:34:29 +08:00
sakimisu
f99e03c850 update hc template 2023-02-06 21:08:58 +08:00
sakumisu
1330b98ad8 update ehci driver 2023-02-06 21:08:53 +08:00
Chen Leeren
b00fd55aff Fix a bug where usb2 doesn't work for ch58x 2023-02-04 22:38:57 +08:00
sakimisu
84dfcef639 check if dwc2 supports dma, if not, stop working 2023-02-02 23:23:55 +08:00
sakimisu
dbaad329bf do not reset EPDIS and TXFUM 2023-01-17 22:13:09 +08:00