diff options
author | Felipe Balbi <balbi@ti.com> | 2013-03-07 04:31:18 -0500 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2013-03-18 05:18:08 -0400 |
commit | fd891498751f53dda3733d9e9ff8a1f6ea16c5e5 (patch) | |
tree | f0bbbaaaa602d2f2e660963cd8d3f89cd39db619 | |
parent | a948712d2a064be5f928f37d137e9d14b48cc94f (diff) |
usb: phy: remove CONFIG_USB_OTG_UTILS
there are no more users of CONFIG_USB_OTG_UTILS
left in tree, we can remove it just fine.
[ kishon@ti.com : fixed a linking error due
to original patch forgetting to change
drivers/usb/Makefile ]
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
-rw-r--r-- | drivers/power/Kconfig | 2 | ||||
-rw-r--r-- | drivers/usb/Makefile | 2 | ||||
-rw-r--r-- | drivers/usb/dwc3/Kconfig | 1 | ||||
-rw-r--r-- | drivers/usb/gadget/Kconfig | 3 | ||||
-rw-r--r-- | drivers/usb/host/Kconfig | 1 | ||||
-rw-r--r-- | drivers/usb/musb/Kconfig | 1 | ||||
-rw-r--r-- | drivers/usb/phy/Kconfig | 23 |
7 files changed, 2 insertions, 31 deletions
diff --git a/drivers/power/Kconfig b/drivers/power/Kconfig index 9e00c389e777..ffe02fb7cbc7 100644 --- a/drivers/power/Kconfig +++ b/drivers/power/Kconfig | |||
@@ -254,7 +254,7 @@ config BATTERY_RX51 | |||
254 | 254 | ||
255 | config CHARGER_ISP1704 | 255 | config CHARGER_ISP1704 |
256 | tristate "ISP1704 USB Charger Detection" | 256 | tristate "ISP1704 USB Charger Detection" |
257 | depends on USB_OTG_UTILS | 257 | depends on USB_PHY |
258 | help | 258 | help |
259 | Say Y to enable support for USB Charger Detection with | 259 | Say Y to enable support for USB Charger Detection with |
260 | ISP1707/ISP1704 USB transceivers. | 260 | ISP1707/ISP1704 USB transceivers. |
diff --git a/drivers/usb/Makefile b/drivers/usb/Makefile index 860306b14392..c41feba8d5c0 100644 --- a/drivers/usb/Makefile +++ b/drivers/usb/Makefile | |||
@@ -44,7 +44,7 @@ obj-$(CONFIG_USB_MICROTEK) += image/ | |||
44 | obj-$(CONFIG_USB_SERIAL) += serial/ | 44 | obj-$(CONFIG_USB_SERIAL) += serial/ |
45 | 45 | ||
46 | obj-$(CONFIG_USB) += misc/ | 46 | obj-$(CONFIG_USB) += misc/ |
47 | obj-$(CONFIG_USB_OTG_UTILS) += phy/ | 47 | obj-$(CONFIG_USB_PHY) += phy/ |
48 | obj-$(CONFIG_EARLY_PRINTK_DBGP) += early/ | 48 | obj-$(CONFIG_EARLY_PRINTK_DBGP) += early/ |
49 | 49 | ||
50 | obj-$(CONFIG_USB_ATM) += atm/ | 50 | obj-$(CONFIG_USB_ATM) += atm/ |
diff --git a/drivers/usb/dwc3/Kconfig b/drivers/usb/dwc3/Kconfig index 68e9a2c5a01a..ea5ee9c21c35 100644 --- a/drivers/usb/dwc3/Kconfig +++ b/drivers/usb/dwc3/Kconfig | |||
@@ -1,7 +1,6 @@ | |||
1 | config USB_DWC3 | 1 | config USB_DWC3 |
2 | tristate "DesignWare USB3 DRD Core Support" | 2 | tristate "DesignWare USB3 DRD Core Support" |
3 | depends on (USB || USB_GADGET) && GENERIC_HARDIRQS | 3 | depends on (USB || USB_GADGET) && GENERIC_HARDIRQS |
4 | select USB_OTG_UTILS | ||
5 | select USB_XHCI_PLATFORM if USB_SUPPORT && USB_XHCI_HCD | 4 | select USB_XHCI_PLATFORM if USB_SUPPORT && USB_XHCI_HCD |
6 | help | 5 | help |
7 | Say Y or M here if your system has a Dual Role SuperSpeed | 6 | Say Y or M here if your system has a Dual Role SuperSpeed |
diff --git a/drivers/usb/gadget/Kconfig b/drivers/usb/gadget/Kconfig index 50586fffa9fb..7ad108a3555d 100644 --- a/drivers/usb/gadget/Kconfig +++ b/drivers/usb/gadget/Kconfig | |||
@@ -195,7 +195,6 @@ config USB_OMAP | |||
195 | tristate "OMAP USB Device Controller" | 195 | tristate "OMAP USB Device Controller" |
196 | depends on ARCH_OMAP1 | 196 | depends on ARCH_OMAP1 |
197 | select ISP1301_OMAP if MACH_OMAP_H2 || MACH_OMAP_H3 || MACH_OMAP_H4_OTG | 197 | select ISP1301_OMAP if MACH_OMAP_H2 || MACH_OMAP_H3 || MACH_OMAP_H4_OTG |
198 | select USB_OTG_UTILS if ARCH_OMAP | ||
199 | help | 198 | help |
200 | Many Texas Instruments OMAP processors have flexible full | 199 | Many Texas Instruments OMAP processors have flexible full |
201 | speed USB device controllers, with support for up to 30 | 200 | speed USB device controllers, with support for up to 30 |
@@ -210,7 +209,6 @@ config USB_OMAP | |||
210 | config USB_PXA25X | 209 | config USB_PXA25X |
211 | tristate "PXA 25x or IXP 4xx" | 210 | tristate "PXA 25x or IXP 4xx" |
212 | depends on (ARCH_PXA && PXA25x) || ARCH_IXP4XX | 211 | depends on (ARCH_PXA && PXA25x) || ARCH_IXP4XX |
213 | select USB_OTG_UTILS | ||
214 | help | 212 | help |
215 | Intel's PXA 25x series XScale ARM-5TE processors include | 213 | Intel's PXA 25x series XScale ARM-5TE processors include |
216 | an integrated full speed USB 1.1 device controller. The | 214 | an integrated full speed USB 1.1 device controller. The |
@@ -258,7 +256,6 @@ config USB_RENESAS_USBHS_UDC | |||
258 | 256 | ||
259 | config USB_PXA27X | 257 | config USB_PXA27X |
260 | tristate "PXA 27x" | 258 | tristate "PXA 27x" |
261 | select USB_OTG_UTILS | ||
262 | help | 259 | help |
263 | Intel's PXA 27x series XScale ARM v5TE processors include | 260 | Intel's PXA 27x series XScale ARM v5TE processors include |
264 | an integrated full speed USB 1.1 device controller. | 261 | an integrated full speed USB 1.1 device controller. |
diff --git a/drivers/usb/host/Kconfig b/drivers/usb/host/Kconfig index c59a1126926f..ba1347ccb9dd 100644 --- a/drivers/usb/host/Kconfig +++ b/drivers/usb/host/Kconfig | |||
@@ -300,7 +300,6 @@ config USB_OHCI_HCD | |||
300 | tristate "OHCI HCD support" | 300 | tristate "OHCI HCD support" |
301 | depends on USB && USB_ARCH_HAS_OHCI | 301 | depends on USB && USB_ARCH_HAS_OHCI |
302 | select ISP1301_OMAP if MACH_OMAP_H2 || MACH_OMAP_H3 | 302 | select ISP1301_OMAP if MACH_OMAP_H2 || MACH_OMAP_H3 |
303 | select USB_OTG_UTILS if ARCH_OMAP | ||
304 | depends on USB_ISP1301 || !ARCH_LPC32XX | 303 | depends on USB_ISP1301 || !ARCH_LPC32XX |
305 | ---help--- | 304 | ---help--- |
306 | The Open Host Controller Interface (OHCI) is a standard for accessing | 305 | The Open Host Controller Interface (OHCI) is a standard for accessing |
diff --git a/drivers/usb/musb/Kconfig b/drivers/usb/musb/Kconfig index d38cf9859abb..47442d35b6fc 100644 --- a/drivers/usb/musb/Kconfig +++ b/drivers/usb/musb/Kconfig | |||
@@ -7,7 +7,6 @@ | |||
7 | config USB_MUSB_HDRC | 7 | config USB_MUSB_HDRC |
8 | tristate 'Inventra Highspeed Dual Role Controller (TI, ADI, ...)' | 8 | tristate 'Inventra Highspeed Dual Role Controller (TI, ADI, ...)' |
9 | depends on USB && USB_GADGET | 9 | depends on USB && USB_GADGET |
10 | select USB_OTG_UTILS | ||
11 | help | 10 | help |
12 | Say Y here if your system has a dual role high speed USB | 11 | Say Y here if your system has a dual role high speed USB |
13 | controller based on the Mentor Graphics silicon IP. Then | 12 | controller based on the Mentor Graphics silicon IP. Then |
diff --git a/drivers/usb/phy/Kconfig b/drivers/usb/phy/Kconfig index 832cd694fb8b..97de6de9b4b9 100644 --- a/drivers/usb/phy/Kconfig +++ b/drivers/usb/phy/Kconfig | |||
@@ -3,7 +3,6 @@ | |||
3 | # | 3 | # |
4 | menuconfig USB_PHY | 4 | menuconfig USB_PHY |
5 | tristate "USB Physical Layer drivers" | 5 | tristate "USB Physical Layer drivers" |
6 | select USB_OTG_UTILS | ||
7 | help | 6 | help |
8 | USB controllers (those which are host, device or DRD) need a | 7 | USB controllers (those which are host, device or DRD) need a |
9 | device to handle the physical layer signalling, commonly called | 8 | device to handle the physical layer signalling, commonly called |
@@ -13,19 +12,12 @@ menuconfig USB_PHY | |||
13 | 12 | ||
14 | if USB_PHY | 13 | if USB_PHY |
15 | 14 | ||
16 | config USB_OTG_UTILS | ||
17 | bool | ||
18 | help | ||
19 | Select this to make sure the build includes objects from | ||
20 | the OTG infrastructure directory. | ||
21 | |||
22 | # | 15 | # |
23 | # USB Transceiver Drivers | 16 | # USB Transceiver Drivers |
24 | # | 17 | # |
25 | config AB8500_USB | 18 | config AB8500_USB |
26 | tristate "AB8500 USB Transceiver Driver" | 19 | tristate "AB8500 USB Transceiver Driver" |
27 | depends on AB8500_CORE | 20 | depends on AB8500_CORE |
28 | select USB_OTG_UTILS | ||
29 | help | 21 | help |
30 | Enable this to support the USB OTG transceiver in AB8500 chip. | 22 | Enable this to support the USB OTG transceiver in AB8500 chip. |
31 | This transceiver supports high and full speed devices plus, | 23 | This transceiver supports high and full speed devices plus, |
@@ -35,14 +27,12 @@ config FSL_USB2_OTG | |||
35 | bool "Freescale USB OTG Transceiver Driver" | 27 | bool "Freescale USB OTG Transceiver Driver" |
36 | depends on USB_EHCI_FSL && USB_FSL_USB2 && USB_SUSPEND | 28 | depends on USB_EHCI_FSL && USB_FSL_USB2 && USB_SUSPEND |
37 | select USB_OTG | 29 | select USB_OTG |
38 | select USB_OTG_UTILS | ||
39 | help | 30 | help |
40 | Enable this to support Freescale USB OTG transceiver. | 31 | Enable this to support Freescale USB OTG transceiver. |
41 | 32 | ||
42 | config ISP1301_OMAP | 33 | config ISP1301_OMAP |
43 | tristate "Philips ISP1301 with OMAP OTG" | 34 | tristate "Philips ISP1301 with OMAP OTG" |
44 | depends on I2C && ARCH_OMAP_OTG | 35 | depends on I2C && ARCH_OMAP_OTG |
45 | select USB_OTG_UTILS | ||
46 | help | 36 | help |
47 | If you say yes here you get support for the Philips ISP1301 | 37 | If you say yes here you get support for the Philips ISP1301 |
48 | USB-On-The-Go transceiver working with the OMAP OTG controller. | 38 | USB-On-The-Go transceiver working with the OMAP OTG controller. |
@@ -56,14 +46,12 @@ config ISP1301_OMAP | |||
56 | config MV_U3D_PHY | 46 | config MV_U3D_PHY |
57 | bool "Marvell USB 3.0 PHY controller Driver" | 47 | bool "Marvell USB 3.0 PHY controller Driver" |
58 | depends on USB_MV_U3D | 48 | depends on USB_MV_U3D |
59 | select USB_OTG_UTILS | ||
60 | help | 49 | help |
61 | Enable this to support Marvell USB 3.0 phy controller for Marvell | 50 | Enable this to support Marvell USB 3.0 phy controller for Marvell |
62 | SoC. | 51 | SoC. |
63 | 52 | ||
64 | config NOP_USB_XCEIV | 53 | config NOP_USB_XCEIV |
65 | tristate "NOP USB Transceiver Driver" | 54 | tristate "NOP USB Transceiver Driver" |
66 | select USB_OTG_UTILS | ||
67 | help | 55 | help |
68 | This driver is to be used by all the usb transceiver which are either | 56 | This driver is to be used by all the usb transceiver which are either |
69 | built-in with usb ip or which are autonomous and doesn't require any | 57 | built-in with usb ip or which are autonomous and doesn't require any |
@@ -81,7 +69,6 @@ config OMAP_CONTROL_USB | |||
81 | config OMAP_USB2 | 69 | config OMAP_USB2 |
82 | tristate "OMAP USB2 PHY Driver" | 70 | tristate "OMAP USB2 PHY Driver" |
83 | depends on ARCH_OMAP2PLUS | 71 | depends on ARCH_OMAP2PLUS |
84 | select USB_OTG_UTILS | ||
85 | select OMAP_CONTROL_USB | 72 | select OMAP_CONTROL_USB |
86 | help | 73 | help |
87 | Enable this to support the transceiver that is part of SOC. This | 74 | Enable this to support the transceiver that is part of SOC. This |
@@ -91,7 +78,6 @@ config OMAP_USB2 | |||
91 | 78 | ||
92 | config OMAP_USB3 | 79 | config OMAP_USB3 |
93 | tristate "OMAP USB3 PHY Driver" | 80 | tristate "OMAP USB3 PHY Driver" |
94 | select USB_OTG_UTILS | ||
95 | select OMAP_CONTROL_USB | 81 | select OMAP_CONTROL_USB |
96 | help | 82 | help |
97 | Enable this to support the USB3 PHY that is part of SOC. This | 83 | Enable this to support the USB3 PHY that is part of SOC. This |
@@ -102,7 +88,6 @@ config OMAP_USB3 | |||
102 | config SAMSUNG_USBPHY | 88 | config SAMSUNG_USBPHY |
103 | bool "Samsung USB PHY controller Driver" | 89 | bool "Samsung USB PHY controller Driver" |
104 | depends on USB_S3C_HSOTG || USB_EHCI_S5P || USB_OHCI_EXYNOS | 90 | depends on USB_S3C_HSOTG || USB_EHCI_S5P || USB_OHCI_EXYNOS |
105 | select USB_OTG_UTILS | ||
106 | help | 91 | help |
107 | Enable this to support Samsung USB phy controller for samsung | 92 | Enable this to support Samsung USB phy controller for samsung |
108 | SoCs. | 93 | SoCs. |
@@ -110,7 +95,6 @@ config SAMSUNG_USBPHY | |||
110 | config TWL4030_USB | 95 | config TWL4030_USB |
111 | tristate "TWL4030 USB Transceiver Driver" | 96 | tristate "TWL4030 USB Transceiver Driver" |
112 | depends on TWL4030_CORE && REGULATOR_TWL4030 && USB_MUSB_OMAP2PLUS | 97 | depends on TWL4030_CORE && REGULATOR_TWL4030 && USB_MUSB_OMAP2PLUS |
113 | select USB_OTG_UTILS | ||
114 | help | 98 | help |
115 | Enable this to support the USB OTG transceiver on TWL4030 | 99 | Enable this to support the USB OTG transceiver on TWL4030 |
116 | family chips (including the TWL5030 and TPS659x0 devices). | 100 | family chips (including the TWL5030 and TPS659x0 devices). |
@@ -120,7 +104,6 @@ config TWL4030_USB | |||
120 | config TWL6030_USB | 104 | config TWL6030_USB |
121 | tristate "TWL6030 USB Transceiver Driver" | 105 | tristate "TWL6030 USB Transceiver Driver" |
122 | depends on TWL4030_CORE && OMAP_USB2 && USB_MUSB_OMAP2PLUS | 106 | depends on TWL4030_CORE && OMAP_USB2 && USB_MUSB_OMAP2PLUS |
123 | select USB_OTG_UTILS | ||
124 | help | 107 | help |
125 | Enable this to support the USB OTG transceiver on TWL6030 | 108 | Enable this to support the USB OTG transceiver on TWL6030 |
126 | family chips. This TWL6030 transceiver has the VBUS and ID GND | 109 | family chips. This TWL6030 transceiver has the VBUS and ID GND |
@@ -132,7 +115,6 @@ config TWL6030_USB | |||
132 | config USB_GPIO_VBUS | 115 | config USB_GPIO_VBUS |
133 | tristate "GPIO based peripheral-only VBUS sensing 'transceiver'" | 116 | tristate "GPIO based peripheral-only VBUS sensing 'transceiver'" |
134 | depends on GENERIC_GPIO | 117 | depends on GENERIC_GPIO |
135 | select USB_OTG_UTILS | ||
136 | help | 118 | help |
137 | Provides simple GPIO VBUS sensing for controllers with an | 119 | Provides simple GPIO VBUS sensing for controllers with an |
138 | internal transceiver via the usb_phy interface, and | 120 | internal transceiver via the usb_phy interface, and |
@@ -154,7 +136,6 @@ config USB_ISP1301 | |||
154 | config USB_MSM_OTG | 136 | config USB_MSM_OTG |
155 | tristate "OTG support for Qualcomm on-chip USB controller" | 137 | tristate "OTG support for Qualcomm on-chip USB controller" |
156 | depends on (USB || USB_GADGET) && ARCH_MSM | 138 | depends on (USB || USB_GADGET) && ARCH_MSM |
157 | select USB_OTG_UTILS | ||
158 | help | 139 | help |
159 | Enable this to support the USB OTG transceiver on MSM chips. It | 140 | Enable this to support the USB OTG transceiver on MSM chips. It |
160 | handles PHY initialization, clock management, and workarounds | 141 | handles PHY initialization, clock management, and workarounds |
@@ -168,7 +149,6 @@ config USB_MV_OTG | |||
168 | tristate "Marvell USB OTG support" | 149 | tristate "Marvell USB OTG support" |
169 | depends on USB_EHCI_MV && USB_MV_UDC && USB_SUSPEND | 150 | depends on USB_EHCI_MV && USB_MV_UDC && USB_SUSPEND |
170 | select USB_OTG | 151 | select USB_OTG |
171 | select USB_OTG_UTILS | ||
172 | help | 152 | help |
173 | Say Y here if you want to build Marvell USB OTG transciever | 153 | Say Y here if you want to build Marvell USB OTG transciever |
174 | driver in kernel (including PXA and MMP series). This driver | 154 | driver in kernel (including PXA and MMP series). This driver |
@@ -180,7 +160,6 @@ config USB_MXS_PHY | |||
180 | tristate "Freescale MXS USB PHY support" | 160 | tristate "Freescale MXS USB PHY support" |
181 | depends on ARCH_MXC || ARCH_MXS | 161 | depends on ARCH_MXC || ARCH_MXS |
182 | select STMP_DEVICE | 162 | select STMP_DEVICE |
183 | select USB_OTG_UTILS | ||
184 | help | 163 | help |
185 | Enable this to support the Freescale MXS USB PHY. | 164 | Enable this to support the Freescale MXS USB PHY. |
186 | 165 | ||
@@ -189,7 +168,6 @@ config USB_MXS_PHY | |||
189 | config USB_RCAR_PHY | 168 | config USB_RCAR_PHY |
190 | tristate "Renesas R-Car USB phy support" | 169 | tristate "Renesas R-Car USB phy support" |
191 | depends on USB || USB_GADGET | 170 | depends on USB || USB_GADGET |
192 | select USB_OTG_UTILS | ||
193 | help | 171 | help |
194 | Say Y here to add support for the Renesas R-Car USB phy driver. | 172 | Say Y here to add support for the Renesas R-Car USB phy driver. |
195 | This chip is typically used as USB phy for USB host, gadget. | 173 | This chip is typically used as USB phy for USB host, gadget. |
@@ -201,7 +179,6 @@ config USB_RCAR_PHY | |||
201 | config USB_ULPI | 179 | config USB_ULPI |
202 | bool "Generic ULPI Transceiver Driver" | 180 | bool "Generic ULPI Transceiver Driver" |
203 | depends on ARM | 181 | depends on ARM |
204 | select USB_OTG_UTILS | ||
205 | help | 182 | help |
206 | Enable this to support ULPI connected USB OTG transceivers which | 183 | Enable this to support ULPI connected USB OTG transceivers which |
207 | are likely found on embedded boards. | 184 | are likely found on embedded boards. |