summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2025-04-29attach debouncing fixed issue with port1 highspeed on imxrthathach
2025-04-28remove the old attach duplicated logic, debouncing skip should take care of it.hathach
2025-04-28usbh: add roothub debounncing flag to ignore attach/remove event on the ↵hathach
roothub that is currently doing debouncing delay
2025-04-24hub check status before get 1st device descriptorhathach
2025-04-24fix buildhathach
2025-04-24refactor hub driver and move port reset on connection change to usbh.hathach
hub: add hub_port_get_status_local(), ignore resp in hub_port_get_status(pot != 0) usbh properly deboucning with hub/rootport accordingly to usb specs, also add 10ms of reset recovery
2025-04-24add tuh_address_set() APIhathach
minor rename and move code around
2025-04-23move usbh ctrl_xfer into usbh_datahathach
2025-04-23rename and expose tuh_bus_info_get() to applicationhathach
2025-04-23rename hcd_devtree_info_t to tuh_bus_info_t, hcd_devtree_get_info to ↵hathach
hcd_bus_info_get streamline bus info to usbh_devies, also replace dev0 (renamed to dev0_bus)
2025-04-22Compile fix.HiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2025-04-22reduce ENUM_DEBOUNCING_DELAY_MS to 200mshathach
replace dev0.enumerating by enumerating_daddr for better clean up on unplugging while enumerating move controller_id & enumerating_daddr into _usbh_data struct
2025-04-22move removing dev0 to process_removing_device()hathach
2025-04-22Also cleanup unaddressed device.HiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2025-04-22Move decouncing delay before USB reset.HiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2025-04-22host: fix enumerate racingHiFiPhile
- if a previous enumeration failed _ctrl_xfer status could stuck, it needs to be cleared before next attempt. - after _dev0.enumerating is reset in hcd_event_handler(), if an attach event arrived before _ctrl_xfer clean up in remove event, a racing condition will happen. Signed-off-by: HiFiPhile <[email protected]>
2025-04-21Merge pull request #3075 from maximevince/dwc2-proper-attach-debouncingHa Thach
dwc2/host: attach debouncing fixes
2025-04-21improve usbh stability with failed setup send, prevent control stage locked outhathach
2025-04-21Merge pull request #3088 from HiFiPhile/intvHa Thach
Fix 1st nak retry one frame shorter.
2025-04-19enable SOF interrupt only if not already enabledHiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2025-04-18- correctly do_ping if received nyet as transfer complete e.g msc 31 byte ↵hathach
command - correctly carry out OUT transfer when PING is ack
2025-04-18Fix usbh racing later.HiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2025-04-18Merge branch 'master' into dwc2-proper-attach-debouncingHiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2025-04-18minor renamehathach
2025-04-18Merge branch 'master' into fork/HiFiPhile/ping_outhathach
# Conflicts: # src/portable/synopsys/dwc2/hcd_dwc2.c
2025-04-18Fix 1st nak retry one frame shorter.HiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2025-04-18Merge pull request #3072 from maximevince/dwc2-retry-in-token-immediatelyHa Thach
dwc2/host: immediately retry IN token for bInterval=1
2025-04-18Merge pull request #3084 from joelpmichael/hcd-template-commentsHiFiPhile
note potential issues using ep_desc in hcd_edpt_open()
2025-04-18Merge pull request #3067 from maximevince/dwc2-host-fix-disconnectHiFiPhile
dwc2/host: enable disconnect interrupt + handle it
2025-04-18clean up, remove halted_sof_schedule flags since channel_xfer_in_retry() is ↵hathach
only called when channel is halted.
2025-04-18Merge remote-tracking branch 'upstream/master' into hcd-template-commentsHiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2025-04-18Update hcd_edpt_open() note.HiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2025-04-18enum For string descriptor (langid, manufacturer product, serila): always ↵hathach
get the first 2 bytes to determine the length first. otherwise, some device may have buffer overflow.
2025-04-17fix iar make build with wb and u5hathach
2025-04-16note potential issues using ep_desc in hcd_edpt_open()Joel Michael
2025-04-15dwc2/host: fix all retry intervalsMaxime Vincent
Signed-off-by: Maxime Vincent <[email protected]>
2025-04-15dwc2/host: immediately retry IN token for bInterval=1Maxime Vincent
Signed-off-by: Maxime Vincent <[email protected]>
2025-04-15Merge branch 'master' into dwc2-host-fix-disconnectMaxime Vincent
2025-04-15Merge pull request #3070 from HiFiPhile/bitfieldHa Thach
host/dwc2: fix bitfields access width
2025-04-14channge DWC2_CHANNEL_COUNT/DWC2_EP_COUNT to inline functionhathach
2025-04-12Merge pull request #3079 from byteit101/version-string-fixHiFiPhile
Fix version string to actually be the version
2025-04-12Fix typoHiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2025-04-12Fix handle_hprt_irqHiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2025-04-11Fix version string to actually be the versionPatrick Plenefisch
2025-04-11host/dwc2: resume OUT transfer when PING ACKedHiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2025-04-11dwc2/host: attach debouncing fixesMaxime Vincent
2025-04-11dwc2/host: HFIR: Fix timing off-by-oneMaxime Vincent
2025-04-09Fix CI.HiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2025-04-09dwc2: refactor bitfields.HiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2025-04-08dwc2/host: remove hcd_event_device_remove() call from handle_hptr_irq to ↵Maxime Vincent
prevent double removal Signed-off-by: Maxime Vincent <[email protected]>