Kconfig (d834a9dcecae834cd6b2bc5e50e1907738d9cf6a) Kconfig (7c925546427a0428b84bc5ba1f28b3698e492072)
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

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

27 Analog Devices parts using this IP include Blackfin BF54x,
28 BF525 and BF527.
29
30 If you do not know what this is, please say N.
31
32 To compile this driver as a module, choose M here; the
33 module will be called "musb_hdrc".
34
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

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

27 Analog Devices parts using this IP include Blackfin BF54x,
28 BF525 and BF527.
29
30 If you do not know what this is, please say N.
31
32 To compile this driver as a module, choose M here; the
33 module will be called "musb_hdrc".
34
35config USB_MUSB_SOC
36 boolean
35choice
36 prompt "Platform Glue Layer"
37 depends on USB_MUSB_HDRC
37 depends on USB_MUSB_HDRC
38 default y if ARCH_DAVINCI
39 default y if ARCH_OMAP2430
40 default y if ARCH_OMAP3
41 default y if ARCH_OMAP4
42 default y if (BF54x && !BF544)
43 default y if (BF52x && !BF522 && !BF523)
44
38
45comment "DaVinci 35x and 644x USB support"
46 depends on USB_MUSB_HDRC && ARCH_DAVINCI_DMx
39config USB_MUSB_DAVINCI
40 bool "DaVinci"
41 depends on ARCH_DAVINCI_DMx
47
42
48comment "DA8xx/OMAP-L1x USB support"
49 depends on USB_MUSB_HDRC && ARCH_DAVINCI_DA8XX
43config USB_MUSB_DA8XX
44 bool "DA8xx/OMAP-L1x"
45 depends on ARCH_DAVINCI_DA8XX
50
46
51comment "OMAP 243x high speed USB support"
52 depends on USB_MUSB_HDRC && ARCH_OMAP2430
47config USB_MUSB_TUSB6010
48 bool "TUSB6010"
49 depends on ARCH_OMAP
53
50
54comment "OMAP 343x high speed USB support"
55 depends on USB_MUSB_HDRC && ARCH_OMAP3
51config USB_MUSB_OMAP2PLUS
52 bool "OMAP2430 and onwards"
53 depends on ARCH_OMAP2PLUS
56
54
57comment "OMAP 44xx high speed USB support"
58 depends on USB_MUSB_HDRC && ARCH_OMAP4
59
60comment "Blackfin high speed USB Support"
61 depends on USB_MUSB_HDRC && ((BF54x && !BF544) || (BF52x && !BF522 && !BF523))
62
63config USB_MUSB_AM35X
55config USB_MUSB_AM35X
64 bool
65 depends on USB_MUSB_HDRC && !ARCH_OMAP2430 && !ARCH_OMAP4
66 select NOP_USB_XCEIV
67 default MACH_OMAP3517EVM
68 help
69 Select this option if your platform is based on AM35x. As
70 AM35x has an updated MUSB with CPPI4.1 DMA so this config
71 is introduced to differentiate musb ip between OMAP3x and
72 AM35x platforms.
56 bool "AM35x"
57 depends on ARCH_OMAP
73
58
74config USB_TUSB6010
75 boolean "TUSB 6010 support"
76 depends on USB_MUSB_HDRC && !USB_MUSB_SOC
77 select NOP_USB_XCEIV
78 default y
79 help
80 The TUSB 6010 chip, from Texas Instruments, connects a discrete
81 HDRC core using a 16-bit parallel bus (NOR flash style) or VLYNQ
82 (a high speed serial link). It can use system-specific external
83 DMA controllers.
59config USB_MUSB_BLACKFIN
60 bool "Blackfin"
61 depends on (BF54x && !BF544) || (BF52x && ! BF522 && !BF523)
84
62
63endchoice
64
85choice
86 prompt "Driver Mode"
87 depends on USB_MUSB_HDRC
88 help
89 Dual-Role devices can support both host and peripheral roles,
90 as well as a the special "OTG Device" role which can switch
91 between both roles as needed.
92

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

