Make mv_udc work for i.mx6
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v6 Latest10 patches 0 repliesNew
- v5 posting 3/30 of 18 patches 0 repliesSuperseded
- v5 posting 2/30 of 18 patches 0 repliesSuperseded
Earlier versions · 5
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v5 posting 1/3 | 18 patches | 0 replies | Superseded | |
| v4 | 17 patches | 0 replies | Superseded | |
| v3 | 20 patches | 0 replies | Superseded | |
| v2 | 20 patches | 0 replies | Superseded | |
| v1 RFC | 0 of 18 patches | 0 replies | Superseded |
Patches in v6 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/10 | usb: rename board_usb_init_type to usb_init_typeboard/ board/ board/ +8 more | +31 | 0 replies | |
| 2/10 | usb: add enum usb_init_type parameter to usb_lowlevel_initarch/ arch/ arch/ +14 more | +17 | 0 replies | |
| 3/10 | usb: ehci-hcd: add enum usb_init_type parameter to ehci_hcd_init.board/ board/ board/ +23 more | +60 | 1 reply | |
| 4/10 | usb: gadget: mv_udc: don't check CONFIG_USB_MAX_CONTROLLER_COUNTdrivers/ | +0 | 0 replies | |
| 5/10 | usb: ehci-mx6: add support for otg portdrivers/ include/ include/ | +95 | 0 replies | |
| 6/10 | usb: gadget: mv_udc: fix full speed connectionsdrivers/ | +34 | 0 replies | |
| 7/10 | usb: gadget: mv_udc: optimize bouncedrivers/ | +16 | 0 replies | |
| 8/10 | usb: gadget: mv_udc: optimize ep_enabledrivers/ | +2 | 0 replies | |
| 9/10 | usb: gadget: mv_udc: split mv_udc.h filedrivers/ drivers/ include/ | +121 | 0 replies | |
| 10/10 | usb: udc: add udc.h include filedrivers/ drivers/ drivers/ +9 more | +68 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v6 yet.
Cover letter [U-Boot] [PATCH V6 00/10] Make mv_udc work for i.mx6
Hi Marek
This series is based on u-boot-usb/next branch.
After this series, nitrogen6x works with tftpboot to transfer files over usb, and will recognize a usb stick in the OTG port.
This V6 has been rebased to the latest u-boot-usb/next branch and changed to address Marek comments.
The most noticeable change is the addition of patches to use enum usb_init_type.
Tested on a Nitrogen6x board with the following commands when connected to a USB2.0 hub and a USB1.1 hub
setenv ipaddr 10.0.0.2 && setenv netmask 255.255.255.0 && setenv serverip 10.0.0.1 setenv usbnet_devaddr 00:11:22:33:44:55 && setenv usbnet_hostaddr 00:aa:bb:cc:dd:ee setenv ethprime usb_ether && setenv ethact usb_ether && setenv ncip 10.0.0.1 tftpboot 10800000 10.0.0.1:uImage6w
The USB1.1 had a transfer rate of 687.5 KiB/s, the USB2.0 hub had a transfer rate of 5.4 MiB/s.
And by recognizing a usb stick in each port.
Troy Kisky (10):
usb: rename board_usb_init_type to usb_init_type
usb: add enum usb_init_type parameter to usb_lowlevel_init
usb: ehci-hcd: add enum usb_init_type parameter to ehci_hcd_init.
usb: gadget: mv_udc: don't check CONFIG_USB_MAX_CONTROLLER_COUNT
usb: ehci-mx6: add support for otg port
usb: gadget: mv_udc: fix full speed connections
usb: gadget: mv_udc: optimize bounce
usb: gadget: mv_udc: optimize ep_enable
usb: gadget: mv_udc: split mv_udc.h file
usb: udc: add udc.h include file
arch/mips/cpu/mips32/au1x00/au1x00_usb_ohci.c | 2 +- arch/powerpc/cpu/mpc5xxx/usb_ohci.c | 2 +- arch/powerpc/cpu/ppc4xx/usb_ohci.c | 2 +- arch/sparc/cpu/leon3/usb_uhci.c | 2 +- board/amcc/canyonlands/canyonlands.c | 4 +- board/balloon3/balloon3.c | 4 +- board/compulab/cm_t35/cm_t35.c | 3 +- board/esd/apc405/apc405.c | 4 +- board/esd/pmc440/pmc440.c | 4 +- board/htkw/mcx/mcx.c | 3 +- board/icpdas/lp8x4x/lp8x4x.c | 4 +- board/mpl/common/usb_uhci.c | 2 +- board/samsung/trats/trats.c | 2 +- board/technexion/twister/twister.c | 3 +- board/teejet/mt_ventoux/mt_ventoux.c | 3 +- board/ti/beagle/beagle.c | 3 +- board/ti/omap5_uevm/evm.c | 3 +- board/ti/panda/panda.c | 3 +- board/toradex/colibri_pxa270/colibri_pxa270.c | 4 +- board/trizepsiv/conxs.c | 4 +- board/vpac270/vpac270.c | 4 +- common/usb.c | 4 +- drivers/serial/usbtty.h | 3 +- drivers/usb/gadget/designware_udc.c | 1 + drivers/usb/gadget/mpc8xx_udc.c | 1 + drivers/usb/gadget/mv_udc.c | 101 +++++++++++-------- 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-armada100.c | 3 +- drivers/usb/host/ehci-atmel.c | 3 +- drivers/usb/host/ehci-exynos.c | 3 +- drivers/usb/host/ehci-faraday.c | 4 +- drivers/usb/host/ehci-fsl.c | 3 +- drivers/usb/host/ehci-hcd.c | 17 ++-- drivers/usb/host/ehci-ixp4xx.c | 3 +- drivers/usb/host/ehci-marvell.c | 3 +- drivers/usb/host/ehci-mpc512x.c | 3 +- drivers/usb/host/ehci-mx5.c | 3 +- drivers/usb/host/ehci-mx6.c | 134 ++++++++++++++++++-------- drivers/usb/host/ehci-mxc.c | 3 +- drivers/usb/host/ehci-mxs.c | 3 +- drivers/usb/host/ehci-pci.c | 4 +- drivers/usb/host/ehci-ppc4xx.c | 3 +- drivers/usb/host/ehci-spear.c | 3 +- drivers/usb/host/ehci-tegra.c | 3 +- drivers/usb/host/ehci-vct.c | 3 +- drivers/usb/host/ehci.h | 3 +- drivers/usb/host/isp116x-hcd.c | 2 +- drivers/usb/host/ohci-hcd.c | 2 +- drivers/usb/host/ohci-s3c24xx.c | 2 +- drivers/usb/host/r8a66597-hcd.c | 2 +- drivers/usb/host/sl811-hcd.c | 2 +- drivers/usb/host/xhci.c | 2 +- drivers/usb/musb-new/musb_uboot.c | 2 +- drivers/usb/musb/musb_hcd.c | 2 +- drivers/usb/musb/musb_udc.c | 3 +- include/configs/mx6qsabreauto.h | 3 +- include/configs/nitrogen6x.h | 3 +- include/usb.h | 28 +++--- 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 ++++++++++ 67 files changed, 444 insertions(+), 423 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
Signature · 1 line
1.8.1.2