[U-Boot] [PATCH V5 00/18] Make mv_udc work for i.mx6

Troy Kisky troy.kisky at boundarydevices.com
Thu Sep 26 03:41:00 CEST 2013


Hi Marek, Stefano

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 V5 has been rebased to the latest u-boot-usb/master branch
and changed to address Marek comments.


The most noticeable change is the removal of ehci_hcd_init_after_reset
using CONFIG_EHCI_HCD_INIT_AFTER_RESET instead.




Stefano, if you would you like to take the last 3 patches,
you should apply "i.MX6Q/DLS: Add MX6_PAD_GPIO_1__USB_OTG_ID"
from Eric Nelson first.

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 (18):
  usb: gadget: mv_udc: don't check CONFIG_USB_MAX_CONTROLLER_COUNT
  usb: ehci-mx6: add support for host mode otg port
  usb: echi-hcd: add usb_lowlevel_init_device
  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            | 115 +++++++++++++++++-------------
 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            |  13 ++++
 drivers/usb/host/ehci-mx6.c            | 123 ++++++++++++++++++++++-----------
 drivers/usb/musb/musb_udc.c            |   3 +-
 include/configs/mx6qsabreauto.h        |   3 +-
 include/configs/nitrogen6x.h           |   9 ++-
 include/usb.h                          |   1 +
 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             |  31 ++-------
 include/usb/pxa27x_udc.h               |  26 +------
 include/usb/udc.h                      |  53 ++++++++++++++
 23 files changed, 401 insertions(+), 349 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