coreboot/payloads/libpayload/drivers
Yunzhi Li 51c7967f6d libpayload: usb: dwc2: support interrupt transfer
dwc2 host core do not have a periodic schedule list, so try to send
an interrupt packet in poll_intr_queue() function and use frame
number read from usb core register to calculate time and schedule
transfers.

(Note: For cherry-picking, hfnum_t was added back into dwc2_private.h
 and lines 40, 108-109, and 111 in dwc.c needed to be modified)

BUG=None
TEST=Tested on RK3288 with two USB keyboards(connect to SoC without
USB hub), both work correctly.
BRANCH=None

Change-Id: Ie54699162ef799f4d3d2a0abf850dbeb62417777
Signed-off-by: Yunzhi Li <lyz@rock-chips.com>
Reviewed-on: https://chromium-review.googlesource.com/280750
Reviewed-by: Julius Werner <jwerner@chromium.org>
Commit-Queue: Lin Huang <hl@rock-chips.com>
Tested-by: Lin Huang <hl@rock-chips.com>
Reviewed-on: https://chromium-review.googlesource.com/284327
Commit-Queue: David Hendricks <dhendrix@chromium.org>
Tested-by: David Hendricks <dhendrix@chromium.org>
2015-07-14 23:07:33 +00:00
..
serial serial: Combine Tegra and Rockchip UARTs to generic 8250_mmio32 2014-10-23 01:41:47 +00:00
storage libpayload: Change CONFIG_* to CONFIG_LP_* in the kconfig. 2013-08-14 17:05:33 -07:00
timer cosmos: add template files for libpayload 2014-10-15 18:23:26 +00:00
usb libpayload: usb: dwc2: support interrupt transfer 2015-07-14 23:07:33 +00:00
video Revert "ryu: libpayload: Set fb address in dc register" 2014-11-14 19:39:26 +00:00
cbmem_console.c libpayload: console: Allow output drivers to print whole strings at once 2014-04-30 10:00:35 +00:00
hid.c make keyboard reset driver generic (not pc keyboard driver dependent) 2010-03-25 18:52:24 +00:00
keyboard.c libpayload: Remove unnecessary keyboard mode setting code 2013-09-14 01:31:10 +00:00
Makefile.inc Revert "ryu: libpayload: Set fb address in dc register" 2014-11-14 19:39:26 +00:00
nvram.c libpayload: Change CONFIG_* to CONFIG_LP_* in the kconfig. 2013-08-14 17:05:33 -07:00
options.c libpayload: Fix lookup by label in CMOS layouts 2012-11-30 06:05:50 +01:00
pci.c [PATCH] libpayload: Fix the PCI search function 2008-10-20 16:52:06 +00:00
speaker.c Fix libpayload speaker driver 2011-10-27 10:49:41 +02:00