Kconfig 3.0 KB

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