MIPS: Netlogic: USB support for XLP
authorGanesan Ramalingam <ganesanr@netlogicmicro.com>
Tue, 24 Jul 2012 15:28:54 +0000 (17:28 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 24 Jul 2012 15:28:54 +0000 (17:28 +0200)
commit1004165f346ac17ea8615bac26398d70c9d6689b
treeaa9976ec8228ab14bfa25c0a16e3ab4c415bf02b
parent9bac624b0fe0e51a7d5d2519634ed06ceeceb775
MIPS: Netlogic: USB support for XLP

The XLP USB controller appears as a device on the internal SoC PCIe
bus, the block has 2 EHCI blocks and 4 OHCI blocks. Change are to:

* Add files netlogic/xlp/usb-init.c and asm/netlogic/xlp-hal/usb.h
  to initialize the USB controller and define PCI fixups. The PCI
  fixups are to setup interrupts and DMA mask.
* Update include/asm/xlp-hal/{iomap.h,pic.h,xlp.h} to add interrupt
  mapping for EHCI/OHCI interrupts.

Signed-off-by: Ganesan Ramalingam <ganesanr@netlogicmicro.com>
Signed-off-by: Jayachandran C <jayachandranc@netlogicmicro.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/3756/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/include/asm/netlogic/xlp-hal/iomap.h
arch/mips/include/asm/netlogic/xlp-hal/pic.h
arch/mips/include/asm/netlogic/xlp-hal/usb.h [new file with mode: 0644]
arch/mips/include/asm/netlogic/xlp-hal/xlp.h
arch/mips/netlogic/xlp/Makefile
arch/mips/netlogic/xlp/nlm_hal.c
arch/mips/netlogic/xlp/platform.c
arch/mips/netlogic/xlp/usb-init.c [new file with mode: 0644]