[U-Boot] [PATCH V4 00/17] Make mv_udc work for i.mx6

Troy Kisky troy.kisky at boundarydevices.com
Fri Sep 20 05:29:23 CEST 2013


Hi Marek, Stefano

Sorry, for the long delay between postings.

This series is based on u-boot-usb/master branch.
After this series, nitrogen6x works with tftpboot to transfer
files over usb, and will recognize a usb stick in the OTG port.


This V4 has been rebased to the latest u-boot-usb/master branch
and changed to address Marek comments.


The most noticeable change is the addition of
"add support for host mode otg port"




Stefano, if you would you like to take the last 3 patches,
there should not be a problem.

The patches are mostly independent, so if a patch has
an issue, please feel free to skip it.
An exception is 1/17 should be before 2/17 if Stefano's branch merges upstream first,
otherwise nitrogen6x will get a build error.

Thanks


Troy Kisky (17):
  usb: gadget: mv_udc: don't check CONFIG_USB_MAX_CONTROLLER_COUNT
  usb: ehci-mx6: add support for host mode otg port
  usb: gadget: ether set wMaxPacketSize
  usb: gadget: ether: return error from rx_submit if no request
  usb: gadget: mv_udc: split mv_udc.h file
  usb: udc: add udc.h include file
  usb: gadget: mv_udc: fix typo in error message
  usb: gadget: mv_udc: set is_dualspeed = 1
  usb: gadget: mv_udc: fix full speed connections
  usb: gadget: mv_udc: optimize bounce
  usb: gadget: mv_udc: flush item before head
  usb: gadget: mv_udc: optimize ep_enable
  usb: gadget: mv_udc: zero transfer descriptor memory on probe
  usb: gadget: mv_udc: clear desc upon ep_disable
  mx6: iomux: add GPR1 defines for use with nitrogen6x
  nitrogen6x: add otg usb host/device mode support
  nitrogen6x: add CONFIG_MV_UDC

 arch/arm/include/asm/arch-mx6/iomux.h  |   6 ++
 board/boundary/nitrogen6x/nitrogen6x.c |  33 ++++++++
 drivers/serial/usbtty.h                |   3 +-
 drivers/usb/gadget/designware_udc.c    |   1 +
 drivers/usb/gadget/ether.c             |   4 +
 drivers/usb/gadget/mpc8xx_udc.c        |   1 +
 drivers/usb/gadget/mv_udc.c            | 113 ++++++++++++++++-----------
 drivers/usb/gadget/mv_udc.h            | 115 ++++++++++++++++++++++++++++
 drivers/usb/gadget/omap1510_udc.c      |   1 +
 drivers/usb/gadget/pxa27x_udc.c        |   1 +
 drivers/usb/host/ehci-hcd.c            |   7 ++
 drivers/usb/host/ehci-mx6.c            | 135 +++++++++++++++++++++++----------
 drivers/usb/musb/musb_udc.c            |   3 +-
 include/configs/mx6qsabreauto.h        |   2 +-
 include/configs/nitrogen6x.h           |   8 +-
 include/usb/designware_udc.h           |  31 --------
 include/usb/mpc8xx_udc.h               |  19 +----
 include/usb/musb_udc.h                 |  40 ----------
 include/usb/mv_udc.h                   | 118 ----------------------------
 include/usb/omap1510_udc.h             |  27 +------
 include/usb/pxa27x_udc.h               |  26 +------
 include/usb/udc.h                      |  61 +++++++++++++++
 22 files changed, 409 insertions(+), 346 deletions(-)
 create mode 100644 drivers/usb/gadget/mv_udc.h
 delete mode 100644 include/usb/musb_udc.h
 create mode 100644 include/usb/udc.h

-- 
1.8.1.2



More information about the U-Boot mailing list