add more musb symbols
[openwrt/openwrt.git] / package / kernel / linux / modules / usb.mk
1 #
2 # Copyright (C) 2006-2012 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 USB_MENU:=USB Support
9
10 USBNET_DIR:=net/usb
11 USBHID_DIR?=hid/usbhid
12 USBINPUT_DIR?=input/misc
13
14 define KernelPackage/usb-core
15 SUBMENU:=$(USB_MENU)
16 TITLE:=Support for USB
17 DEPENDS:=@USB_SUPPORT
18 KCONFIG:=CONFIG_USB CONFIG_XPS_USB_HCD_XILINX=n CONFIG_USB_FHCI_HCD=n
19 FILES:= \
20 $(LINUX_DIR)/drivers/usb/core/usbcore.ko \
21 $(LINUX_DIR)/drivers/usb/usb-common.ko
22 AUTOLOAD:=$(call AutoLoad,20,usb-common usbcore,1)
23 $(call AddDepends/nls)
24 endef
25
26 define KernelPackage/usb-core/description
27 Kernel support for USB
28 endef
29
30 $(eval $(call KernelPackage,usb-core))
31
32
33 define AddDepends/usb
34 SUBMENU:=$(USB_MENU)
35 DEPENDS+=+kmod-usb-core $(1)
36 endef
37
38
39 define KernelPackage/musb-hdrc
40 TITLE:=Support for Mentor Graphics silicon dual role USB
41 KCONFIG:= \
42 CONFIG_USB_MUSB_HDRC \
43 CONFIG_MUSB_PIO_ONLY=n \
44 CONFIG_USB_MUSB_DUAL_ROLE=y \
45 CONFIG_USB_MUSB_GADGET=n \
46 CONFIG_USB_MUSB_HOST=n \
47 CONFIG_USB_MUSB_DEBUG=y
48 DEPENDS:=@(TARGET_omap||TARGET_omap24xx)
49 FILES:=$(LINUX_DIR)/drivers/usb/musb/musb_hdrc.ko
50 AUTOLOAD:=$(call AutoLoad,46,musb_hdrc)
51 $(call AddDepends/usb)
52 endef
53
54 define KernelPackage/musb-hdrc/description
55 Kernel support for Mentor Graphics silicon dual role USB device.
56 endef
57
58 $(eval $(call KernelPackage,musb-hdrc))
59
60
61
62 define KernelPackage/nop-usb-xceiv
63 TITLE:=Support for USB OTG NOP transceiver
64 KCONFIG:= \
65 CONFIG_NOP_USB_XCEIV
66 DEPENDS:=+kmod-musb-hdrc
67 FILES:=$(LINUX_DIR)/drivers/usb/otg/nop-usb-xceiv.ko
68 AUTOLOAD:=$(call AutoLoad,45,nop-usb-xceiv)
69 $(call AddDepends/usb)
70 endef
71
72 define KernelPackage/nop-usb-xceiv/description
73 Support for USB OTG NOP transceiver
74 endef
75
76 $(eval $(call KernelPackage,nop-usb-xceiv))
77
78
79 define KernelPackage/usb-gadget
80 TITLE:=USB Gadget support
81 KCONFIG:=CONFIG_USB_GADGET
82 FILES:=$(LINUX_DIR)/drivers/usb/gadget/udc-core.ko
83 AUTOLOAD:=$(call AutoLoad,45,udc-core)
84 DEPENDS:=@USB_GADGET_SUPPORT
85 $(call AddDepends/usb)
86 endef
87
88 define KernelPackage/usb-gadget/description
89 Kernel support for USB Gadget mode
90 endef
91
92 $(eval $(call KernelPackage,usb-gadget))
93
94 define KernelPackage/usb-lib-composite
95 TITLE:=USB lib composite
96 KCONFIG:=CONFIG_USB_LIBCOMPOSITE
97 DEPENDS:=+kmod-usb-gadget +kmod-fs-configfs @!LINUX_3_3 @!LINUX_3_6
98 FILES:=$(LINUX_DIR)/drivers/usb/gadget/libcomposite.ko
99 AUTOLOAD:=$(call AutoLoad,50,libcomposite)
100 $(call AddDepends/usb)
101 endef
102
103 define KernelPackage/usb-lib-composite/description
104 Lib Composite
105 endef
106
107 $(eval $(call KernelPackage,usb-lib-composite))
108
109
110 define KernelPackage/usb-eth-gadget
111 TITLE:=USB Ethernet Gadget support
112 KCONFIG:= \
113 CONFIG_USB_ETH \
114 CONFIG_USB_ETH_RNDIS=y \
115 CONFIG_USB_ETH_EEM=y
116 DEPENDS:=+kmod-usb-gadget +(!LINUX_3_3&&!LINUX_3_6):kmod-usb-lib-composite
117 ifneq ($(wildcard $(LINUX_DIR)/drivers/usb/gadget/u_ether.ko),)
118 FILES:= \
119 $(LINUX_DIR)/drivers/usb/gadget/u_ether.ko \
120 $(LINUX_DIR)/drivers/usb/gadget/u_rndis.ko \
121 $(LINUX_DIR)/drivers/usb/gadget/usb_f_rndis.ko \
122 $(LINUX_DIR)/drivers/usb/gadget/usb_f_eem.ko \
123 $(LINUX_DIR)/drivers/usb/gadget/g_ether.ko
124 AUTOLOAD:=$(call AutoLoad,52,g_ether)
125 else
126 FILES:=$(LINUX_DIR)/drivers/usb/gadget/g_ether.ko
127 AUTOLOAD:=$(call AutoLoad,52,g_ether)
128 endif
129 $(call AddDepends/usb)
130 endef
131
132 define KernelPackage/usb-eth-gadget/description
133 Kernel support for USB Ethernet Gadget
134 endef
135
136 $(eval $(call KernelPackage,usb-eth-gadget))
137
138
139 define KernelPackage/usb-uhci
140 TITLE:=Support for UHCI controllers
141 KCONFIG:= \
142 CONFIG_USB_UHCI_ALT \
143 CONFIG_USB_UHCI_HCD
144 FILES:=$(LINUX_DIR)/drivers/usb/host/uhci-hcd.ko
145 AUTOLOAD:=$(call AutoLoad,50,uhci-hcd,1)
146 $(call AddDepends/usb)
147 endef
148
149 define KernelPackage/usb-uhci/description
150 Kernel support for USB UHCI controllers
151 endef
152
153 $(eval $(call KernelPackage,usb-uhci,1))
154
155
156 define KernelPackage/usb-ohci
157 TITLE:=Support for OHCI controllers
158 DEPENDS:=+TARGET_brcm47xx:kmod-usb-brcm47xx
159 KCONFIG:= \
160 CONFIG_USB_OHCI \
161 CONFIG_USB_OHCI_HCD \
162 CONFIG_USB_OHCI_ATH79=y \
163 CONFIG_USB_OHCI_BCM63XX=y \
164 CONFIG_USB_OCTEON_OHCI=y \
165 CONFIG_USB_OHCI_HCD_OMAP3=y \
166 CONFIG_USB_OHCI_HCD_PLATFORM=y
167 FILES:=$(LINUX_DIR)/drivers/usb/host/ohci-hcd.ko
168 AUTOLOAD:=$(call AutoLoad,50,ohci-hcd,1)
169 $(call AddDepends/usb)
170 endef
171
172 define KernelPackage/usb-ohci/description
173 Kernel support for USB OHCI controllers
174 endef
175
176 $(eval $(call KernelPackage,usb-ohci,1))
177
178
179 define KernelPackage/usb2-fsl
180 TITLE:=Support for Freescale USB2 controllers
181 DEPENDS:=@TARGET_mpc85xx
182 KCONFIG:=\
183 CONFIG_USB_FSL_MPH_DR_OF \
184 CONFIG_USB_EHCI_FSL=y
185 FILES:=$(LINUX_DIR)/drivers/usb/host/fsl-mph-dr-of.ko
186 AUTOLOAD:=$(call AutoLoad,39,fsl-mph-dr-of,1)
187 $(call AddDepends/usb)
188 endef
189
190 define KernelPackage/usb2-fsl/description
191 Kernel support for Freescale USB2 (EHCI) controllers
192 endef
193
194 $(eval $(call KernelPackage,usb2-fsl))
195
196
197 define KernelPackage/usb2
198 TITLE:=Support for USB2 controllers
199 DEPENDS:=\
200 +TARGET_brcm47xx:kmod-usb-brcm47xx \
201 +TARGET_mpc85xx:kmod-usb2-fsl
202 KCONFIG:=\
203 CONFIG_USB_EHCI_HCD \
204 CONFIG_USB_EHCI_ATH79=y \
205 CONFIG_USB_EHCI_BCM63XX=y \
206 CONFIG_USB_IMX21_HCD=y \
207 CONFIG_USB_EHCI_MXC=y \
208 CONFIG_USB_OCTEON_EHCI=y \
209 CONFIG_USB_EHCI_HCD_ORION=y \
210 CONFIG_USB_EHCI_HCD_PLATFORM=y
211 ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,3.8.0)),1)
212 FILES:= \
213 $(LINUX_DIR)/drivers/usb/host/ehci-hcd.ko \
214 $(LINUX_DIR)/drivers/usb/host/ehci-platform.ko
215 AUTOLOAD:=$(call AutoLoad,40,ehci-hcd ehci-platform,1)
216 else
217 FILES:=$(LINUX_DIR)/drivers/usb/host/ehci-hcd.ko
218 AUTOLOAD:=$(call AutoLoad,40,ehci-hcd,1)
219 endif
220 $(call AddDepends/usb)
221 endef
222
223 define KernelPackage/usb2/description
224 Kernel support for USB2 (EHCI) controllers
225 endef
226
227 $(eval $(call KernelPackage,usb2))
228
229
230 define KernelPackage/usb2-pci
231 TITLE:=Support for PCI USB2 controllers
232 DEPENDS:=@PCI_SUPPORT @(!LINUX_3_3&&!LINUX_3_6) +kmod-usb2
233 KCONFIG:=CONFIG_USB_EHCI_PCI
234 FILES:=$(LINUX_DIR)/drivers/usb/host/ehci-pci.ko
235 AUTOLOAD:=$(call AutoLoad,42,ehci-pci,1)
236 $(call AddDepends/usb)
237 endef
238
239 define KernelPackage/usb2-pci/description
240 Kernel support for PCI USB2 (EHCI) controllers
241 endef
242
243 $(eval $(call KernelPackage,usb2-pci))
244
245
246 define KernelPackage/usb-dwc2
247 TITLE:=DWC2 USB controller driver
248 DEPENDS:=@(!LINUX_3_3&&!LINUX_3_6&&!LINUX_3_8&&!LINUX_3_9)
249 KCONFIG:= \
250 CONFIG_USB_DWC2 \
251 CONFIG_USB_DWC2_DEBUG=n \
252 CONFIG_USB_DWC2_VERBOSE=n \
253 CONFIG_USB_DWC2_TRACK_MISSED_SOFS=n
254 FILES:= \
255 $(LINUX_DIR)/drivers/staging/dwc2/dwc2.ko \
256 $(LINUX_DIR)/drivers/staging/dwc2/dwc2_platform.ko
257 AUTOLOAD:=$(call AutoLoad,54,dwc2 dwc2_platform,1)
258 $(call AddDepends/usb)
259 endef
260
261 define KernelPackage/usb-dwc2/description
262 This driver provides USB Device Controller support for the
263 Synopsys DesignWare USB OTG Core
264 endef
265
266 $(eval $(call KernelPackage,usb-dwc2))
267
268
269 define KernelPackage/usb-acm
270 TITLE:=Support for modems/isdn controllers
271 KCONFIG:=CONFIG_USB_ACM
272 FILES:=$(LINUX_DIR)/drivers/usb/class/cdc-acm.ko
273 AUTOLOAD:=$(call AutoProbe,cdc-acm)
274 $(call AddDepends/usb)
275 endef
276
277 define KernelPackage/usb-acm/description
278 Kernel support for USB ACM devices (modems/isdn controllers)
279 endef
280
281 $(eval $(call KernelPackage,usb-acm))
282
283
284 define KernelPackage/usb-wdm
285 TITLE:=USB Wireless Device Management
286 KCONFIG:=CONFIG_USB_WDM
287 FILES:=$(LINUX_DIR)/drivers/usb/class/cdc-wdm.ko
288 AUTOLOAD:=$(call AutoProbe,cdc-wdm)
289 $(call AddDepends/usb)
290 $(call AddDepends/usb-net)
291 endef
292
293 define KernelPackage/usb-wdm/description
294 USB Wireless Device Management support
295 endef
296
297 $(eval $(call KernelPackage,usb-wdm))
298
299
300 define KernelPackage/usb-audio
301 TITLE:=Support for USB audio devices
302 KCONFIG:= \
303 CONFIG_USB_AUDIO \
304 CONFIG_SND_USB_AUDIO
305 $(call AddDepends/usb)
306 $(call AddDepends/sound)
307 # For Linux 2.6.35+
308 ifneq ($(wildcard $(LINUX_DIR)/sound/usb/snd-usbmidi-lib.ko),)
309 FILES:= \
310 $(LINUX_DIR)/sound/usb/snd-usbmidi-lib.ko \
311 $(LINUX_DIR)/sound/usb/snd-usb-audio.ko
312 AUTOLOAD:=$(call AutoProbe,snd-usbmidi-lib snd-usb-audio)
313 else
314 FILES:= \
315 $(LINUX_DIR)/sound/usb/snd-usb-lib.ko \
316 $(LINUX_DIR)/sound/usb/snd-usb-audio.ko
317 AUTOLOAD:=$(call AutoProbe,snd-usb-lib snd-usb-audio)
318 endif
319 endef
320
321 define KernelPackage/usb-audio/description
322 Kernel support for USB audio devices
323 endef
324
325 $(eval $(call KernelPackage,usb-audio))
326
327
328 define KernelPackage/usb-printer
329 TITLE:=Support for printers
330 KCONFIG:=CONFIG_USB_PRINTER
331 FILES:=$(LINUX_DIR)/drivers/usb/class/usblp.ko
332 AUTOLOAD:=$(call AutoProbe,usblp)
333 $(call AddDepends/usb)
334 endef
335
336 define KernelPackage/usb-printer/description
337 Kernel support for USB printers
338 endef
339
340 $(eval $(call KernelPackage,usb-printer))
341
342
343 define KernelPackage/usb-serial
344 TITLE:=Support for USB-to-Serial converters
345 KCONFIG:=CONFIG_USB_SERIAL
346 FILES:=$(LINUX_DIR)/drivers/usb/serial/usbserial.ko
347 AUTOLOAD:=$(call AutoProbe,usbserial)
348 $(call AddDepends/usb)
349 endef
350
351 define KernelPackage/usb-serial/description
352 Kernel support for USB-to-Serial converters
353 endef
354
355 $(eval $(call KernelPackage,usb-serial))
356
357
358 define AddDepends/usb-serial
359 SUBMENU:=$(USB_MENU)
360 DEPENDS+=kmod-usb-serial $(1)
361 endef
362
363
364 define KernelPackage/usb-serial-belkin
365 TITLE:=Support for Belkin devices
366 KCONFIG:=CONFIG_USB_SERIAL_BELKIN
367 FILES:=$(LINUX_DIR)/drivers/usb/serial/belkin_sa.ko
368 AUTOLOAD:=$(call AutoProbe,belkin_sa)
369 $(call AddDepends/usb-serial)
370 endef
371
372 define KernelPackage/usb-serial-belkin/description
373 Kernel support for Belkin USB-to-Serial converters
374 endef
375
376 $(eval $(call KernelPackage,usb-serial-belkin))
377
378
379 define KernelPackage/usb-serial-ch341
380 TITLE:=Support for CH341 devices
381 KCONFIG:=CONFIG_USB_SERIAL_CH341
382 FILES:=$(LINUX_DIR)/drivers/usb/serial/ch341.ko
383 AUTOLOAD:=$(call AutoProbe,ch341)
384 $(call AddDepends/usb-serial)
385 endef
386
387 define KernelPackage/usb-serial-ch341/description
388 Kernel support for Winchiphead CH341 USB-to-Serial converters
389 endef
390
391 $(eval $(call KernelPackage,usb-serial-ch341))
392
393
394 define KernelPackage/usb-serial-ftdi
395 TITLE:=Support for FTDI devices
396 KCONFIG:=CONFIG_USB_SERIAL_FTDI_SIO
397 FILES:=$(LINUX_DIR)/drivers/usb/serial/ftdi_sio.ko
398 AUTOLOAD:=$(call AutoProbe,ftdi_sio)
399 $(call AddDepends/usb-serial)
400 endef
401
402 define KernelPackage/usb-serial-ftdi/description
403 Kernel support for FTDI USB-to-Serial converters
404 endef
405
406 $(eval $(call KernelPackage,usb-serial-ftdi))
407
408
409 define KernelPackage/usb-serial-ti-usb
410 TITLE:=Support for TI USB 3410/5052
411 KCONFIG:=CONFIG_USB_SERIAL_TI
412 FILES:=$(LINUX_DIR)/drivers/usb/serial/ti_usb_3410_5052.ko
413 AUTOLOAD:=$(call AutoProbe,ti_usb_3410_5052)
414 $(call AddDepends/usb-serial)
415 endef
416
417 define KernelPackage/usb-serial-ti-usb/description
418 Kernel support for TI USB 3410/5052 devices
419 endef
420
421 $(eval $(call KernelPackage,usb-serial-ti-usb))
422
423
424 define KernelPackage/usb-serial-ipw
425 TITLE:=Support for IPWireless 3G devices
426 KCONFIG:=CONFIG_USB_SERIAL_IPW
427 FILES:=$(LINUX_DIR)/drivers/usb/serial/ipw.ko
428 AUTOLOAD:=$(call AutoProbe,ipw)
429 $(call AddDepends/usb-serial,+kmod-usb-serial-wwan)
430 endef
431
432 $(eval $(call KernelPackage,usb-serial-ipw))
433
434
435 define KernelPackage/usb-serial-mct
436 TITLE:=Support for Magic Control Tech. devices
437 KCONFIG:=CONFIG_USB_SERIAL_MCT_U232
438 FILES:=$(LINUX_DIR)/drivers/usb/serial/mct_u232.ko
439 AUTOLOAD:=$(call AutoProbe,mct_u232)
440 $(call AddDepends/usb-serial)
441 endef
442
443 define KernelPackage/usb-serial-mct/description
444 Kernel support for Magic Control Technology USB-to-Serial converters
445 endef
446
447 $(eval $(call KernelPackage,usb-serial-mct))
448
449
450 define KernelPackage/usb-serial-mos7720
451 TITLE:=Support for Moschip MOS7720 devices
452 KCONFIG:=CONFIG_USB_SERIAL_MOS7720
453 FILES:=$(LINUX_DIR)/drivers/usb/serial/mos7720.ko
454 AUTOLOAD:=$(call AutoProbe,mos7720)
455 $(call AddDepends/usb-serial)
456 endef
457
458 define KernelPackage/usb-serial-mos7720/description
459 Kernel support for Moschip MOS7720 USB-to-Serial converters
460 endef
461
462 $(eval $(call KernelPackage,usb-serial-mos7720))
463
464
465 define KernelPackage/usb-serial-pl2303
466 TITLE:=Support for Prolific PL2303 devices
467 KCONFIG:=CONFIG_USB_SERIAL_PL2303
468 FILES:=$(LINUX_DIR)/drivers/usb/serial/pl2303.ko
469 AUTOLOAD:=$(call AutoProbe,pl2303)
470 $(call AddDepends/usb-serial)
471 endef
472
473 define KernelPackage/usb-serial-pl2303/description
474 Kernel support for Prolific PL2303 USB-to-Serial converters
475 endef
476
477 $(eval $(call KernelPackage,usb-serial-pl2303))
478
479
480 define KernelPackage/usb-serial-cp210x
481 TITLE:=Support for Silicon Labs cp210x devices
482 KCONFIG:=CONFIG_USB_SERIAL_CP210X
483 FILES:=$(LINUX_DIR)/drivers/usb/serial/cp210x.ko
484 AUTOLOAD:=$(call AutoProbe,cp210x)
485 $(call AddDepends/usb-serial)
486 endef
487
488 define KernelPackage/usb-serial-cp210x/description
489 Kernel support for Silicon Labs cp210x USB-to-Serial converters
490 endef
491
492 $(eval $(call KernelPackage,usb-serial-cp210x))
493
494
495 define KernelPackage/usb-serial-ark3116
496 TITLE:=Support for ArkMicroChips ARK3116 devices
497 KCONFIG:=CONFIG_USB_SERIAL_ARK3116
498 FILES:=$(LINUX_DIR)/drivers/usb/serial/ark3116.ko
499 AUTOLOAD:=$(call AutoProbe,ark3116)
500 $(call AddDepends/usb-serial)
501 endef
502
503 define KernelPackage/usb-serial-ark3116/description
504 Kernel support for ArkMicroChips ARK3116 USB-to-Serial converters
505 endef
506
507 $(eval $(call KernelPackage,usb-serial-ark3116))
508
509
510 define KernelPackage/usb-serial-oti6858
511 TITLE:=Support for Ours Technology OTI6858 devices
512 KCONFIG:=CONFIG_USB_SERIAL_OTI6858
513 FILES:=$(LINUX_DIR)/drivers/usb/serial/oti6858.ko
514 AUTOLOAD:=$(call AutoProbe,oti6858)
515 $(call AddDepends/usb-serial)
516 endef
517
518 define KernelPackage/usb-serial-oti6858/description
519 Kernel support for Ours Technology OTI6858 USB-to-Serial converters
520 endef
521
522 $(eval $(call KernelPackage,usb-serial-oti6858))
523
524
525 define KernelPackage/usb-serial-sierrawireless
526 TITLE:=Support for Sierra Wireless devices
527 KCONFIG:=CONFIG_USB_SERIAL_SIERRAWIRELESS
528 FILES:=$(LINUX_DIR)/drivers/usb/serial/sierra.ko
529 AUTOLOAD:=$(call AutoProbe,sierra)
530 $(call AddDepends/usb-serial)
531 endef
532
533 define KernelPackage/usb-serial-sierrawireless/description
534 Kernel support for Sierra Wireless devices
535 endef
536
537 $(eval $(call KernelPackage,usb-serial-sierrawireless))
538
539
540 define KernelPackage/usb-serial-motorola-phone
541 TITLE:=Support for Motorola usb phone
542 KCONFIG:=CONFIG_USB_SERIAL_MOTOROLA
543 FILES:=$(LINUX_DIR)/drivers/usb/serial/moto_modem.ko
544 AUTOLOAD:=$(call AutoProbe,moto_modem)
545 $(call AddDepends/usb-serial)
546 endef
547
548 define KernelPackage/usb-serial-motorola-phone/description
549 Kernel support for Motorola usb phone
550 endef
551
552 $(eval $(call KernelPackage,usb-serial-motorola-phone))
553
554
555 define KernelPackage/usb-serial-visor
556 TITLE:=Support for Handspring Visor devices
557 KCONFIG:=CONFIG_USB_SERIAL_VISOR
558 FILES:=$(LINUX_DIR)/drivers/usb/serial/visor.ko
559 AUTOLOAD:=$(call AutoProbe,visor)
560 $(call AddDepends/usb-serial)
561 endef
562
563 define KernelPackage/usb-serial-visor/description
564 Kernel support for Handspring Visor PDAs
565 endef
566
567 $(eval $(call KernelPackage,usb-serial-visor))
568
569
570 define KernelPackage/usb-serial-cypress-m8
571 TITLE:=Support for CypressM8 USB-Serial
572 KCONFIG:=CONFIG_USB_SERIAL_CYPRESS_M8
573 FILES:=$(LINUX_DIR)/drivers/usb/serial/cypress_m8.ko
574 AUTOLOAD:=$(call AutoProbe,cypress_m8)
575 $(call AddDepends/usb-serial)
576 endef
577
578 define KernelPackage/usb-serial-cypress-m8/description
579 Kernel support for devices with Cypress M8 USB to Serial chip
580 (for example, the Delorme Earthmate LT-20 GPS)
581 Supported microcontrollers in the CY4601 family are:
582 CY7C63741 CY7C63742 CY7C63743 CY7C64013
583 endef
584
585 $(eval $(call KernelPackage,usb-serial-cypress-m8))
586
587
588 define KernelPackage/usb-serial-keyspan
589 TITLE:=Support for Keyspan USB-to-Serial devices
590 KCONFIG:= \
591 CONFIG_USB_SERIAL_KEYSPAN \
592 CONFIG_USB_SERIAL_KEYSPAN_USA28 \
593 CONFIG_USB_SERIAL_KEYSPAN_USA28X \
594 CONFIG_USB_SERIAL_KEYSPAN_USA28XA \
595 CONFIG_USB_SERIAL_KEYSPAN_USA28XB \
596 CONFIG_USB_SERIAL_KEYSPAN_USA19 \
597 CONFIG_USB_SERIAL_KEYSPAN_USA18X \
598 CONFIG_USB_SERIAL_KEYSPAN_USA19W \
599 CONFIG_USB_SERIAL_KEYSPAN_USA19QW \
600 CONFIG_USB_SERIAL_KEYSPAN_USA19QI \
601 CONFIG_USB_SERIAL_KEYSPAN_MPR \
602 CONFIG_USB_SERIAL_KEYSPAN_USA49W \
603 CONFIG_USB_SERIAL_KEYSPAN_USA49WLC
604 FILES:= \
605 $(LINUX_DIR)/drivers/usb/serial/keyspan.ko \
606 $(wildcard $(LINUX_DIR)/drivers/usb/misc/ezusb.ko)
607 AUTOLOAD:=$(call AutoProbe,ezusb keyspan)
608 $(call AddDepends/usb-serial)
609 endef
610
611 define KernelPackage/usb-serial-keyspan/description
612 Kernel support for Keyspan USB-to-Serial devices
613 endef
614
615 $(eval $(call KernelPackage,usb-serial-keyspan))
616
617
618 define KernelPackage/usb-serial-wwan
619 TITLE:=Support for GSM and CDMA modems
620 KCONFIG:=CONFIG_USB_SERIAL_WWAN
621 FILES:=$(LINUX_DIR)/drivers/usb/serial/usb_wwan.ko
622 AUTOLOAD:=$(call AutoProbe,usb_wwan)
623 $(call AddDepends/usb-serial)
624 endef
625
626 define KernelPackage/usb-serial-wwan/description
627 Kernel support for USB GSM and CDMA modems
628 endef
629
630 $(eval $(call KernelPackage,usb-serial-wwan))
631
632
633 define KernelPackage/usb-serial-option
634 TITLE:=Support for Option HSDPA modems
635 DEPENDS:=+kmod-usb-serial-wwan
636 KCONFIG:=CONFIG_USB_SERIAL_OPTION
637 FILES:=$(LINUX_DIR)/drivers/usb/serial/option.ko
638 AUTOLOAD:=$(call AutoProbe,option)
639 $(call AddDepends/usb-serial)
640 endef
641
642 define KernelPackage/usb-serial-option/description
643 Kernel support for Option HSDPA modems
644 endef
645
646 $(eval $(call KernelPackage,usb-serial-option))
647
648
649 define KernelPackage/usb-serial-qualcomm
650 TITLE:=Support for Qualcomm USB serial
651 KCONFIG:=CONFIG_USB_SERIAL_QUALCOMM
652 FILES:=$(LINUX_DIR)/drivers/usb/serial/qcserial.ko
653 AUTOLOAD:=$(call AutoProbe,qcserial)
654 $(call AddDepends/usb-serial,+kmod-usb-serial-wwan)
655 endef
656
657 define KernelPackage/usb-serial-qualcomm/description
658 Kernel support for Qualcomm USB Serial devices (Gobi)
659 endef
660
661 $(eval $(call KernelPackage,usb-serial-qualcomm))
662
663
664 define KernelPackage/usb-storage
665 TITLE:=USB Storage support
666 DEPENDS:= +kmod-scsi-core
667 KCONFIG:=CONFIG_USB_STORAGE
668 FILES:=$(LINUX_DIR)/drivers/usb/storage/usb-storage.ko
669 AUTOLOAD:=$(call AutoProbe,usb-storage,1)
670 $(call AddDepends/usb)
671 endef
672
673 define KernelPackage/usb-storage/description
674 Kernel support for USB Mass Storage devices
675 endef
676
677 $(eval $(call KernelPackage,usb-storage))
678
679
680 define KernelPackage/usb-storage-extras
681 SUBMENU:=$(USB_MENU)
682 TITLE:=Extra drivers for usb-storage
683 DEPENDS:=+kmod-usb-storage
684 KCONFIG:= \
685 CONFIG_USB_STORAGE_ALAUDA \
686 CONFIG_USB_STORAGE_CYPRESS_ATACB \
687 CONFIG_USB_STORAGE_DATAFAB \
688 CONFIG_USB_STORAGE_FREECOM \
689 CONFIG_USB_STORAGE_ISD200 \
690 CONFIG_USB_STORAGE_JUMPSHOT \
691 CONFIG_USB_STORAGE_KARMA \
692 CONFIG_USB_STORAGE_SDDR09 \
693 CONFIG_USB_STORAGE_SDDR55 \
694 CONFIG_USB_STORAGE_USBAT
695 FILES:= \
696 $(LINUX_DIR)/drivers/usb/storage/ums-alauda.ko \
697 $(LINUX_DIR)/drivers/usb/storage/ums-cypress.ko \
698 $(LINUX_DIR)/drivers/usb/storage/ums-datafab.ko \
699 $(LINUX_DIR)/drivers/usb/storage/ums-freecom.ko \
700 $(LINUX_DIR)/drivers/usb/storage/ums-isd200.ko \
701 $(LINUX_DIR)/drivers/usb/storage/ums-jumpshot.ko \
702 $(LINUX_DIR)/drivers/usb/storage/ums-karma.ko \
703 $(LINUX_DIR)/drivers/usb/storage/ums-sddr09.ko \
704 $(LINUX_DIR)/drivers/usb/storage/ums-sddr55.ko \
705 $(LINUX_DIR)/drivers/usb/storage/ums-usbat.ko
706 AUTOLOAD:=$(call AutoProbe,ums-alauda ums-cypress ums-datafab \
707 ums-freecom ums-isd200 ums-jumpshot \
708 ums-karma ums-sddr09 ums-sddr55 ums-usbat)
709 endef
710
711 define KernelPackage/usb-storage-extras/description
712 Say Y here if you want to have some more drivers,
713 such as for SmartMedia card readers
714 endef
715
716 $(eval $(call KernelPackage,usb-storage-extras))
717
718
719 define KernelPackage/usb-atm
720 TITLE:=Support for ATM on USB bus
721 DEPENDS:=+kmod-atm
722 KCONFIG:=CONFIG_USB_ATM
723 FILES:=$(LINUX_DIR)/drivers/usb/atm/usbatm.ko
724 AUTOLOAD:=$(call AutoProbe,usbatm)
725 $(call AddDepends/usb)
726 endef
727
728 define KernelPackage/usb-atm/description
729 Kernel support for USB DSL modems
730 endef
731
732 $(eval $(call KernelPackage,usb-atm))
733
734
735 define AddDepends/usb-atm
736 SUBMENU:=$(USB_MENU)
737 DEPENDS+=kmod-usb-atm $(1)
738 endef
739
740
741 define KernelPackage/usb-atm-speedtouch
742 TITLE:=SpeedTouch USB ADSL modems support
743 KCONFIG:=CONFIG_USB_SPEEDTOUCH
744 FILES:=$(LINUX_DIR)/drivers/usb/atm/speedtch.ko
745 AUTOLOAD:=$(call AutoProbe,speedtch)
746 $(call AddDepends/usb-atm)
747 endef
748
749 define KernelPackage/usb-atm-speedtouch/description
750 Kernel support for SpeedTouch USB ADSL modems
751 endef
752
753 $(eval $(call KernelPackage,usb-atm-speedtouch))
754
755
756 define KernelPackage/usb-atm-ueagle
757 TITLE:=Eagle 8051 based USB ADSL modems support
758 FILES:=$(LINUX_DIR)/drivers/usb/atm/ueagle-atm.ko
759 KCONFIG:=CONFIG_USB_UEAGLEATM
760 AUTOLOAD:=$(call AutoProbe,ueagle-atm)
761 $(call AddDepends/usb-atm)
762 endef
763
764 define KernelPackage/usb-atm-ueagle/description
765 Kernel support for Eagle 8051 based USB ADSL modems
766 endef
767
768 $(eval $(call KernelPackage,usb-atm-ueagle))
769
770
771 define KernelPackage/usb-atm-cxacru
772 TITLE:=cxacru
773 FILES:=$(LINUX_DIR)/drivers/usb/atm/cxacru.ko
774 KCONFIG:=CONFIG_USB_CXACRU
775 AUTOLOAD:=$(call AutoProbe,cxacru)
776 $(call AddDepends/usb-atm)
777 endef
778
779 define KernelPackage/usb-atm-cxacru/description
780 Kernel support for cxacru based USB ADSL modems
781 endef
782
783 $(eval $(call KernelPackage,usb-atm-cxacru))
784
785
786 define KernelPackage/usb-net
787 TITLE:=Kernel modules for USB-to-Ethernet convertors
788 KCONFIG:=CONFIG_USB_USBNET CONFIG_MII=y
789 AUTOLOAD:=$(call AutoProbe,usbnet)
790 ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),lt,3.12.0)),1)
791 FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/usbnet.ko
792 else
793 FILES:=\
794 $(LINUX_DIR)/drivers/$(USBNET_DIR)/usbnet.ko \
795 $(LINUX_DIR)/drivers/net/mii.ko
796 endif
797 $(call AddDepends/usb)
798 endef
799
800 define KernelPackage/usb-net/description
801 Kernel modules for USB-to-Ethernet convertors
802 endef
803
804 $(eval $(call KernelPackage,usb-net))
805
806
807 define AddDepends/usb-net
808 SUBMENU:=$(USB_MENU)
809 DEPENDS+=kmod-usb-net $(1)
810 endef
811
812
813 define KernelPackage/usb-net-asix
814 TITLE:=Kernel module for USB-to-Ethernet Asix convertors
815 DEPENDS:=+!LINUX_3_3:kmod-libphy
816 KCONFIG:=CONFIG_USB_NET_AX8817X
817 FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/asix.ko
818 AUTOLOAD:=$(call AutoProbe,asix)
819 $(call AddDepends/usb-net)
820 endef
821
822 define KernelPackage/usb-net-asix/description
823 Kernel module for USB-to-Ethernet Asix convertors
824 endef
825
826 $(eval $(call KernelPackage,usb-net-asix))
827
828
829 define KernelPackage/usb-net-hso
830 TITLE:=Kernel module for Option USB High Speed Mobile Devices
831 KCONFIG:=CONFIG_USB_HSO
832 FILES:= \
833 $(LINUX_DIR)/drivers/$(USBNET_DIR)/hso.ko
834 AUTOLOAD:=$(call AutoProbe,hso)
835 $(call AddDepends/usb-net)
836 $(call AddDepends/rfkill)
837 endef
838
839 define KernelPackage/usb-net-hso/description
840 Kernel module for Option USB High Speed Mobile Devices
841 endef
842
843 $(eval $(call KernelPackage,usb-net-hso))
844
845
846 define KernelPackage/usb-net-kaweth
847 TITLE:=Kernel module for USB-to-Ethernet Kaweth convertors
848 KCONFIG:=CONFIG_USB_KAWETH
849 FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/kaweth.ko
850 AUTOLOAD:=$(call AutoProbe,kaweth)
851 $(call AddDepends/usb-net)
852 endef
853
854 define KernelPackage/usb-net-kaweth/description
855 Kernel module for USB-to-Ethernet Kaweth convertors
856 endef
857
858 $(eval $(call KernelPackage,usb-net-kaweth))
859
860
861 define KernelPackage/usb-net-pegasus
862 TITLE:=Kernel module for USB-to-Ethernet Pegasus convertors
863 KCONFIG:=CONFIG_USB_PEGASUS
864 FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/pegasus.ko
865 AUTOLOAD:=$(call AutoProbe,pegasus)
866 $(call AddDepends/usb-net)
867 endef
868
869 define KernelPackage/usb-net-pegasus/description
870 Kernel module for USB-to-Ethernet Pegasus convertors
871 endef
872
873 $(eval $(call KernelPackage,usb-net-pegasus))
874
875
876 define KernelPackage/usb-net-mcs7830
877 TITLE:=Kernel module for USB-to-Ethernet MCS7830 convertors
878 KCONFIG:=CONFIG_USB_NET_MCS7830
879 FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/mcs7830.ko
880 AUTOLOAD:=$(call AutoProbe,mcs7830)
881 $(call AddDepends/usb-net)
882 endef
883
884 define KernelPackage/usb-net-mcs7830/description
885 Kernel module for USB-to-Ethernet MCS7830 convertors
886 endef
887
888 $(eval $(call KernelPackage,usb-net-mcs7830))
889
890
891 define KernelPackage/usb-net-dm9601-ether
892 TITLE:=Support for DM9601 ethernet connections
893 KCONFIG:=CONFIG_USB_NET_DM9601
894 FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/dm9601.ko
895 AUTOLOAD:=$(call AutoProbe,dm9601)
896 $(call AddDepends/usb-net)
897 endef
898
899 define KernelPackage/usb-net-dm9601-ether/description
900 Kernel support for USB DM9601 devices
901 endef
902
903 $(eval $(call KernelPackage,usb-net-dm9601-ether))
904
905 define KernelPackage/usb-net-cdc-ether
906 TITLE:=Support for cdc ethernet connections
907 KCONFIG:=CONFIG_USB_NET_CDCETHER
908 FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/cdc_ether.ko
909 AUTOLOAD:=$(call AutoProbe,cdc_ether)
910 $(call AddDepends/usb-net)
911 endef
912
913 define KernelPackage/usb-net-cdc-ether/description
914 Kernel support for USB CDC Ethernet devices
915 endef
916
917 $(eval $(call KernelPackage,usb-net-cdc-ether))
918
919
920 define KernelPackage/usb-net-qmi-wwan
921 TITLE:=QMI WWAN driver
922 KCONFIG:=CONFIG_USB_NET_QMI_WWAN
923 FILES:= $(LINUX_DIR)/drivers/$(USBNET_DIR)/qmi_wwan.ko
924 AUTOLOAD:=$(call AutoProbe,qmi_wwan)
925 $(call AddDepends/usb-net,+kmod-usb-wdm)
926 endef
927
928 define KernelPackage/usb-net-qmi-wwan/description
929 QMI WWAN driver for Qualcomm MSM based 3G and LTE modems
930 endef
931
932 $(eval $(call KernelPackage,usb-net-qmi-wwan))
933
934
935 define KernelPackage/usb-net-rndis
936 TITLE:=Support for RNDIS connections
937 KCONFIG:=CONFIG_USB_NET_RNDIS_HOST
938 FILES:= $(LINUX_DIR)/drivers/$(USBNET_DIR)/rndis_host.ko
939 AUTOLOAD:=$(call AutoProbe,rndis_host)
940 $(call AddDepends/usb-net,+kmod-usb-net-cdc-ether)
941 endef
942
943 define KernelPackage/usb-net-rndis/description
944 Kernel support for RNDIS connections
945 endef
946
947 $(eval $(call KernelPackage,usb-net-rndis))
948
949
950 define KernelPackage/usb-net-cdc-mbim
951 SUBMENU:=$(USB_MENU)
952 TITLE:=Kernel module for MBIM Devices
953 KCONFIG:=CONFIG_USB_NET_CDC_MBIM
954 FILES:= \
955 $(LINUX_DIR)/drivers/$(USBNET_DIR)/cdc_mbim.ko
956 AUTOLOAD:=$(call AutoProbe,cdc_mbim)
957 $(call AddDepends/usb-net,+kmod-usb-wdm +kmod-usb-net-cdc-ncm)
958 endef
959
960 define KernelPackage/usb-net-cdc-mbim/description
961 Kernel module for Option USB High Speed Mobile Devices
962 endef
963
964 $(eval $(call KernelPackage,usb-net-cdc-mbim))
965
966
967 define KernelPackage/usb-net-cdc-ncm
968 TITLE:=Support for CDC NCM connections
969 KCONFIG:=CONFIG_USB_NET_CDC_NCM
970 FILES:= $(LINUX_DIR)/drivers/$(USBNET_DIR)/cdc_ncm.ko
971 AUTOLOAD:=$(call AutoProbe,cdc_ncm)
972 $(call AddDepends/usb-net)
973 endef
974
975 define KernelPackage/usb-net-cdc-ncm/description
976 Kernel support for CDC NCM connections
977 endef
978
979 $(eval $(call KernelPackage,usb-net-cdc-ncm))
980
981
982 define KernelPackage/usb-net-sierrawireless
983 TITLE:=Support for Sierra Wireless devices
984 KCONFIG:=CONFIG_USB_SIERRA_NET
985 FILES:=$(LINUX_DIR)/drivers/net/usb/sierra_net.ko
986 AUTOLOAD:=$(call AutoProbe,sierra_net)
987 $(call AddDepends/usb-net)
988 endef
989
990 define KernelPackage/usb-net-sierrawireless/description
991 Kernel support for Sierra Wireless devices
992 endef
993
994 $(eval $(call KernelPackage,usb-net-sierrawireless))
995
996
997 define KernelPackage/usb-net-ipheth
998 TITLE:=Apple iPhone USB Ethernet driver
999 KCONFIG:=CONFIG_USB_IPHETH
1000 FILES:=$(LINUX_DIR)/drivers/net/usb/ipheth.ko
1001 AUTOLOAD:=$(call AutoProbe,ipheth)
1002 $(call AddDepends/usb-net)
1003 endef
1004
1005 define KernelPackage/usb-net-ipheth/description
1006 Kernel support for Apple iPhone USB Ethernet driver
1007 endef
1008
1009 $(eval $(call KernelPackage,usb-net-ipheth))
1010
1011
1012 define KernelPackage/usb-net-kalmia
1013 TITLE:=Samsung Kalmia based LTE USB modem
1014 KCONFIG:=CONFIG_USB_NET_KALMIA
1015 FILES:=$(LINUX_DIR)/drivers/net/usb/kalmia.ko
1016 AUTOLOAD:=$(call AutoProbe,kalmia)
1017 $(call AddDepends/usb-net)
1018 endef
1019
1020 define KernelPackage/usb-net-kalmia/description
1021 Kernel support for Samsung Kalmia based LTE USB modem
1022 endef
1023
1024 $(eval $(call KernelPackage,usb-net-kalmia))
1025
1026
1027 define KernelPackage/usb-hid
1028 TITLE:=Support for USB Human Input Devices
1029 KCONFIG:=CONFIG_HID_SUPPORT=y CONFIG_USB_HID CONFIG_USB_HIDDEV=y
1030 FILES:=$(LINUX_DIR)/drivers/$(USBHID_DIR)/usbhid.ko
1031 AUTOLOAD:=$(call AutoProbe,usbhid)
1032 $(call AddDepends/usb)
1033 $(call AddDepends/hid)
1034 $(call AddDepends/input,+kmod-input-evdev)
1035 endef
1036
1037 define KernelPackage/usb-hid/description
1038 Kernel support for USB HID devices such as keyboards and mice
1039 endef
1040
1041 $(eval $(call KernelPackage,usb-hid))
1042
1043
1044 define KernelPackage/usb-yealink
1045 TITLE:=USB Yealink VOIP phone
1046 KCONFIG:=CONFIG_USB_YEALINK CONFIG_INPUT_YEALINK CONFIG_INPUT=m CONFIG_INPUT_MISC=y
1047 FILES:=$(LINUX_DIR)/drivers/$(USBINPUT_DIR)/yealink.ko
1048 AUTOLOAD:=$(call AutoProbe,yealink)
1049 $(call AddDepends/usb)
1050 $(call AddDepends/input,+kmod-input-evdev)
1051 endef
1052
1053 define KernelPackage/usb-yealink/description
1054 Kernel support for Yealink VOIP phone
1055 endef
1056
1057 $(eval $(call KernelPackage,usb-yealink))
1058
1059
1060 define KernelPackage/usb-cm109
1061 TITLE:=Support for CM109 device
1062 KCONFIG:=CONFIG_USB_CM109 CONFIG_INPUT_CM109 CONFIG_INPUT=m CONFIG_INPUT_MISC=y
1063 FILES:=$(LINUX_DIR)/drivers/$(USBINPUT_DIR)/cm109.ko
1064 AUTOLOAD:=$(call AutoProbe,cm109)
1065 $(call AddDepends/usb)
1066 $(call AddDepends/input,+kmod-input-evdev)
1067 endef
1068
1069 define KernelPackage/usb-cm109/description
1070 Kernel support for CM109 VOIP phone
1071 endef
1072
1073 $(eval $(call KernelPackage,usb-cm109))
1074
1075
1076 define KernelPackage/usb-test
1077 TITLE:=USB Testing Driver
1078 DEPENDS:=@DEVEL
1079 KCONFIG:=CONFIG_USB_TEST
1080 FILES:=$(LINUX_DIR)/drivers/usb/misc/usbtest.ko
1081 $(call AddDepends/usb)
1082 endef
1083
1084 define KernelPackage/usb-test/description
1085 Kernel support for testing USB Host Controller software
1086 endef
1087
1088 $(eval $(call KernelPackage,usb-test))
1089
1090
1091 define KernelPackage/usbip
1092 TITLE := USB-over-IP kernel support
1093 KCONFIG:= \
1094 CONFIG_USBIP_CORE \
1095 CONFIG_USBIP_DEBUG=n
1096 FILES:=$(LINUX_DIR)/drivers/staging/usbip/usbip-core.ko
1097 AUTOLOAD:=$(call AutoProbe,usbip-core)
1098 $(call AddDepends/usb)
1099 endef
1100
1101 $(eval $(call KernelPackage,usbip))
1102
1103
1104 define KernelPackage/usbip-client
1105 TITLE := USB-over-IP client driver
1106 DEPENDS := +kmod-usbip
1107 KCONFIG := CONFIG_USBIP_VHCI_HCD
1108 FILES := $(LINUX_DIR)/drivers/staging/usbip/vhci-hcd.$(LINUX_KMOD_SUFFIX)
1109 AUTOLOAD := $(call AutoProbe,vhci-hcd)
1110 $(call AddDepends/usb)
1111 endef
1112
1113 $(eval $(call KernelPackage,usbip-client))
1114
1115
1116 define KernelPackage/usbip-server
1117 $(call KernelPackage/usbip/Default)
1118 TITLE := USB-over-IP host driver
1119 DEPENDS := +kmod-usbip
1120 KCONFIG := CONFIG_USBIP_HOST
1121 FILES := $(LINUX_DIR)/drivers/staging/usbip/usbip-host.ko
1122 AUTOLOAD := $(call AutoProbe,usbip-host)
1123 $(call AddDepends/usb)
1124 endef
1125
1126 $(eval $(call KernelPackage,usbip-server))
1127
1128
1129 define KernelPackage/usb-chipidea
1130 TITLE:=Support for ChipIdea controllers
1131 DEPENDS:=+kmod-usb2
1132 KCONFIG:=\
1133 CONFIG_USB_CHIPIDEA \
1134 CONFIG_USB_CHIPIDEA_HOST=y \
1135 CONFIG_USB_CHIPIDEA_UDC=n \
1136 CONFIG_USB_CHIPIDEA_DEBUG=y
1137 ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),lt,3.11.0)),1)
1138 FILES:=\
1139 $(LINUX_DIR)/drivers/usb/chipidea/ci_hdrc.ko \
1140 $(if $(CONFIG_OF_DEVICE),$(LINUX_DIR)/drivers/usb/chipidea/ci13xxx_imx.ko) \
1141 $(if $(CONFIG_OF_DEVICE),$(LINUX_DIR)/drivers/usb/chipidea/usbmisc_imx$(if $(call kernel_patchver_le,3.9),6q).ko)
1142 AUTOLOAD:=$(call AutoLoad,51,ci_hdrc $(if $(CONFIG_OF_DEVICE),ci13xxx_imx usbmisc_imx$(if $(call kernel_patchver_le,3.9),6q)),1)
1143 else
1144 FILES:=\
1145 $(LINUX_DIR)/drivers/usb/chipidea/ci_hdrc.ko \
1146 $(if $(CONFIG_OF),$(LINUX_DIR)/drivers/usb/chipidea/ci_hdrc_imx.ko) \
1147 $(if $(CONFIG_OF),$(LINUX_DIR)/drivers/usb/chipidea/usbmisc_imx.ko)
1148 AUTOLOAD:=$(call AutoLoad,51,ci_hdrc $(if $(CONFIG_OF),ci_hdrc_imx usbmisc_imx),1)
1149 endif
1150 $(call AddDepends/usb)
1151 endef
1152
1153 define KernelPackage/usb-chipidea/description
1154 Kernel support for USB ChipIdea controllers
1155 endef
1156
1157 $(eval $(call KernelPackage,usb-chipidea,1))
1158
1159
1160 define KernelPackage/usb-mxs-phy
1161 TITLE:=Support for Freescale MXS USB PHY
1162 DEPENDS:=@TARGET_imx6
1163 KCONFIG:=CONFIG_USB_MXS_PHY
1164 FILES:=\
1165 $(LINUX_DIR)/drivers/usb/phy/phy-mxs-usb.ko
1166 AUTOLOAD:=$(call AutoLoad,52,phy-mxs-usb,1)
1167 $(call AddDepends/usb)
1168 endef
1169
1170 define KernelPackage/usb-mxs-phy/description
1171 Kernel support for Freescale MXS USB PHY
1172 endef
1173
1174 $(eval $(call KernelPackage,usb-mxs-phy,1))
1175
1176
1177 define KernelPackage/usbmon
1178 TITLE:=USB traffic monitor
1179 KCONFIG:=CONFIG_USB_MON
1180 $(call AddDepends/usb)
1181 FILES:=$(LINUX_DIR)/drivers/usb/mon/usbmon.ko
1182 AUTOLOAD:=$(call AutoProbe,usbmon)
1183 endef
1184
1185 define KernelPackage/usbmon/description
1186 Kernel support for USB traffic monitoring
1187 endef
1188
1189 $(eval $(call KernelPackage,usbmon))
1190
1191
1192 define KernelPackage/usb3
1193 TITLE:=Support for USB3 controllers
1194 KCONFIG:= \
1195 CONFIG_USB_XHCI_HCD \
1196 CONFIG_USB_XHCI_HCD_DEBUGGING=n
1197 FILES:= \
1198 $(LINUX_DIR)/drivers/usb/host/xhci-hcd.ko
1199 AUTOLOAD:=$(call AutoLoad,54,xhci-hcd,1)
1200 $(call AddDepends/usb)
1201 endef
1202
1203 define KernelPackage/usb3/description
1204 Kernel support for USB3 (XHCI) controllers
1205 endef
1206
1207 $(eval $(call KernelPackage,usb3))