]> Pileus Git - ~andy/linux/commit
arch/tile: provide kernel support for the tilegx USB shim
authorChris Metcalf <cmetcalf@tilera.com>
Wed, 9 May 2012 16:25:02 +0000 (12:25 -0400)
committerChris Metcalf <cmetcalf@tilera.com>
Wed, 18 Jul 2012 20:40:24 +0000 (16:40 -0400)
commitd1cc1732cc62034542b042a4506d7c5043bc5e5e
tree85fe94b0e84275d791bd35ab94a6ca2cd4c7c6df
parent41bb38fc5398ae878c799647f3c4b25374029afb
arch/tile: provide kernel support for the tilegx USB shim

This change adds support for accessing the USB shim from within the
kernel.  Note that this change by itself does not allow the kernel
to act as a host or as a device; it merely exposes the built-in on-chip
hardware to the kernel.

The <arch/usb_host.h> and <arch/usb_host_def.h> headers are empty at
the moment because the kernel does not require any types or definitions
specific to the tilegx USB shim; the generic USB core code is all we need.
The headers are left in as stubs so that we don't need to modify the
hypervisor header (drv_usb_host_intf.h) from upstream.

Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
arch/tile/gxio/Kconfig
arch/tile/gxio/Makefile
arch/tile/gxio/iorpc_usb_host.c [new file with mode: 0644]
arch/tile/gxio/usb_host.c [new file with mode: 0644]
arch/tile/include/arch/usb_host.h [new file with mode: 0644]
arch/tile/include/arch/usb_host_def.h [new file with mode: 0644]
arch/tile/include/gxio/iorpc_usb_host.h [new file with mode: 0644]
arch/tile/include/gxio/usb_host.h [new file with mode: 0644]
arch/tile/include/hv/drv_usb_host_intf.h [new file with mode: 0644]