Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 364697
b: refs/heads/master
c: edc7cb2
h: refs/heads/master
i:
  364695: 5ed6b3e
v: v3
  • Loading branch information
Felipe Balbi committed Mar 18, 2013
1 parent 5bf2fc0 commit a99fce2
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 9 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a0e631235a04f8a815a1ecec93ef418f7d1e6086
refs/heads/master: edc7cb2e955f222fe51cd44c1cf9c94d58017344
2 changes: 1 addition & 1 deletion trunk/drivers/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ obj-$(CONFIG_ATA_OVER_ETH) += block/aoe/
obj-$(CONFIG_PARIDE) += block/paride/
obj-$(CONFIG_TC) += tc/
obj-$(CONFIG_UWB) += uwb/
obj-$(CONFIG_USB_OTG_UTILS) += usb/
obj-$(CONFIG_USB_PHY) += usb/
obj-$(CONFIG_USB) += usb/
obj-$(CONFIG_PCI) += usb/
obj-$(CONFIG_USB_GADGET) += usb/
Expand Down
17 changes: 12 additions & 5 deletions trunk/drivers/usb/phy/Kconfig
Original file line number Diff line number Diff line change
@@ -1,17 +1,24 @@
#
# Physical Layer USB driver configuration
#
comment "USB Physical Layer drivers"
depends on USB || USB_GADGET
menuconfig USB_PHY
tristate "USB Physical Layer drivers"
select USB_OTG_UTILS
help
USB controllers (those which are host, device or DRD) need a
device to handle the physical layer signalling, commonly called
a PHY.

The following drivers add support for such PHY devices.

if USB_PHY

config USB_OTG_UTILS
bool
help
Select this to make sure the build includes objects from
the OTG infrastructure directory.

if USB || USB_GADGET

#
# USB Transceiver Drivers
#
Expand Down Expand Up @@ -206,4 +213,4 @@ config USB_ULPI_VIEWPORT
Provides read/write operations to the ULPI phy register set for
controllers with a viewport register (e.g. Chipidea/ARC controllers).

endif # USB || OTG
endif # USB_PHY
2 changes: 1 addition & 1 deletion trunk/drivers/usb/phy/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

ccflags-$(CONFIG_USB_DEBUG) := -DDEBUG

obj-$(CONFIG_USB_OTG_UTILS) += phy.o
obj-$(CONFIG_USB_PHY) += phy.o

# transceiver drivers, keep the list sorted

Expand Down
2 changes: 1 addition & 1 deletion trunk/include/linux/usb/phy.h
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ usb_phy_shutdown(struct usb_phy *x)
}

/* for usb host and peripheral controller drivers */
#ifdef CONFIG_USB_OTG_UTILS
#if IS_ENABLED(CONFIG_USB_PHY)
extern struct usb_phy *usb_get_phy(enum usb_phy_type type);
extern struct usb_phy *devm_usb_get_phy(struct device *dev,
enum usb_phy_type type);
Expand Down

0 comments on commit a99fce2

Please sign in to comment.