James Sandison
|
56c9521abd
|
chore: squash previous commits from other branches
|
2025-06-04 11:21:27 +10:00 |
|
hathach
|
2c1414b4c1
|
usbh: add roothub debounncing flag to ignore attach/remove event on the roothub that is currently doing debouncing delay
|
2025-04-28 14:59:32 +07:00 |
|
hathach
|
a2da575793
|
rename and expose tuh_bus_info_get() to application
|
2025-04-23 16:03:40 +07:00 |
|
hathach
|
741cb3cf02
|
rename hcd_devtree_info_t to tuh_bus_info_t, hcd_devtree_get_info to hcd_bus_info_get
streamline bus info to usbh_devies, also replace dev0 (renamed to dev0_bus)
|
2025-04-23 12:35:32 +07:00 |
|
Ha Thach
|
18d7a993be
|
Merge pull request #3075 from maximevince/dwc2-proper-attach-debouncing
dwc2/host: attach debouncing fixes
|
2025-04-21 22:46:15 +07:00 |
|
Ha Thach
|
56ed51c8fb
|
Merge pull request #3088 from HiFiPhile/intv
Fix 1st nak retry one frame shorter.
|
2025-04-21 18:31:43 +07:00 |
|
HiFiPhile
|
b3a9b6e37f
|
enable SOF interrupt only if not already enabled
Signed-off-by: HiFiPhile <admin@hifiphile.com>
|
2025-04-19 11:43:28 +02:00 |
|
hathach
|
d51863d1a0
|
- correctly do_ping if received nyet as transfer complete e.g msc 31 byte command
- correctly carry out OUT transfer when PING is ack
|
2025-04-18 22:46:37 +07:00 |
|
HiFiPhile
|
4c6736c277
|
Merge branch 'master' into dwc2-proper-attach-debouncing
Signed-off-by: HiFiPhile <admin@hifiphile.com>
|
2025-04-18 14:54:20 +02:00 |
|
hathach
|
8111e53ff0
|
minor rename
|
2025-04-18 18:21:42 +07:00 |
|
hathach
|
2fd0301f0e
|
Merge branch 'master' into fork/HiFiPhile/ping_out
# Conflicts:
# src/portable/synopsys/dwc2/hcd_dwc2.c
|
2025-04-18 17:59:38 +07:00 |
|
HiFiPhile
|
b7a26cc33c
|
Fix 1st nak retry one frame shorter.
Signed-off-by: HiFiPhile <admin@hifiphile.com>
|
2025-04-18 12:46:20 +02:00 |
|
Ha Thach
|
e44f556a95
|
Merge pull request #3072 from maximevince/dwc2-retry-in-token-immediately
dwc2/host: immediately retry IN token for bInterval=1
|
2025-04-18 17:12:07 +07:00 |
|
hathach
|
1b888a3311
|
clean up, remove halted_sof_schedule flags since channel_xfer_in_retry() is only called when channel is halted.
|
2025-04-18 16:17:35 +07:00 |
|
Maxime Vincent
|
62d06e7b19
|
dwc2/host: fix all retry intervals
Signed-off-by: Maxime Vincent <maxime@veemax.be>
|
2025-04-15 09:07:48 +02:00 |
|
Maxime Vincent
|
384e191fdc
|
dwc2/host: immediately retry IN token for bInterval=1
Signed-off-by: Maxime Vincent <maxime@veemax.be>
|
2025-04-15 09:01:39 +02:00 |
|
Maxime Vincent
|
cea2c97248
|
Merge branch 'master' into dwc2-host-fix-disconnect
|
2025-04-15 09:00:16 +02:00 |
|
Ha Thach
|
bfe08176e5
|
Merge pull request #3070 from HiFiPhile/bitfield
host/dwc2: fix bitfields access width
|
2025-04-15 10:44:01 +07:00 |
|
hathach
|
d039d54a89
|
channge DWC2_CHANNEL_COUNT/DWC2_EP_COUNT to inline function
|
2025-04-14 23:45:20 +07:00 |
|
HiFiPhile
|
af0c47e06e
|
Fix typo
Signed-off-by: HiFiPhile <admin@hifiphile.com>
|
2025-04-12 15:21:42 +02:00 |
|
HiFiPhile
|
aecfd3433c
|
Fix handle_hprt_irq
Signed-off-by: HiFiPhile <admin@hifiphile.com>
|
2025-04-12 13:36:54 +02:00 |
|
HiFiPhile
|
925010fd84
|
host/dwc2: resume OUT transfer when PING ACKed
Signed-off-by: HiFiPhile <admin@hifiphile.com>
|
2025-04-11 17:18:36 +02:00 |
|
Maxime Vincent
|
2064ee470d
|
dwc2/host: attach debouncing fixes
|
2025-04-11 12:26:36 +02:00 |
|
Maxime Vincent
|
72357cdb20
|
dwc2/host: HFIR: Fix timing off-by-one
|
2025-04-11 12:20:24 +02:00 |
|
HiFiPhile
|
2aff61ccb3
|
Fix CI.
Signed-off-by: HiFiPhile <admin@hifiphile.com>
|
2025-04-09 19:40:03 +02:00 |
|
HiFiPhile
|
084c0802c3
|
dwc2: refactor bitfields.
Signed-off-by: HiFiPhile <admin@hifiphile.com>
|
2025-04-09 19:34:56 +02:00 |
|
Maxime Vincent
|
6607b76c76
|
dwc2/host: remove hcd_event_device_remove() call from handle_hptr_irq to prevent double removal
Signed-off-by: Maxime Vincent <maxime@veemax.be>
|
2025-04-08 14:34:21 +02:00 |
|
Maxime Vincent
|
7d8433abab
|
dwc2/host: enable disconnect interrupt + handle it
Signed-off-by: Maxime Vincent <maxime@veemax.be>
|
2025-04-07 11:36:06 +02:00 |
|
Maxime Vincent
|
255ccf26ea
|
dwc2/host: clear SOF flag in handle_sof_irq()
|
2025-04-04 14:21:20 +02:00 |
|
hathach
|
e511d00f34
|
added hcd_edpt_close() stub for other ports
|
2025-03-26 22:11:44 +07:00 |
|
hathach
|
65e44e0a51
|
fix(dwc2) host driver conflict with max3421e
|
2025-03-06 22:46:21 +07:00 |
|
hathach
|
be25aa31f6
|
hcd dwc2 add dcache support, usbh correctly use cache line size with TUH_EPBUF_DEF
|
2024-11-26 10:20:38 +07:00 |
|
hathach
|
db7670a3bc
|
separate handle out dma and slave
separate edpt_schedule_packets into epout/epin xfer
|
2024-11-18 11:35:46 +07:00 |
|
hathach
|
a68c53fb8e
|
clean up, add typdef for dwc2 type for device
|
2024-11-14 17:34:14 +07:00 |
|
hathach
|
aeae2966a2
|
hil add stm32f723disco, add test flags for device/host/dual
|
2024-11-13 13:08:30 +07:00 |
|
hathach
|
c8d104fb47
|
fix warnings
|
2024-11-08 21:55:23 +07:00 |
|
hathach
|
fe79a93594
|
implement split for slave, got mouse working
|
2024-11-06 12:09:32 +07:00 |
|
hathach
|
fbc193647a
|
split interrupt work with fs mouse
|
2024-11-05 16:26:56 +07:00 |
|
hathach
|
372db1e19a
|
implement split transaction, got control working
|
2024-11-05 10:37:39 +07:00 |
|
hathach
|
29262f3e24
|
improve port0_enable(), properly configure hcfg and hfir according to port speed. Enable low power UTMI+ phy mode for ls/fs device.
|
2024-11-04 17:22:25 +07:00 |
|
hathach
|
5d6d905cb0
|
got interrupt in working with slave
|
2024-11-02 20:20:27 +07:00 |
|
hathach
|
a0f75e5b67
|
fix slave in nak & ack order
|
2024-11-02 00:20:40 +07:00 |
|
hathach
|
c96e04159e
|
implement periodic endpoint using sof
|
2024-11-01 21:31:01 +07:00 |
|
hathach
|
4f288c030a
|
move buffer and buflen to hcd_endpoint_t to support periodic endpoint
|
2024-11-01 20:58:29 +07:00 |
|
hathach
|
b1182de872
|
clean up is_period
|
2024-11-01 19:04:32 +07:00 |
|
hathach
|
b7ff10f59c
|
rename and add both CFG_TUH_DWC2_SLAVE_ENABLE/CFG_TUH_DWC2_DMA_ENABLE better out dma handle
|
2024-11-01 17:54:10 +07:00 |
|
hathach
|
4c8ce9733a
|
dma host work well with bulk/control
|
2024-11-01 16:55:12 +07:00 |
|
hathach
|
f7f80e844c
|
do ping for slave out when nak/nyet
|
2024-10-31 23:22:49 +07:00 |
|
hathach
|
9afa64014c
|
testing hcd with dma, work well after enumeration.
|
2024-10-31 21:37:57 +07:00 |
|
hathach
|
92e7ac6c23
|
fix bulk out and txfifo_empty(), should not rely on hcchar_bm.ep_size for OUT. msc explorer seems to work well.
|
2024-10-31 10:50:09 +07:00 |
|