USB: otg: adding nop usb transceiver
authorAjay Kumar Gupta <ajay.gupta@ti.com>
Fri, 6 Feb 2009 12:02:35 +0000 (17:32 +0530)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 24 Mar 2009 23:20:30 +0000 (16:20 -0700)
commitf6d92a05c86754d62eabc84856d2035d0de3ddc3
tree1fad2ac626e83f2f15f6d798a8d6ba40637c9113
parent5d1ca6cf7f80644b07c348d6be870ccd8e3a92ed
USB: otg: adding nop usb transceiver

NOP transceiver is used by all the usb transceiver which are mostly
autonomous and doesn't require any programming or which are built
into the usb ip itself.NOP transceiver only allocates the memory
for struct xceiv and calls otg_set_transceiver() so function call
to otg_get_transceiver() will return a valid transceiver.

NOP transceiver device should be registered by calling
usb_nop_xceiv_register() from platform files.

Signed-off-by: Ajay Kumar Gupta <ajay.gupta@ti.com>
Cc: Felipe Balbi <felipe.balbi@nokia.com>
Cc: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/otg/Kconfig
drivers/usb/otg/Makefile
drivers/usb/otg/nop-usb-xceiv.c [new file with mode: 0644]
include/linux/usb/otg.h