From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Sat, 11 Apr 2015 19:04:58 +0200 Subject: [U-Boot] [PATCH 2/2] usb: dwc2: implement interrupt transfers In-Reply-To: <1428721522-10912-2-git-send-email-swarren@wwwdotorg.org> References: <1428721522-10912-1-git-send-email-swarren@wwwdotorg.org> <1428721522-10912-2-git-send-email-swarren@wwwdotorg.org> Message-ID: <201504111904.58286.marex@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Saturday, April 11, 2015 at 05:05:22 AM, Stephen Warren wrote: > As best I can tell, there's no difference between bulk and interrupt > transfers in terms of how the HW should be programmed, at least given > that we're executing one transaction at a time rather than scheduling > them into frames for maximum throughput. > > This patch ends up sharing the toggle bit state between bulk and > interrupt transfers on a particular EP. However I believe this is fine; > AFAIK a given EP either uses bulk or interrupt transfers and doesn't mix > them. > > This patch doesn't do anything with the "interval" parameter for > interrupt transfers, but then most other USB controller drivers in U-Boot > don't either. > > It turns out that one of my keyboards is happy to work using control > transfers but the other only gives non-zero "HID reports" via interrupt > transfers. > > Signed-off-by: Stephen Warren Applied to u-boot-usb/topic/dwc2, thanks! Best regards, Marek Vasut