Commit Graph

92 Commits

Author SHA1 Message Date
sakumisu
be6537637c chore: fix missing license 2024-12-23 20:01:05 +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
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
1deab668ef fix(port/ehci/usb_glue_ma35d0): fix typo 2024-09-02 18:54:53 +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
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
35da8d6747 fix: fix -Wunused-parameter warning with -Wextra cflag 2024-08-21 20:08:47 +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
Till Harbaum
9dd52fddf0 Workaround for BL616 power control 2024-07-15 17:01:57 +08:00
Zhihong Chen
a942ec85a8 port: ehci: update init and deinit
- update init and deinit

Signed-off-by: Zhihong Chen <zhihong.chen@hpmicro.com>
2024-07-09 21:11:36 +08:00
sakumisu
53114c0f16 refactor(e(o)hci): rename usb_hc_e(o)hci to usb_e(o)hci_reg, usb_hc_e(o)hci_priv to usb_hc_e(o)hci 2024-07-04 21:35:59 +08:00
sakumisu
c24eea6077 fix(port): enter section before alloc pipe 2024-06-28 16:33:45 +08:00
sakumisu
277f3940f6 remove ununsed code 2024-06-14 00:25:02 +08:00
sakumisu
bf54bc2ff1 update(port/ehci): use static iso pool for iso urb to reduce alloc time 2024-06-11 21:59:37 +08:00
sakumisu
8b070570a7 fix(port/ehci): fix missing busid 2024-05-22 18:51:41 +08:00
Zhihong Chen
a7a7afc6bb port: HPMicro: update usb_glue_hpm
- update usb_glue_hpm

Signed-off-by: Zhihong Chen <zhihong.chen@hpmicro.com>
2024-05-18 10:17:57 +08:00
sakumisu
0985a7e5fa fix(port/usb_hc_ehci): clear iaad status 2024-05-16 10:13:52 +08:00
sakumisu
8ecbd32483 remove qh with iaad 2024-05-08 17:17:57 +08:00
sakumisu
6db4fbba4c add check for hpm 2024-05-04 14:21:13 +08:00
sakumisu
b97fc903c0 clear urb timeout after take sem, follow 76f58b93 2024-04-19 11:52:04 +08:00
sakumisu
76f58b93fe do not clear timeout in irq,urb init will sometime call irq before take sem 2024-04-18 21:11:36 +08:00
sakumisu
51b9640489 add missing license 2024-04-16 22:11:30 +08:00
sakumisu
c5f2ffa6f9 export ehci config macros 2024-04-07 13:17:01 +08:00
sakumisu
db10c62b59 read ehci hcor offset from hccr caplength 2024-04-06 20:19:53 +08:00
sakumisu
808cd454a3 init ohci for ehci 2024-04-04 16:43:05 +08:00
sakumisu
078e21066c mark errorcode with USB_ERR_SHUTDOWN when kill urb 2024-03-28 21:00:18 +08:00
sakumisu
22121bc54d fix warning in 64bit 2024-03-27 21:23:14 +08:00
sakumisu
68708c0f3a fix aic irq param num and add usbh_init api 2024-03-27 20:43:18 +08:00
sakumisu
74bb03b8b4 remove qtd alloc & free, use static pool instead 2024-03-26 20:41:17 +08:00
sakumisu
bc6ed589b0 update aic glue 2024-03-25 21:01:56 +08:00
sakumisu
f99e4ce113 use only one qh for intr, following with linux driver 2024-03-25 19:53:22 +08:00
sakumisu
3c16d7c61c update ehci glue 2024-03-24 14:24:10 +08:00
sakumisu
6cb442503d add usb_hc_low_level_deinit api 2024-03-21 21:04:10 +08:00
sakumisu
15b97f3348 ehci:fix missing bus param 2024-03-20 21:52:04 +08:00
sakumisu
9e0cc8347c align for some buffers 2024-02-24 16:38:57 +08:00
sakumisu
8c72947794 fix bl glue 2024-02-24 16:34:43 +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
sakumisu
e0551b3e7b config busid and regbase in usbh_initialize and usbd_initialize 2024-02-18 21:15:04 +08:00
sakumisu
d1c7fa8c19 support multi port api for device 2024-02-06 19:52:22 +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
e58a78c070 add aic & intel ehci glue, add rtems osal 2023-12-30 15:01:20 +08:00
sakumisu
f68a86ea89 add usbh_deinitialize api 2023-12-24 23:37:47 +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
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