[RFC v2 0/3] WIP: add usb keyboard driver

Peter Mamonov pmamonov at gmail.com
Fri Sep 11 10:27:53 PDT 2015


Changes since v1:

  * port missing submit_int_msg() from u-boot;
  * switch to polling via interrupt endpoint: now all keyboards work fine!


Peter Mamonov (3):
  usb: ehci-hcd: port periodic transactions implementation from the
    u-boot
  WIP: usb: ehci-hcd: use non-interruptible version of mdelay()
  input: port usb keyboard driver from the u-boot

 drivers/input/Kconfig       |   7 +
 drivers/input/Makefile      |   1 +
 drivers/input/usb_kbd.c     | 379 ++++++++++++++++++++++++++++++++++++++
 drivers/usb/host/ehci-hcd.c | 438 +++++++++++++++++++++++++++++++++++++++++++-
 drivers/usb/host/ehci.h     |  15 +-
 5 files changed, 836 insertions(+), 4 deletions(-)
 create mode 100644 drivers/input/usb_kbd.c

-- 
2.1.4




More information about the barebox mailing list