Kconfig 3.1 KB

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