Here are two patches needed to add support for mips based
big-endian SoCs made by Lantiq to dwc2 driver.

The first patch converts the readl/writel io-accessors of dwc2 to
big-endian friendly versions and was discussed on the linux-usb ml
already earlier.

The second patch adds default fifo parameters for Lantiq SoCs to dwc2
which is needed to support devices equipped with smaller fifo sizes.

Note: The only reason for the second patch to exist is that dynamic
calculation algorithm in dwc2_calculate_dynamic_fifo does not cope well
with fifo sizes below certain limit.

Changes since previous version:
 * Patches updated to apply to latest dwc2 code
 * Fixing wrong comment style (as pointed out by Felipe Balbi)

Antti Seppälä (2):
  usb: dwc2: Use platform endianness when accessing registers
  usb: dwc2: Add default fifo sizes for Lantiq SoCs

 Documentation/devicetree/bindings/usb/dwc2.txt |   1 +
 drivers/usb/dwc2/core.c                        | 341 +++++++++++++------------
 drivers/usb/dwc2/core.h                        |  29 ++-
 drivers/usb/dwc2/core_intr.c                   |  73 +++---
 drivers/usb/dwc2/gadget.c                      | 312 +++++++++++-----------
 drivers/usb/dwc2/hcd.c                         | 138 +++++-----
 drivers/usb/dwc2/hcd.h                         |  15 +-
 drivers/usb/dwc2/hcd_ddma.c                    |  10 +-
 drivers/usb/dwc2/hcd_intr.c                    |  82 +++---
 drivers/usb/dwc2/hcd_queue.c                   |  10 +-
 drivers/usb/dwc2/platform.c                    |  29 +++
 11 files changed, 545 insertions(+), 495 deletions(-)

-- 
2.0.5

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to