]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit807994c822f14d782c45f7269b70dfe27a53b6d7
tree1fad2ac626e83f2f15f6d798a8d6ba40637c9113
parent8da19a17dc8a0a4018bb841b9e5eca966bf7b7bb
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