Kconfig 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  1. #
  2. # USB Dual Role (OTG-ready) Controller Drivers
  3. # for silicon based on Mentor Graphics INVENTRA designs
  4. #
  5. # (M)HDRC = (Multipoint) Highspeed Dual-Role Controller
  6. config USB_MUSB_HDRC
  7. tristate 'Inventra Highspeed Dual Role Controller (TI, ADI, ...)'
  8. depends on USB && USB_GADGET
  9. select NOP_USB_XCEIV if (ARCH_DAVINCI || MACH_OMAP3EVM || BLACKFIN)
  10. select NOP_USB_XCEIV if (SOC_OMAPTI81XX || SOC_OMAPAM33XX)
  11. select TWL4030_USB if MACH_OMAP_3430SDP
  12. select TWL6030_USB if MACH_OMAP_4430SDP || MACH_OMAP4_PANDA
  13. select USB_OTG_UTILS
  14. select USB_GADGET_DUALSPEED
  15. help
  16. Say Y here if your system has a dual role high speed USB
  17. controller based on the Mentor Graphics silicon IP. Then
  18. configure options to match your silicon and the board
  19. it's being used with, including the USB peripheral role,
  20. or the USB host role, or both.
  21. Texas Instruments familiies using this IP include DaVinci
  22. (35x, 644x ...), OMAP 243x, OMAP 3, and TUSB 6010.
  23. Analog Devices parts using this IP include Blackfin BF54x,
  24. BF525 and BF527.
  25. If you do not know what this is, please say N.
  26. To compile this driver as a module, choose M here; the
  27. module will be called "musb-hdrc".
  28. if USB_MUSB_HDRC
  29. choice
  30. prompt "Platform Glue Layer"
  31. config USB_MUSB_DAVINCI
  32. tristate "DaVinci"
  33. depends on ARCH_DAVINCI_DMx
  34. config USB_MUSB_DA8XX
  35. tristate "DA8xx/OMAP-L1x"
  36. depends on ARCH_DAVINCI_DA8XX
  37. config USB_MUSB_TUSB6010
  38. tristate "TUSB6010"
  39. config USB_MUSB_OMAP2PLUS
  40. tristate "OMAP2430 and onwards"
  41. depends on ARCH_OMAP2PLUS
  42. config USB_MUSB_AM35X
  43. tristate "AM35x"
  44. depends on ARCH_OMAP
  45. config USB_MUSB_DSPS
  46. tristate "TI DSPS platforms"
  47. depends on SOC_OMAPTI81XX || SOC_OMAPAM33XX
  48. config USB_MUSB_BLACKFIN
  49. tristate "Blackfin"
  50. depends on (BF54x && !BF544) || (BF52x && ! BF522 && !BF523)
  51. config USB_MUSB_UX500
  52. tristate "U8500 and U5500"
  53. depends on (ARCH_U8500 && AB8500_USB)
  54. endchoice
  55. choice
  56. prompt 'MUSB DMA mode'
  57. default USB_UX500_DMA if USB_MUSB_UX500
  58. default USB_INVENTRA_DMA if USB_MUSB_OMAP2PLUS || USB_MUSB_BLACKFIN
  59. default USB_TI_CPPI_DMA if USB_MUSB_DAVINCI
  60. default USB_TUSB_OMAP_DMA if USB_MUSB_TUSB6010
  61. default MUSB_PIO_ONLY if USB_MUSB_TUSB6010 || USB_MUSB_DA8XX || USB_MUSB_AM35X \
  62. || USB_MUSB_DSPS
  63. help
  64. Unfortunately, only one option can be enabled here. Ideally one
  65. should be able to build all these drivers into one kernel to
  66. allow using DMA on multiplatform kernels.
  67. config USB_UX500_DMA
  68. bool 'ST Ericsson U8500 and U5500'
  69. depends on USB_MUSB_UX500
  70. help
  71. Enable DMA transfers on UX500 platforms.
  72. config USB_INVENTRA_DMA
  73. bool 'Inventra'
  74. depends on USB_MUSB_OMAP2PLUS || USB_MUSB_BLACKFIN
  75. help
  76. Enable DMA transfers using Mentor's engine.
  77. config USB_TI_CPPI_DMA
  78. bool 'TI CPPI (Davinci)'
  79. depends on USB_MUSB_DAVINCI
  80. help
  81. Enable DMA transfers when TI CPPI DMA is available.
  82. config USB_TUSB_OMAP_DMA
  83. bool 'TUSB 6010'
  84. depends on USB_MUSB_TUSB6010
  85. depends on ARCH_OMAP
  86. help
  87. Enable DMA transfers on TUSB 6010 when OMAP DMA is available.
  88. config MUSB_PIO_ONLY
  89. bool 'Disable DMA (always use PIO)'
  90. help
  91. All data is copied between memory and FIFO by the CPU.
  92. DMA controllers are ignored.
  93. Do not choose this unless DMA support for your SOC or board
  94. is unavailable (or unstable). When DMA is enabled at compile time,
  95. you can still disable it at run time using the "use_dma=n" module
  96. parameter.
  97. endchoice
  98. endif # USB_MUSB_HDRC