Skip to content

usb: ohci dm support & add sunxi ehci + ohci support

Hans de Goede u-boot 8 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest15 patches 0 repliesNew
  2. v49 patches 0 repliesSuperseded
  3. v3 posting 4/41 patch 0 repliesSuperseded
Earlier versions · 5
VersionPostedPatchesRepliesStatus
v3 posting 3/40 of 1 patch0 repliesSuperseded
v3 posting 2/41 patch0 repliesSuperseded
v3 posting 1/40 of 1 patch0 repliesSuperseded
v29 patches0 repliesSuperseded
v10 of 8 patches0 repliesSuperseded

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/15usb: Fix handover of full-speed devices from ehci to companiondrivers/usb/host/ehci-hcd.c+13 -32 replies
2/15usb: usb_control_msg() propagate controller error codecommon/usb.c+4 -22 replies
3/15usb: legacy_hub_port_reset() check and propagate usb_set_port_feature() errorscommon/usb_hub.c+4 -22 replies
4/15usb: Stop reset procedure when a dev is handed over to a companion hcdcommon/usb_hub.c drivers/usb/host/ehci-hcd.c+4 -22 replies
5/15dm: usb: Prefix ehci interrupt-queue functions with _ehci_drivers/usb/host/ehci-hcd.c+25 -61 reply
5/15dm: usb: Prefix ehci interrupt-queue functions with _ehci_+0 -00 replies
6/15dm: usb: Add support for interrupt queues to the dm usb codedrivers/usb/host/ehci-hcd.c drivers/usb/host/usb-uclass.c include/usb.h+109 -11 reply
7/15dm: usb: Move printing of usb scan status to usb_scan_bus()drivers/usb/host/usb-uclass.c+9 -131 reply
8/15dm: usb: Add support for companion controllersdrivers/usb/host/usb-uclass.c include/usb.h+31 -52 replies
9/15dm: usb: Do not scan companion buses if no devices where handed overdrivers/usb/host/usb-uclass.c+34 -82 replies
10/15usb: ohci: Do not resubmit and leak urbs for interrupt packetsdrivers/usb/host/ohci-hcd.c+2 -391 reply
11/15usb: ohci: Remove unnecessary delays from hc_start and power power-on pathsdrivers/usb/host/ohci-hcd.c+0 -42 replies
12/15usb: ohci: Skip unnecessary mdelay(1) calls in various placesdrivers/usb/host/ohci-hcd.c+20 -92 replies
13/15usb: ohci: Add dm supportdrivers/usb/host/ohci-hcd.c drivers/usb/host/ohci.h+91 -01 reply
14/15sunxi: ehci: Convert to the driver-modelboard/sunxi/Kconfig drivers/usb/host/ehci-sunxi.c+67 -292 replies
15/15sunxi: ohci: Add ohci usb host controller supportarch/arm/include/asm/arch-sunxi/clock_sun4i.h arch/arm/include/asm/arch-sunxi/clock_sun6i.h drivers/usb/host/Makefile +2 more+113 -11 reply
15/15sunxi: ohci: Add ohci usb host controller support+0 -01 reply
15/15sunxi: ohci: Add ohci usb host controller support+0 -01 reply

Reviews trailers per patch

All 18 patches have a Reviewed-by or Acked-by.

PatchSimon GlassMarek VasutIan Campbell
1/15A-b
2/15A-b
3/15A-b
4/15A-b
5/15A-b
5/15A-b
6/15A-b
7/15A-b
8/15A-b
9/15A-b
10/15A-b
11/15A-b
12/15A-b
13/15R-b
14/15A-b A-b
15/15A-b A-b
15/15A-b A-b
15/15A-b A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v5 thread

Cover letter [U-Boot] [PATCH v5 00/15] usb: ohci dm support & add sunxi ehci + ohci support

Hi All,

Here is a new series which applies on top of u-boot-dm/master, this contains all my usb (dm) ohci / ehci / sunxi patches which have been posted before and not yet merged. The series is at v5 because for a couple of patches from my first posting of the ehci sunxi dm series this is the 5th posting, for most patches this is the 2nd posting.

Marek, can we please have your ack for patches 1-4 and 11-12, then Simon can merge the entire series through the u-boot-dm tree.

Changes since the previous posting of these patches:

-"usb: usb: usb_control_msg() propagate controller error code"
New patch in this version
-"usb: legacy_hub_port_reset() check and propagate usb_set_port_feature() errors"
New patch in this version
-"usb: Stop reset procedure when a dev is handed over to a companion hcd"
Rewritten to not use an usb_companion_device_count global variable
-"dm: usb: Add support for interrupt queues to the dm ehci code":
squashed into "dm: usb: Add support for interrupt queues to the dm usb code" so as to not have a not building intermediate state
-"dm: usb: Add support for companion controllers"
Check device_active() before touching the controllers
-"dm: usb: Do not scan companion buses if no devices where handed over"
Make companion_device_count an uclass private variable
-"usb: ohci: Do not resubmit and leak urbs for interrupt packets"
Improved commit message
-"usb: ohci: Remove unnecessary delays from hc_start and power power-on paths"
Improved commit message
-"usb: ohci: Skip unnecessary mdelay(1) calls in various places"
Add a ohci_mdelay helper macro
-"usb: ohci: Add dm support"
Fixed TODO about freeing resources on deregister
-"sunxi: ohci: Add ohci usb host controller support"
Fixed build failure on sun6i / sun8i, added some extra comments to the code

Thanks & Regards,

Hans