Skip to content

i.MX8MQ USB support

Andrey Smirnov barebox 1 version Applied

Status from this message: Applied, thanks

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest25 patches 4 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/25usb: xhci-hcd: Tabify the filedrivers/usb/host/xhci-hcd.c+68 -680 replies
2/25usb: xhci-hcd: Do not zero out DMA coherent memorydrivers/usb/host/xhci-hcd.c+0 -23 replies
3/25usb: xhci-hcd: Cast ~XHCI_IRQS to u32drivers/usb/host/xhci-hcd.c+1 -10 replies
4/25usb: xhci-hcd: Make sure to initialize xhci->rings_listdrivers/usb/host/xhci-hcd.c+1 -00 replies
5/25usb: xhci-hcd: Drop pointless bitwise ordrivers/usb/host/xhci-hcd.c+1 -10 replies
6/25usb: xhci-hcd: Add support for 64-byte context sizedrivers/usb/host/xhci-hcd.c drivers/usb/host/xhci.h+188 -810 replies
7/25usb: xhci-hcd: Don't try to DMA sync if buffer is NULLdrivers/usb/host/xhci-hcd.c+13 -80 replies
8/25usb: xhci-hcd: Always wait for "Response Data" completiondrivers/usb/host/xhci-hcd.c+1 -10 replies
9/25usb: xhci-hcd: Convert xhci_submit_normal() to use dma_map_single()drivers/usb/host/xhci-hcd.c+10 -70 replies
10/25usb: xhci-hcd: Convert xhci_submit_control() to use dma_map_single()drivers/usb/host/xhci-hcd.c+10 -70 replies
11/25usb: xhci-hcd: Simplify TRB initialization codedrivers/usb/host/xhci-hcd.c+78 -500 replies
12/25usb: xhci-hcd: Drop 'dma' field from struct xhci_hcddrivers/usb/host/xhci-hcd.c drivers/usb/host/xhci.h+1 -20 replies
13/25usb: xhci-hcd: Check usb_pipein(pipe) only once in xhci_submit_normal()drivers/usb/host/xhci-hcd.c+16 -120 replies
14/25usb: xhci-hcd: Initialize TRT flag for xHCI >= 1.0drivers/usb/host/xhci-hcd.c+1 -10 replies
15/25usb: xhci-hcd: Simplify route string building loopdrivers/usb/host/xhci-hcd.c+6 -40 replies
16/25usb: xhci-hcd: Make use of lo_hi_readq/writeq()drivers/usb/host/xhci.h+4 -100 replies
17/25phy: core: Assume EPROBE_DEFER in of_phy_provider_lookup()drivers/phy/phy-core.c+2 -20 replies
18/25phy: Port i.MX8MQ USB PHY driver from Linuxdrivers/phy/Kconfig drivers/phy/Makefile drivers/phy/freescale/Kconfig +2 more+138 -00 replies
19/25clk: Drop separate definitions of clk_put()drivers/clk/clkdev.c include/linux/clk.h+4 -220 replies
20/25include/usb: Import USB_SPEED_SUPER_PLUS from Linuxinclude/usb/ch9.h+1 -00 replies
21/25clk: Import a subset of clk_bulk API from Linuxdrivers/clk/Makefile drivers/clk/clk-bulk.c include/linux/clk.h+202 -10 replies
22/25usb: Import DWC3 USB controller driver from Linuxdrivers/usb/Kconfig drivers/usb/Makefile drivers/usb/dwc3/Kconfig +6 more+2783 -00 replies
23/25lib: Port basic Linux kernel NLS functionsinclude/linux/nls.h lib/Kconfig lib/Makefile +1 more+175 -00 replies
24/25usb: Port Microchip USB251x USB hub driver from Linuxdrivers/usb/Kconfig drivers/usb/Makefile drivers/usb/misc/Kconfig +2 more+695 -00 replies
25/25usb: usb251xb: add usb data lane port swap featuredrivers/usb/misc/usb251xb.c+13 -20 replies

Reviews trailers per patch

1 of 25 patches has a Reviewed-by or Acked-by.

PatchRichard Leitner
1/25
2/25
3/25
4/25
5/25
6/25
7/25
8/25
9/25
10/25
11/25
12/25
13/25
14/25
15/25
16/25
17/25
18/25
19/25
20/25
21/25
22/25
23/25
24/25
25/25R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 00/25] i.MX8MQ USB support

Everyone:

This series contains changes I made while working on adding USB support for ZII i.MX8MQ boards. There are several distinct parts in this series:

1. xHCI fixes, features and improvements
2. PHY driver deferral support
3. i.MX8MQ USB PHY driver
4. DWC3 USB support and related patches
5. USB251x USB hub and related patches

