394 Commits

Author SHA1 Message Date
sakumisu
49d9775a1b feat(port/rp2040): update rp2040 host driver, use irq_add_shared_handler to register irq handler
Signed-off-by: sakumisu <1203593632@qq.com>
2025-01-25 19:11:27 +08:00
sakumisu
5573472397 fix(port/musb/usb_hc_musb): fix musb_write_packet size with urb->transfer_buffer_length
Signed-off-by: sakumisu <1203593632@qq.com>
2025-01-25 19:08:15 +08:00
sakumisu
efbfc9d70f update(port/template): update template
Signed-off-by: sakumisu <1203593632@qq.com>
2025-01-23 23:04:34 +08:00
sakumisu
f447de38dc update(port/rp2040): init ep_control & buffer_control in usb_dc_init
Signed-off-by: sakumisu <1203593632@qq.com>
2025-01-23 22:28:31 +08:00
sakumisu
c399be3ea2 feat(common): add usb_phyaddr2ramaddr & usb_ramaddr2phyaddr macro
Signed-off-by: sakumisu <1203593632@qq.com>
2025-01-22 17:54:54 +08:00
sakumisu
ea27f5b238 feat(port/rp2040): update rp2040 driver to latest
Signed-off-by: sakumisu <1203593632@qq.com>
2025-01-19 20:46:12 +08:00
sakumisu
64394bf246 update: add USBH_IRQHandler & USBD_IRQHandler function declaration
Signed-off-by: sakumisu <1203593632@qq.com>
2025-01-15 17:10:19 +08:00
sakumisu
1a1b475523 update(port): add ehci/ohci/dwc2 dcache support
Signed-off-by: sakumisu <1203593632@qq.com>
2025-01-15 17:09:22 +08:00
sakumisu
be6537637c chore: fix missing license 2024-12-23 20:01:05 +08:00
sakumisu
75e6dc6300 update(port/dwc2/usb_glue_gd): add check for ep 2024-12-19 21:20:33 +08:00
sakumisu
effee4d4c2 update(port/dwc2/usb_glue_at): import system_core_clock 2024-12-16 21:30:26 +08:00
sakumisu
05b46c8bad update(port/dwc2/usb_glue_st): support stm32h7rs 2024-12-16 20:55:02 +08:00
sakumisu
ddc19a9d65 update(port/dwc2/usb_dc_dwc2): support up to 16 endpoints 2024-12-16 20:53:52 +08:00
sakumisu
f86443a70b update(port/ohci): update ohci common code 2024-12-09 20:17:50 +08:00
sakumisu
8d2afc1540 update(port/ehci/usb_glue_aic): add check for CONFIG_USB_OHCI_HCOR_OFFSET 2024-12-04 22:47:08 +08:00
sakumisu
9ff35e9020 update(port/dwc2/usb_hc_dwc2): do not support hs hub with ls/fs device 2024-11-29 22:42:54 +08:00
sakumisu
5850e27743 update(port/fsdev): add check for iso, we do not support 2024-11-27 22:14:05 +08:00
sakumisu
d874bed6aa chore: add missing license 2024-11-26 21:27:22 +08:00
sakumisu
1a39169f6e update(port/dwc2/usb_dc_dwc2): clear crst bit because some mcu cannot be self-clearing, refs:#276 2024-11-25 21:03:51 +08:00
sakumisu
1c1217f8fa fix(port/dwc2/usb_dc_dwc2): do not clear other intr bits 2024-11-21 20:57:24 +08:00
Zhihong Chen
70ef616676 HPMicro: update hpmicro port files
Signed-off-by: Zhihong Chen <zhihong.chen@hpmicro.com>
2024-11-18 17:31:02 +08:00
sakumisu
6e6fdda62a update(port/ehci/usb_glue_aic): remove lsusb shell, add check for ehci configflag 2024-10-31 21:45:19 +08:00
sakumisu
05315b7ea5 fix(port/dwc2/usb_hc_dwc2): fix check typo 2024-10-17 09:21:31 +08:00
sakumisu
a20e312b55 update(port/kinetis): update mcx glue for mcxa153/mcxc444 2024-10-11 20:02:39 +08:00
sakumisu
e425b992be feat(port/kinetis): add kinetis usbip 2024-10-10 21:30:42 +08:00
sakumisu
2f14ee7a7b update(port/dwc2/usb_dc_dwc2): enlarge CONFIG_USB_DWC2_TX1_FIFO_SIZE for video demo and export CONFIG_USB_DWC2_DMA_ENABLE 2024-09-27 19:03:33 +08:00
sakumisu
76bbd09fed fix(port/dwc2/usb_dc_dwc2): set multi packet for iso in tx empty process, every transfer will reset this bits, so we need restore it. remove ununsed iso imcomplete isr 2024-09-26 21:22:36 +08:00
sakumisu
e6fde5efab fix(port/dwc2): fix dwc2 rx fifo size, remove divided by 4 2024-09-08 22:11:38 +08:00
sakumisu
0487af6900 fix(port/dwc2): reset dma burst then modify, clear HCINT intstatus first 2024-09-08 22:11:38 +08:00
wangyz1997
be2880a7e8 fix(port/dwc2): fix typo 2024-09-08 22:11:38 +08:00
sakumisu
1deab668ef fix(port/ehci/usb_glue_ma35d0): fix typo 2024-09-02 18:54:53 +08:00
sakumisu
d03dfe43ca update(port/dwc2/usb_hc_dwc2): power enable at last for common with other host ip 2024-09-01 11:59:11 +08:00
tyustli
0d561ea313 Update usb_dc_dwc2.c
According to DS, the status register is W1C, |= will read the register first, write 1 to the corresponding bit, then write the register, if there is more than one status, it will be cleared by mistake. I'm not sure if other IP dcd's have the same problem?
2024-08-29 09:43:11 +08:00
sakumisu
f517adcf6d fix(port/bl): overflow check 2024-08-25 20:19:33 +08:00
sakumisu
2a563dc41f feat(port/chipidea): add chipidea port, add nxp mxc glue for chipidea and ehci 2024-08-25 20:19:25 +08:00
sakumisu
563fbf58e1 update(port/hpm): check resume in port change 2024-08-23 22:36:14 +08:00
Zhihong Chen
2726e2e7b6 port: hpmicro: add USBH_USE_CUSTOM_ISR add USBD_USE_CUSTOM_ISR to control isr
- add USBH_USE_CUSTOM_ISR add USBD_USE_CUSTOM_ISR to control isr

