From patchwork Thu Jun 25 15:10:22 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jason Wessel X-Patchwork-Id: 242994 List-Id: U-Boot discussion From: jason.wessel at windriver.com (Jason Wessel) Date: Thu, 25 Jun 2020 08:10:22 -0700 Subject: [RFC PATCH 0/3] Improve USB Keyboard support for rpi3/rpi4 Message-ID: <20200625151025.84435-1-jason.wessel@windriver.com> For testing this patch series, I did apply the USB patches for the rpi4 board which had not been merged yet. Once the rpi4 USB changes are eventually merged the keyboard delay issues will show up and I imagine this issue is already a problem for other boards. This series does not depend on rpi4 patches as the changes are in the core USB functions. I am not entirely certain about the change to the common/usb.c which is why this is an RFC. I am not sure if there would be other side effects to other USB drivers. I did test with a number of usb modules attached including storage, ethernet, serial, wifi, keyboard, and mouse without any issues. ---------------------------------------------------------------- Jason Wessel (3): xhci: Add polling support for USB keyboards usb_kbd: Do not fail the keyboard if it does not have an interrupt pending common/usb.c: Work around keyboard reporting "USB device not accepting new address" common/usb.c | 10 ++++++---- common/usb_kbd.c | 4 +++- drivers/usb/host/xhci-ring.c | 24 +++++++++++++++--------- drivers/usb/host/xhci.c | 10 +++++----- include/usb/xhci.h | 5 +++-- 5 files changed, 32 insertions(+), 21 deletions(-)