First four are neccessary for i.MX8MQ in general and last part is ZII specific only. Hopefully all patches are self explanatory.

Tested on ZII i.MX8MQ boards.

Feedback is welcome!

Thanks,
Andrey Smirnov

Andrey Smirnov (25):
usb: xhci-hcd: Tabify the file
usb: xhci-hcd: Do not zero out DMA coherent memory
usb: xhci-hcd: Cast ~XHCI_IRQS to u32
usb: xhci-hcd: Make sure to initialize xhci->rings_list
usb: xhci-hcd: Drop pointless bitwise or
usb: xhci-hcd: Add support for 64-byte context size
usb: xhci-hcd: Don't try to DMA sync if buffer is NULL
usb: xhci-hcd: Always wait for "Response Data" completion
usb: xhci-hcd: Convert xhci_submit_normal() to use dma_map_single()
usb: xhci-hcd: Convert xhci_submit_control() to use dma_map_single()
usb: xhci-hcd: Simplify TRB initialization code
usb: xhci-hcd: Drop 'dma' field from struct xhci_hcd
usb: xhci-hcd: Check usb_pipein(pipe) only once in
xhci_submit_normal()
usb: xhci-hcd: Initialize TRT flag for xHCI >= 1.0
usb: xhci-hcd: Simplify route string building loop
usb: xhci-hcd: Make use of lo_hi_readq/writeq()
phy: core: Assume EPROBE_DEFER in of_phy_provider_lookup()
phy: Port i.MX8MQ USB PHY driver from Linux
clk: Drop separate definitions of clk_put()
include/usb: Import USB_SPEED_SUPER_PLUS from Linux
clk: Import a subset of clk_bulk API from Linux
usb: Import DWC3 USB controller driver from Linux
lib: Port basic Linux kernel NLS functions
usb: Port Microchip USB251x USB hub driver from Linux
usb: usb251xb: add usb data lane port swap feature

 drivers/clk/Makefile                       |    3 +-
 drivers/clk/clk-bulk.c                     |  102 ++
 drivers/clk/clkdev.c                       |    5 -
 drivers/phy/Kconfig                        |    2 +
 drivers/phy/Makefile                       |    1 +
 drivers/phy/freescale/Kconfig              |    4 +
 drivers/phy/freescale/Makefile             |    1 +
 drivers/phy/freescale/phy-fsl-imx8mq-usb.c |  130 ++
 drivers/phy/phy-core.c                     |    4 +-
 drivers/usb/Kconfig                        |    4 +
 drivers/usb/Makefile                       |    2 +
 drivers/usb/dwc3/Kconfig                   |   22 +
 drivers/usb/dwc3/Makefile                  |   10 +
 drivers/usb/dwc3/core.c                    |  740 ++++++++++++
 drivers/usb/dwc3/core.h                    | 1267 ++++++++++++++++++++
 drivers/usb/dwc3/debug.h                   |  664 ++++++++++
 drivers/usb/dwc3/host.c                    |   36 +
 drivers/usb/dwc3/io.h                      |   41 +
 drivers/usb/host/xhci-hcd.c                |  549 +++++----
 drivers/usb/host/xhci.h                    |   51 +-
 drivers/usb/misc/Kconfig                   |   14 +
 drivers/usb/misc/Makefile                  |    6 +
 drivers/usb/misc/usb251xb.c                |  683 +++++++++++
 include/linux/clk.h                        |  107 +-
 include/linux/nls.h                        |   40 +
 include/usb/ch9.h                          |    1 +
 lib/Kconfig                                |    3 +
 lib/Makefile                               |    1 +
 lib/nls_base.c                             |  131 ++
 29 files changed, 4377 insertions(+), 247 deletions(-)
 create mode 100644 drivers/clk/clk-bulk.c
 create mode 100644 drivers/phy/freescale/Kconfig
 create mode 100644 drivers/phy/freescale/Makefile
 create mode 100644 drivers/phy/freescale/phy-fsl-imx8mq-usb.c
 create mode 100644 drivers/usb/dwc3/Kconfig
 create mode 100644 drivers/usb/dwc3/Makefile
 create mode 100644 drivers/usb/dwc3/core.c
 create mode 100644 drivers/usb/dwc3/core.h
 create mode 100644 drivers/usb/dwc3/debug.h
 create mode 100644 drivers/usb/dwc3/host.c
 create mode 100644 drivers/usb/dwc3/io.h
 create mode 100644 drivers/usb/misc/Kconfig
 create mode 100644 drivers/usb/misc/Makefile
 create mode 100644 drivers/usb/misc/usb251xb.c
 create mode 100644 include/linux/nls.h
 create mode 100644 lib/nls_base.c
Signature · 7 lines
2.20.1


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox