• David Daney's avatar
    USB: Add EHCI and OHCH glue for OCTEON II SOCs. · 1643accd
    David Daney authored
    The OCTEON II SOC has USB EHCI and OHCI controllers connected directly
    to the internal I/O bus.  This patch adds the necessary 'glue' logic
    to allow ehci-hcd and ohci-hcd drivers to work on OCTEON II.
    
    The OCTEON normally runs big-endian, and the ehci/ohci internal
    registers have host endianness, so we need to select
    USB_EHCI_BIG_ENDIAN_MMIO.
    
    The ehci and ohci blocks share a common clocking and PHY
    infrastructure.  Initialization of the host controller and PHY clocks
    is common between the two and is factored out into the
    octeon2-common.c file.
    
    Setting of USB_ARCH_HAS_OHCI and USB_ARCH_HAS_EHCI is done in
    arch/mips/Kconfig in a following patch.
    Signed-off-by: default avatarDavid Daney <ddaney@caviumnetworks.com>
    To: linux-usb@vger.kernel.org
    To: dbrownell@users.sourceforge.net
    Patchwork: http://patchwork.linux-mips.org/patch/1675/Acked-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
    Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
    1643accd
Makefile 1.14 KB