Kconfig (0d376945d0bc0a8f8e00861d506b10e42e8af372) Kconfig (2e7fc3ba68e28acbcc9f4ee753be12be84533ba2)
1#
2# USB Dual Role (OTG-ready) Controller Drivers
3# for silicon based on Mentor Graphics INVENTRA designs
4#
5
6# (M)HDRC = (Multipoint) Highspeed Dual-Role Controller
7config USB_MUSB_HDRC
8 depends on USB && USB_GADGET

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

60 depends on (BF54x && !BF544) || (BF52x && ! BF522 && !BF523)
61
62config USB_MUSB_UX500
63 tristate "U8500 and U5500"
64 depends on (ARCH_U8500 && AB8500_USB)
65
66endchoice
67
1#
2# USB Dual Role (OTG-ready) Controller Drivers
3# for silicon based on Mentor Graphics INVENTRA designs
4#
5
6# (M)HDRC = (Multipoint) Highspeed Dual-Role Controller
7config USB_MUSB_HDRC
8 depends on USB && USB_GADGET

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

60 depends on (BF54x && !BF544) || (BF52x && ! BF522 && !BF523)
61
62config USB_MUSB_UX500
63 tristate "U8500 and U5500"
64 depends on (ARCH_U8500 && AB8500_USB)
65
66endchoice
67
68config MUSB_PIO_ONLY
69 bool 'Disable DMA (always use PIO)'
70 depends on USB_MUSB_HDRC
71 default USB_MUSB_TUSB6010 || USB_MUSB_DA8XX || USB_MUSB_AM35X
68choice
69 prompt 'MUSB DMA mode'
70 default USB_UX500_DMA if USB_MUSB_UX500
71 default USB_INVENTRA_DMA if USB_MUSB_OMAP2PLUS || USB_MUSB_BLACKFIN
72 default USB_TI_CPPI_DMA if USB_MUSB_DAVINCI
73 default USB_TUSB_OMAP_DMA if USB_MUSB_TUSB6010
74 default MUSB_PIO_ONLY if USB_MUSB_TUSB6010 || USB_MUSB_DA8XX || USB_MUSB_AM35X
72 help
75 help
73 All data is copied between memory and FIFO by the CPU.
74 DMA controllers are ignored.
76 Unfortunately, only one option can be enabled here. Ideally one
77 should be able to build all these drivers into one kernel to
78 allow using DMA on multiplatform kernels.
75
79
76 Do not select 'n' here unless DMA support for your SOC or board
77 is unavailable (or unstable). When DMA is enabled at compile time,
78 you can still disable it at run time using the "use_dma=n" module
79 parameter.
80
81config USB_UX500_DMA
80config USB_UX500_DMA
82 bool
83 depends on USB_MUSB_HDRC && !MUSB_PIO_ONLY
84 default USB_MUSB_UX500
81 bool 'ST Ericsson U8500 and U5500'
82 depends on USB_MUSB_HDRC
83 depends on USB_MUSB_UX500
85 help
86 Enable DMA transfers on UX500 platforms.
87
88config USB_INVENTRA_DMA
84 help
85 Enable DMA transfers on UX500 platforms.
86
87config USB_INVENTRA_DMA
89 bool
90 depends on USB_MUSB_HDRC && !MUSB_PIO_ONLY
91 default USB_MUSB_OMAP2PLUS || USB_MUSB_BLACKFIN
88 bool 'Inventra'
89 depends on USB_MUSB_HDRC
90 depends on USB_MUSB_OMAP2PLUS || USB_MUSB_BLACKFIN
92 help
93 Enable DMA transfers using Mentor's engine.
94
95config USB_TI_CPPI_DMA
91 help
92 Enable DMA transfers using Mentor's engine.
93
94config USB_TI_CPPI_DMA
96 bool
97 depends on USB_MUSB_HDRC && !MUSB_PIO_ONLY
98 default USB_MUSB_DAVINCI
95 bool 'TI CPPI (Davinci)'
96 depends on USB_MUSB_HDRC
97 depends on USB_MUSB_DAVINCI
99 help
100 Enable DMA transfers when TI CPPI DMA is available.
101
102config USB_TUSB_OMAP_DMA
98 help
99 Enable DMA transfers when TI CPPI DMA is available.
100
101config USB_TUSB_OMAP_DMA
103 bool
104 depends on USB_MUSB_HDRC && !MUSB_PIO_ONLY
102 bool 'TUSB 6010'
103 depends on USB_MUSB_HDRC
105 depends on USB_MUSB_TUSB6010
106 depends on ARCH_OMAP
104 depends on USB_MUSB_TUSB6010
105 depends on ARCH_OMAP
107 default y
108 help
109 Enable DMA transfers on TUSB 6010 when OMAP DMA is available.
110
106 help
107 Enable DMA transfers on TUSB 6010 when OMAP DMA is available.
108
109config MUSB_PIO_ONLY
110 bool 'Disable DMA (always use PIO)'
111 depends on USB_MUSB_HDRC
112 help
113 All data is copied between memory and FIFO by the CPU.
114 DMA controllers are ignored.
115
116 Do not choose this unless DMA support for your SOC or board
117 is unavailable (or unstable). When DMA is enabled at compile time,
118 you can still disable it at run time using the "use_dma=n" module
119 parameter.
120
121endchoice