Kconfig (a18f22a968de17b29f2310cdb7ba69163e65ec15) Kconfig (d23894402b33338c51f1863d7f866fdc6f073a02)
1#
2# USB Dual Role (OTG-ready) Controller Drivers
3# for silicon based on Mentor Graphics INVENTRA designs
4#
5
6comment "Enable Host or Gadget support to see Inventra options"
7 depends on !USB && USB_GADGET=n
8
9# (M)HDRC = (Multipoint) Highspeed Dual-Role Controller
10config USB_MUSB_HDRC
11 depends on (USB || USB_GADGET)
12 depends on (ARM || (BF54x && !BF544) || (BF52x && !BF522 && !BF523))
13 select NOP_USB_XCEIV if (ARCH_DAVINCI || MACH_OMAP3EVM || BLACKFIN)
14 select TWL4030_USB if MACH_OMAP_3430SDP
15 select TWL6030_USB if MACH_OMAP_4430SDP || MACH_OMAP4_PANDA
16 select USB_OTG_UTILS
1#
2# USB Dual Role (OTG-ready) Controller Drivers
3# for silicon based on Mentor Graphics INVENTRA designs
4#
5
6comment "Enable Host or Gadget support to see Inventra options"
7 depends on !USB && USB_GADGET=n
8
9# (M)HDRC = (Multipoint) Highspeed Dual-Role Controller
10config USB_MUSB_HDRC
11 depends on (USB || USB_GADGET)
12 depends on (ARM || (BF54x && !BF544) || (BF52x && !BF522 && !BF523))
13 select NOP_USB_XCEIV if (ARCH_DAVINCI || MACH_OMAP3EVM || BLACKFIN)
14 select TWL4030_USB if MACH_OMAP_3430SDP
15 select TWL6030_USB if MACH_OMAP_4430SDP || MACH_OMAP4_PANDA
16 select USB_OTG_UTILS
17 bool 'Inventra Highspeed Dual Role Controller (TI, ADI, ...)'
17 tristate 'Inventra Highspeed Dual Role Controller (TI, ADI, ...)'
18 help
19 Say Y here if your system has a dual role high speed USB
20 controller based on the Mentor Graphics silicon IP. Then
21 configure options to match your silicon and the board
22 it's being used with, including the USB peripheral role,
23 or the USB host role, or both.
24
25 Texas Instruments familiies using this IP include DaVinci
26 (35x, 644x ...), OMAP 243x, OMAP 3, and TUSB 6010.
27
28 Analog Devices parts using this IP include Blackfin BF54x,
29 BF525 and BF527.
30
31 If you do not know what this is, please say N.
32
18 help
19 Say Y here if your system has a dual role high speed USB
20 controller based on the Mentor Graphics silicon IP. Then
21 configure options to match your silicon and the board
22 it's being used with, including the USB peripheral role,
23 or the USB host role, or both.
24
25 Texas Instruments familiies using this IP include DaVinci
26 (35x, 644x ...), OMAP 243x, OMAP 3, and TUSB 6010.
27
28 Analog Devices parts using this IP include Blackfin BF54x,
29 BF525 and BF527.
30
31 If you do not know what this is, please say N.
32
33# To compile this driver as a module, choose M here; the
34# module will be called "musb-hdrc".
33 To compile this driver as a module, choose M here; the
34 module will be called "musb-hdrc".
35
36choice
37 prompt "Platform Glue Layer"
38 depends on USB_MUSB_HDRC
39
40config USB_MUSB_DAVINCI
35
36choice
37 prompt "Platform Glue Layer"
38 depends on USB_MUSB_HDRC
39
40config USB_MUSB_DAVINCI
41 bool "DaVinci"
41 tristate "DaVinci"
42 depends on ARCH_DAVINCI_DMx
43
44config USB_MUSB_DA8XX
42 depends on ARCH_DAVINCI_DMx
43
44config USB_MUSB_DA8XX
45 bool "DA8xx/OMAP-L1x"
45 tristate "DA8xx/OMAP-L1x"
46 depends on ARCH_DAVINCI_DA8XX
47
48config USB_MUSB_TUSB6010
46 depends on ARCH_DAVINCI_DA8XX
47
48config USB_MUSB_TUSB6010
49 bool "TUSB6010"
49 tristate "TUSB6010"
50 depends on ARCH_OMAP
51
52config USB_MUSB_OMAP2PLUS
50 depends on ARCH_OMAP
51
52config USB_MUSB_OMAP2PLUS
53 bool "OMAP2430 and onwards"
53 tristate "OMAP2430 and onwards"
54 depends on ARCH_OMAP2PLUS
55
56config USB_MUSB_AM35X
54 depends on ARCH_OMAP2PLUS
55
56config USB_MUSB_AM35X
57 bool "AM35x"
57 tristate "AM35x"
58 depends on ARCH_OMAP
59
60config USB_MUSB_BLACKFIN
58 depends on ARCH_OMAP
59
60config USB_MUSB_BLACKFIN
61 bool "Blackfin"
61 tristate "Blackfin"
62 depends on (BF54x && !BF544) || (BF52x && ! BF522 && !BF523)
63
64config USB_MUSB_UX500
62 depends on (BF54x && !BF544) || (BF52x && ! BF522 && !BF523)
63
64config USB_MUSB_UX500
65 bool "U8500 and U5500"
65 tristate "U8500 and U5500"
66 depends on (ARCH_U8500 && AB8500_USB) || (ARCH_U5500)
67
68endchoice
69
70choice
71 prompt "Driver Mode"
72 depends on USB_MUSB_HDRC
73 help

