Here is a patch which makes it possible to support mips based big-endian SoCs made by Lantiq in the dwc2 driver. The patch converts the readl/writel io-accessors of dwc2 to big-endian friendly versions and was discussed on the linux-usb ml already earlier [1]. The patch has been included in OpenWrt for some time now and it would be nice to get some more exposure to it. It was also agreed that this patch would be redone once certain other patches have been applied to dwc2 [2]. As dust has probably settled enough here is the patch again, rebased to the latest usb-next tree. I've also dropped the dwc2 core parameters patch for Lantiq from this series for now as finding the right parameters is still a bit of a work in progress. [1] http://www.spinics.net/lists/linux-usb/msg122814.html [2] http://www.spinics.net/lists/linux-usb/msg122897.html Antti Seppälä (1): usb: dwc2: Use platform endianness when accessing registers drivers/usb/dwc2/core.c | 469 ++++++++++++++++++++++--------------------- drivers/usb/dwc2/core.h | 28 ++- drivers/usb/dwc2/core_intr.c | 73 +++---- drivers/usb/dwc2/debugfs.c | 52 ++--- drivers/usb/dwc2/gadget.c | 314 ++++++++++++++--------------- drivers/usb/dwc2/hcd.c | 140 ++++++------- 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 +- 10 files changed, 606 insertions(+), 587 deletions(-) -- 2.4.6 -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html