Kconfig 2.9 KB

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