Skip to content

mips/usb: Add Octeon xHCI USB support

Stefan Roese u-boot 4 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest8 patches 0 repliesNew
  2. v38 patches 0 repliesSuperseded
  3. v28 patches 0 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v18 patches0 repliesSuperseded

Changes in v4 from the cover letter

- Add Reviewed-by tag from Bin
- Add Reviewed-by tag from Bin
- Correct another missed multi-line comment style

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8usb: xhci: xhci-dwc3.c: Use dev_remap_addr() instead of dev_get_addr()drivers/usb/host/xhci-dwc3.c+1 -10 replies
2/8usb: xhci: xhci_bulk_tx: Don't "BUG" when comparing addressesdrivers/usb/host/xhci-ring.c+0 -20 replies
3/8usb: xhci: octeon: Add DWC3 glue layer for Octeondrivers/usb/host/Kconfig drivers/usb/host/Makefile drivers/usb/host/dwc3-octeon-glue.c+403 -00 replies
4/8mips: octeon: cpu.c: Add table for selective swappingarch/mips/mach-octeon/cpu.c+21 -00 replies
5/8mips: octeon: Add mangle-port.harch/mips/mach-octeon/include/mangle-port.h+56 -00 replies
6/8mips: octeon: cache.c: Flush all pending writes in flush_dcache_range()arch/mips/mach-octeon/cache.c+6 -60 replies
7/8mips: octeon: Add USB DT nodesarch/mips/dts/mrvl,cn73xx.dtsi arch/mips/dts/mrvl,octeon-ebb7304.dts+84 -00 replies
8/8mips: octeon: octeon_ebb7304_defconfig: Enable USB supportconfigs/octeon_ebb7304_defconfig+17 -00 replies

Reviews trailers per patch

4 of 8 patches have a Reviewed-by or Acked-by.

PatchBin Meng
1/8R-b
2/8R-b
3/8R-b
4/8
5/8
6/8
7/8R-b
8/8

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

Read the v4 thread

Cover letter [PATCH v4 0/8] mips/usb: Add Octeon xHCI USB support

This patchset adds xHCI USB support for MIPS Octeon. After the xHCI code has been fixed to support mapped addresses (virt != phys), this patchset now adds the missing code pieces to enable USB support on Octeon. This is mainly the USB glue code for Octeon and the MIPS platform specific changes (cache fixes, platform specific swapping based on address areas, DT & defcopnfig changes).

Thanks,
Stefan

Changes in v4:
- Add Reviewed-by tag from Bin
- Add Reviewed-by tag from Bin
- Correct another missed multi-line comment style

Changes in v3:
- Add Reviewed-by tag from Bin
- Minor corrections to the commit text as suggested by Bin
- Minor corrections of the commit text as suggested by Bin
- Minor corrections in comments as suggested by Bin
- Removed empty driver remove() function
- Use macros for clock values instead of numbers
- Add Reviewed-by tag from Bin
- Correct multi-line comment style

Changes in v2:
- Completely remove BUG_ON() for this trans_event.buffer check
- Reword commit text
- Only use SPDX format for license info

Stefan Roese (8):
usb: xhci: xhci-dwc3.c: Use dev_remap_addr() instead of dev_get_addr()
usb: xhci: xhci_bulk_tx: Don't "BUG" when comparing addresses
usb: xhci: octeon: Add DWC3 glue layer for Octeon
mips: octeon: cpu.c: Add table for selective swapping
mips: octeon: Add mangle-port.h
mips: octeon: cache.c: Flush all pending writes in
flush_dcache_range()
mips: octeon: Add USB DT nodes
mips: octeon: octeon_ebb7304_defconfig: Enable USB support

 arch/mips/dts/mrvl,cn73xx.dtsi              |  60 +++
 arch/mips/dts/mrvl,octeon-ebb7304.dts       |  24 ++
 arch/mips/mach-octeon/cache.c               |  12 +-
 arch/mips/mach-octeon/cpu.c                 |  21 ++
 arch/mips/mach-octeon/include/mangle-port.h |  56 +++
 configs/octeon_ebb7304_defconfig            |  17 +
 drivers/usb/host/Kconfig                    |   9 +
 drivers/usb/host/Makefile                   |   1 +
 drivers/usb/host/dwc3-octeon-glue.c         | 393 ++++++++++++++++++++
 drivers/usb/host/xhci-dwc3.c                |   2 +-
 drivers/usb/host/xhci-ring.c                |   2 -
 11 files changed, 588 insertions(+), 9 deletions(-)
 create mode 100644 arch/mips/mach-octeon/include/mangle-port.h
 create mode 100644 drivers/usb/host/dwc3-octeon-glue.c
Signature · 1 line
2.28.0