--- 74 unchanged lines hidden (view full) ---

148 All data is copied between memory and FIFO by the CPU.
149 DMA controllers are ignored.
150
151 Do not select 'n' here unless DMA support for your SOC or board
152 is unavailable (or unstable). When DMA is enabled at compile time,
153 you can still disable it at run time using the "use_dma=n" module
154 parameter.
155
66 depends on (ARCH_U8500 && AB8500_USB) || (ARCH_U5500)
67
68endchoice
69
70choice
71 prompt "Driver Mode"
72 depends on USB_MUSB_HDRC
73 help

--- 74 unchanged lines hidden (view full) ---

148 All data is copied between memory and FIFO by the CPU.
149 DMA controllers are ignored.
150
151 Do not select 'n' here unless DMA support for your SOC or board
152 is unavailable (or unstable). When DMA is enabled at compile time,
153 you can still disable it at run time using the "use_dma=n" module
154 parameter.
155
156config USB_UX500_DMA
157 bool
158 depends on USB_MUSB_HDRC && !MUSB_PIO_ONLY
159 default USB_MUSB_UX500
160 help
161 Enable DMA transfers on UX500 platforms.
162
156config USB_INVENTRA_DMA
157 bool
158 depends on USB_MUSB_HDRC && !MUSB_PIO_ONLY
159 default USB_MUSB_OMAP2PLUS || USB_MUSB_BLACKFIN
160 help
161 Enable DMA transfers using Mentor's engine.
162
163config USB_TI_CPPI_DMA

--- 7 unchanged lines hidden (view full) ---

171 bool
172 depends on USB_MUSB_HDRC && !MUSB_PIO_ONLY
173 depends on USB_MUSB_TUSB6010
174 depends on ARCH_OMAP
175 default y
176 help
177 Enable DMA transfers on TUSB 6010 when OMAP DMA is available.
178
163config USB_INVENTRA_DMA
164 bool
165 depends on USB_MUSB_HDRC && !MUSB_PIO_ONLY
166 default USB_MUSB_OMAP2PLUS || USB_MUSB_BLACKFIN
167 help
168 Enable DMA transfers using Mentor's engine.
169
170config USB_TI_CPPI_DMA

--- 7 unchanged lines hidden (view full) ---

178 bool
179 depends on USB_MUSB_HDRC && !MUSB_PIO_ONLY
180 depends on USB_MUSB_TUSB6010
181 depends on ARCH_OMAP
182 default y
183 help
184 Enable DMA transfers on TUSB 6010 when OMAP DMA is available.
185
179config USB_MUSB_DEBUG
180 depends on USB_MUSB_HDRC
181 bool "Enable debugging messages"
182 default n
183 help
184 This enables musb debugging. To set the logging level use the debug
185 module parameter. Starting at level 3, per-transfer (urb, usb_request,
186 packet, or dma transfer) tracing may kick in.