153 depends on USB_MUSB_HDRC && (USB_MUSB_HOST || USB_MUSB_OTG)
154 select USB_OTG if USB_GADGET_MUSB_HDRC
155 default y
156
157
158config MUSB_PIO_ONLY
159 bool 'Disable DMA (always use PIO)'
160 depends on USB_MUSB_HDRC
65choice
66 prompt "Driver Mode"
67 depends on USB_MUSB_HDRC
68 help
69 Dual-Role devices can support both host and peripheral roles,
70 as well as a the special "OTG Device" role which can switch
71 between both roles as needed.
72

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

133 depends on USB_MUSB_HDRC && (USB_MUSB_HOST || USB_MUSB_OTG)
134 select USB_OTG if USB_GADGET_MUSB_HDRC
135 default y
136
137
138config MUSB_PIO_ONLY
139 bool 'Disable DMA (always use PIO)'
140 depends on USB_MUSB_HDRC
161 default USB_TUSB6010 || ARCH_DAVINCI_DA8XX || USB_MUSB_AM35X
141 default USB_MUSB_TUSB6010 || USB_MUSB_DA8XX || USB_MUSB_AM35X
162 help
163 All data is copied between memory and FIFO by the CPU.
164 DMA controllers are ignored.
165
166 Do not select 'n' here unless DMA support for your SOC or board
167 is unavailable (or unstable). When DMA is enabled at compile time,
168 you can still disable it at run time using the "use_dma=n" module
169 parameter.
170
171config USB_INVENTRA_DMA
172 bool
173 depends on USB_MUSB_HDRC && !MUSB_PIO_ONLY
142 help
143 All data is copied between memory and FIFO by the CPU.
144 DMA controllers are ignored.
145
146 Do not select 'n' here unless DMA support for your SOC or board
147 is unavailable (or unstable). When DMA is enabled at compile time,
148 you can still disable it at run time using the "use_dma=n" module
149 parameter.
150
151config USB_INVENTRA_DMA
152 bool
153 depends on USB_MUSB_HDRC && !MUSB_PIO_ONLY
174 default ARCH_OMAP2430 || ARCH_OMAP3 || BLACKFIN || ARCH_OMAP4
154 default USB_MUSB_OMAP2PLUS || USB_MUSB_BLACKFIN
175 help
176 Enable DMA transfers using Mentor's engine.
177
178config USB_TI_CPPI_DMA
179 bool
180 depends on USB_MUSB_HDRC && !MUSB_PIO_ONLY
155 help
156 Enable DMA transfers using Mentor's engine.
157
158config USB_TI_CPPI_DMA
159 bool
160 depends on USB_MUSB_HDRC && !MUSB_PIO_ONLY
181 default ARCH_DAVINCI
161 default USB_MUSB_DAVINCI
182 help
183 Enable DMA transfers when TI CPPI DMA is available.
184
185config USB_TUSB_OMAP_DMA
186 bool
187 depends on USB_MUSB_HDRC && !MUSB_PIO_ONLY
162 help
163 Enable DMA transfers when TI CPPI DMA is available.
164
165config USB_TUSB_OMAP_DMA
166 bool
167 depends on USB_MUSB_HDRC && !MUSB_PIO_ONLY
188 depends on USB_TUSB6010
168 depends on USB_MUSB_TUSB6010
189 depends on ARCH_OMAP
190 default y
191 help
192 Enable DMA transfers on TUSB 6010 when OMAP DMA is available.
193
194config USB_MUSB_DEBUG
195 depends on USB_MUSB_HDRC
196 bool "Enable debugging messages"
197 default n
198 help
199 This enables musb debugging. To set the logging level use the debug
200 module parameter. Starting at level 3, per-transfer (urb, usb_request,
201 packet, or dma transfer) tracing may kick in.
169 depends on ARCH_OMAP
170 default y
171 help
172 Enable DMA transfers on TUSB 6010 when OMAP DMA is available.
173
174config USB_MUSB_DEBUG
175 depends on USB_MUSB_HDRC
176 bool "Enable debugging messages"
177 default n
178 help
179 This enables musb debugging. To set the logging level use the debug
180 module parameter. Starting at level 3, per-transfer (urb, usb_request,
181 packet, or dma transfer) tracing may kick in.