RFC ehci-hcd.c: make it works on big-endian mips (AR9331)
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest9 patches 15 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/9 | WIP: make ehci-hcd.c happy on big-endian MIPSinclude/ | +1 | 0 replies | |
| 2/9 | WIP: fix drivers/usb/core/usb.cdrivers/ | +1 | 3 replies | |
| 3/9 | MIPS: add virt_to_phys() and phys_to_virt()arch/ | +35 | 10 replies | |
| 4/9 | MIPS: add trivial dma supportarch/ arch/ arch/ +2 more | +36 | 0 replies | |
| 5/9 | ehci-hcd.c: make it works on mipsdrivers/ | +10 | 0 replies | |
| 6/9 | usb: ehci: drop unusable CONFIG_EHCI_MMIO_BIG_ENDIAN conditiondrivers/ drivers/ | +0 | 0 replies | |
| 7/9 | usb: ehci: add big-endian registers supportdrivers/ drivers/ drivers/ +1 more | +108 | 2 replies | |
| 8/9 | MIPS: tplink-mr3020: select big-endian EHCI supportarch/ arch/ | +59 | 0 replies | |
| 9/9 | MIPS: tplink-mr3020_defconfig: enable usb stuffarch/ | +33 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [RFC 0/9] ehci-hcd.c: make it works on big-endian mips (AR9331)
This patchseries is very preliminary and has several issues:
* USBMODE_BE bit set does not work on AR9331
see the 'usb: ehci: add big-endian registers support' patch
* tested on USB-flash; I have to test E100 USB Ethernet too;
* the 'usb: ehci-hcd: add OF bindings' patch is not taken into account;
see http://lists.infradead.org/pipermail/barebox/2015-August/024545.html
Antony Pavlov (9):
WIP: make ehci-hcd.c happy on big-endian MIPS
WIP: fix drivers/usb/core/usb.c
MIPS: add virt_to_phys() and phys_to_virt()
MIPS: add trivial dma support
ehci-hcd.c: make it works on mips
usb: ehci: drop unusable CONFIG_EHCI_MMIO_BIG_ENDIAN condition
usb: ehci: add big-endian registers support
MIPS: tplink-mr3020: select big-endian EHCI support
MIPS: tplink-mr3020_defconfig: enable usb stuff
arch/mips/Kconfig | 1 + arch/mips/boards/tplink-mr3020/board.c | 55 +++++++++++ arch/mips/configs/tplink-mr3020_defconfig | 49 ++++++---- arch/mips/include/asm/dma-mapping.h | 1 + arch/mips/include/asm/dma.h | 5 + arch/mips/include/asm/io.h | 35 +++++++ arch/mips/lib/Makefile | 1 + arch/mips/lib/dma-default.c | 28 ++++++ arch/mips/mach-ath79/Kconfig | 4 + drivers/usb/core/usb.c | 2 +- drivers/usb/host/Kconfig | 3 + drivers/usb/host/ehci-hcd.c | 153 +++++++++++++++--------------- drivers/usb/host/ehci.h | 55 ++++++++--- include/linux/byteorder/big_endian.h | 2 +- include/usb/ehci.h | 1 + 15 files changed, 286 insertions(+), 109 deletions(-) create mode 100644 arch/mips/lib/dma-default.c
Signature · 7 lines
2.5.0 _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox