diff options
Diffstat (limited to 'drivers/usb/musb/Kconfig')
-rw-r--r-- | drivers/usb/musb/Kconfig | 77 |
1 files changed, 31 insertions, 46 deletions
diff --git a/drivers/usb/musb/Kconfig b/drivers/usb/musb/Kconfig index 341a37a469bd..4cbb7e4b368d 100644 --- a/drivers/usb/musb/Kconfig +++ b/drivers/usb/musb/Kconfig | |||
@@ -12,6 +12,7 @@ config USB_MUSB_HDRC | |||
12 | depends on (ARM || (BF54x && !BF544) || (BF52x && !BF522 && !BF523)) | 12 | depends on (ARM || (BF54x && !BF544) || (BF52x && !BF522 && !BF523)) |
13 | select NOP_USB_XCEIV if (ARCH_DAVINCI || MACH_OMAP3EVM || BLACKFIN) | 13 | select NOP_USB_XCEIV if (ARCH_DAVINCI || MACH_OMAP3EVM || BLACKFIN) |
14 | select TWL4030_USB if MACH_OMAP_3430SDP | 14 | select TWL4030_USB if MACH_OMAP_3430SDP |
15 | select TWL6030_USB if MACH_OMAP_4430SDP || MACH_OMAP4_PANDA | ||
15 | select USB_OTG_UTILS | 16 | select USB_OTG_UTILS |
16 | tristate 'Inventra Highspeed Dual Role Controller (TI, ADI, ...)' | 17 | tristate 'Inventra Highspeed Dual Role Controller (TI, ADI, ...)' |
17 | help | 18 | help |
@@ -30,57 +31,41 @@ config USB_MUSB_HDRC | |||
30 | If you do not know what this is, please say N. | 31 | If you do not know what this is, please say N. |
31 | 32 | ||
32 | To compile this driver as a module, choose M here; the | 33 | To compile this driver as a module, choose M here; the |
33 | module will be called "musb_hdrc". | 34 | module will be called "musb-hdrc". |
34 | 35 | ||
35 | config USB_MUSB_SOC | 36 | choice |
36 | boolean | 37 | prompt "Platform Glue Layer" |
37 | depends on USB_MUSB_HDRC | 38 | 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 | 39 | ||
45 | comment "DaVinci 35x and 644x USB support" | 40 | config USB_MUSB_DAVINCI |
46 | depends on USB_MUSB_HDRC && ARCH_DAVINCI_DMx | 41 | bool "DaVinci" |
42 | depends on ARCH_DAVINCI_DMx | ||
47 | 43 | ||
48 | comment "DA8xx/OMAP-L1x USB support" | 44 | config USB_MUSB_DA8XX |
49 | depends on USB_MUSB_HDRC && ARCH_DAVINCI_DA8XX | 45 | bool "DA8xx/OMAP-L1x" |
46 | depends on ARCH_DAVINCI_DA8XX | ||
50 | 47 | ||
51 | comment "OMAP 243x high speed USB support" | 48 | config USB_MUSB_TUSB6010 |
52 | depends on USB_MUSB_HDRC && ARCH_OMAP2430 | 49 | bool "TUSB6010" |
50 | depends on ARCH_OMAP | ||
53 | 51 | ||
54 | comment "OMAP 343x high speed USB support" | 52 | config USB_MUSB_OMAP2PLUS |
55 | depends on USB_MUSB_HDRC && ARCH_OMAP3 | 53 | bool "OMAP2430 and onwards" |
54 | depends on ARCH_OMAP2PLUS | ||
56 | 55 | ||
57 | comment "OMAP 44xx high speed USB support" | 56 | config USB_MUSB_AM35X |
58 | depends on USB_MUSB_HDRC && ARCH_OMAP4 | 57 | bool "AM35x" |
58 | depends on ARCH_OMAP | ||
59 | 59 | ||
60 | comment "Blackfin high speed USB Support" | 60 | config USB_MUSB_BLACKFIN |
61 | depends on USB_MUSB_HDRC && ((BF54x && !BF544) || (BF52x && !BF522 && !BF523)) | 61 | bool "Blackfin" |
62 | depends on (BF54x && !BF544) || (BF52x && ! BF522 && !BF523) | ||
62 | 63 | ||
63 | config USB_MUSB_AM35X | 64 | config USB_MUSB_UX500 |
64 | bool | 65 | bool "U8500 and U5500" |
65 | depends on USB_MUSB_HDRC && !ARCH_OMAP2430 && !ARCH_OMAP4 | 66 | depends on (ARCH_U8500 && AB8500_USB) || (ARCH_U5500) |
66 | select NOP_USB_XCEIV | 67 | |
67 | default MACH_OMAP3517EVM | 68 | endchoice |
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. | ||
73 | |||
74 | config 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. | ||
84 | 69 | ||
85 | choice | 70 | choice |
86 | prompt "Driver Mode" | 71 | prompt "Driver Mode" |
@@ -158,7 +143,7 @@ config USB_MUSB_HDRC_HCD | |||
158 | config MUSB_PIO_ONLY | 143 | config MUSB_PIO_ONLY |
159 | bool 'Disable DMA (always use PIO)' | 144 | bool 'Disable DMA (always use PIO)' |
160 | depends on USB_MUSB_HDRC | 145 | depends on USB_MUSB_HDRC |
161 | default USB_TUSB6010 || ARCH_DAVINCI_DA8XX || USB_MUSB_AM35X | 146 | default USB_MUSB_TUSB6010 || USB_MUSB_DA8XX || USB_MUSB_AM35X |
162 | help | 147 | help |
163 | All data is copied between memory and FIFO by the CPU. | 148 | All data is copied between memory and FIFO by the CPU. |
164 | DMA controllers are ignored. | 149 | DMA controllers are ignored. |
@@ -171,21 +156,21 @@ config MUSB_PIO_ONLY | |||
171 | config USB_INVENTRA_DMA | 156 | config USB_INVENTRA_DMA |
172 | bool | 157 | bool |
173 | depends on USB_MUSB_HDRC && !MUSB_PIO_ONLY | 158 | depends on USB_MUSB_HDRC && !MUSB_PIO_ONLY |
174 | default ARCH_OMAP2430 || ARCH_OMAP3 || BLACKFIN || ARCH_OMAP4 | 159 | default USB_MUSB_OMAP2PLUS || USB_MUSB_BLACKFIN |
175 | help | 160 | help |
176 | Enable DMA transfers using Mentor's engine. | 161 | Enable DMA transfers using Mentor's engine. |
177 | 162 | ||
178 | config USB_TI_CPPI_DMA | 163 | config USB_TI_CPPI_DMA |
179 | bool | 164 | bool |
180 | depends on USB_MUSB_HDRC && !MUSB_PIO_ONLY | 165 | depends on USB_MUSB_HDRC && !MUSB_PIO_ONLY |
181 | default ARCH_DAVINCI | 166 | default USB_MUSB_DAVINCI |
182 | help | 167 | help |
183 | Enable DMA transfers when TI CPPI DMA is available. | 168 | Enable DMA transfers when TI CPPI DMA is available. |
184 | 169 | ||
185 | config USB_TUSB_OMAP_DMA | 170 | config USB_TUSB_OMAP_DMA |
186 | bool | 171 | bool |
187 | depends on USB_MUSB_HDRC && !MUSB_PIO_ONLY | 172 | depends on USB_MUSB_HDRC && !MUSB_PIO_ONLY |
188 | depends on USB_TUSB6010 | 173 | depends on USB_MUSB_TUSB6010 |
189 | depends on ARCH_OMAP | 174 | depends on ARCH_OMAP |
190 | default y | 175 | default y |
191 | help | 176 | help |