forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
USB: move isp1301_omap to drivers/usb/otg
This moves the isp1301-omap driver from the drivers/i2c/chips directory (which will be shrinking) into a new drivers/usb/otg directory (which will grow, with more drivers and utilities). Note that OTG infrastructure needs to be initialized before either host or peripheral side USB support, and may be needed before for pure host or pure peripheral configurations. Signed-off-by: David Brownell <[email protected]> Acked-by: Jean Delvare <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
- Loading branch information
Showing
7 changed files
with
42 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# | ||
# USB OTG infrastructure may be needed for peripheral-only, host-only, | ||
# or OTG-capable configurations when OTG transceivers or controllers | ||
# are used. | ||
# | ||
|
||
comment "OTG and related infrastructure" | ||
|
||
if USB || USB_GADGET | ||
|
||
config USB_OTG_UTILS | ||
bool | ||
help | ||
Select this to make sure the build includes objects from | ||
the OTG infrastructure directory. | ||
|
||
config ISP1301_OMAP | ||
tristate "Philips ISP1301 with OMAP OTG" | ||
depends on I2C && ARCH_OMAP_OTG | ||
select USB_OTG_UTILS | ||
help | ||
If you say yes here you get support for the Philips ISP1301 | ||
USB-On-The-Go transceiver working with the OMAP OTG controller. | ||
The ISP1301 is a full speed USB transceiver which is used in | ||
products including H2, H3, and H4 development boards for Texas | ||
Instruments OMAP processors. | ||
|
||
This driver can also be built as a module. If so, the module | ||
will be called isp1301_omap. | ||
|
||
endif # USB || OTG |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
obj-$(CONFIG_ISP1301_OMAP) += isp1301_omap.o | ||
|
||
ifeq ($(CONFIG_USB_DEBUG),y) | ||
EXTRA_CFLAGS += -DDEBUG | ||
else ifeq ($(CONFIG_USB_GADGET_DEBUG),y) | ||
EXTRA_CFLAGS += -DDEBUG | ||
endif | ||
|
File renamed without changes.