Signed-off-by: Zhihong Chen <zhihong.chen@hpmicro.com>
2024-08-23 13:57:45 +08:00
sakumisu
e8b22163bb update(port/dwc2/usb_dc_dwc2): add busid for functions to support multi ip 2024-08-22 20:36:28 +08:00
sakumisu
35da8d6747 fix: fix -Wunused-parameter warning with -Wextra cflag 2024-08-21 20:08:47 +08:00
Zhihong Chen
07c6c296ed HPMicro: update usb_dc_hpm.c
Signed-off-by: Zhihong Chen <zhihong.chen@hpmicro.com>
2024-08-16 21:32:09 +08:00
Zhihong Chen
500367dd82 port: ehci: should not be clear CSC/PEC/OCC flag when usb_hc_init()
Signed-off-by: Zhihong Chen <zhihong.chen@hpmicro.com>
2024-08-16 21:32:09 +08:00
sakumisu
143a5ce3fd refactor: move CHERRYUSB_VERSION and CHERRYUSB_VERSION_STR into usb_version.h 2024-08-16 14:16:45 +08:00
udoudou
668e414917 Fix IDF compilation error 2024-08-16 00:18:30 +08:00
sakumisu
4a252c3f73 update: idf config update 2024-08-14 21:56:40 +08:00
Yang Xijing
4b2000b405 Correct spelling errors. 2024-08-14 17:29:18 +08:00
sakumisu
68badf6f4c fix(port/dwc2): check idle when flush fifo, add delay for dwc2_set_mode 2024-08-13 18:10:36 +08:00
zhugengyu
18d9c21553
Add PUSB2 and XHCI driver and RTOS glue (#236) 2024-08-09 22:43:22 +08:00
Kevincoooool
e1cbccc58a Modifying the USB Int Source to support esp32p4 2024-08-07 12:08:10 +08:00
sakumisu
e95387c558 update(port/hpm/usb_dc_hpm): remove phcd clear 2024-07-30 19:53:21 +08:00
sakumisu
35a76f58bb update(port/hpm/usb_dc_hpm): enable resume handler 2024-07-30 18:12:46 +08:00