Kconfig 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. #
  2. # MUSB Controller Driver
  3. #
  4. comment "MUSB Controller Driver"
  5. config USB_MUSB_HOST
  6. bool "MUSB host mode support"
  7. depends on DM && OF_CONTROL
  8. select SPL_SPRINTF if SPL
  9. select TPL_SPRINTF if TPL
  10. select USB_HOST
  11. help
  12. Enables the MUSB USB dual-role controller in host mode.
  13. config USB_MUSB_GADGET
  14. bool "MUSB gadget mode support"
  15. depends on USB_GADGET
  16. select USB_GADGET_DUALSPEED
  17. select SPL_SPRINTF if SPL
  18. select TPL_SPRINTF if TPL
  19. help
  20. Enables the MUSB USB dual-role controller in gadget mode.
  21. if USB_MUSB_HOST || USB_MUSB_GADGET
  22. config USB_MUSB_DA8XX
  23. bool "Enable DA8xx MUSB Controller"
  24. depends on ARCH_DAVINCI
  25. help
  26. Say y here to enable support for the dual role high
  27. speed USB controller based on the Mentor Graphics
  28. silicon IP.
  29. config USB_MUSB_TI
  30. bool "Enable TI OTG USB controller"
  31. depends on AM33XX
  32. select USB_MUSB_DSPS
  33. default n
  34. help
  35. Say y here to enable support for the dual role high
  36. speed USB controller based on the Mentor Graphics
  37. silicon IP.
  38. config USB_MUSB_OMAP2PLUS
  39. tristate "OMAP2430 and onwards"
  40. depends on ARCH_OMAP2PLUS
  41. config USB_MUSB_AM35X
  42. bool "AM35x"
  43. config USB_MUSB_DSPS
  44. bool "TI DSPS platforms"
  45. config USB_MUSB_MT85XX
  46. bool "Enable Mediatek MT85XX DRC USB controller"
  47. depends on ARCH_MEDIATEK
  48. default n
  49. help
  50. Say y to enable Mediatek MT85XX USB DRC controller support
  51. if it is available on your Mediatek MUSB IP based platform.
  52. DMA controllers are ignored. This driver follow musb-new
  53. driver and usb gadget framework.
  54. config USB_MUSB_PIC32
  55. bool "Enable Microchip PIC32 DRC USB controller"
  56. depends on MACH_PIC32
  57. help
  58. Say y to enable PIC32 USB DRC controller support
  59. if it is available on your Microchip PIC32 platform.
  60. config USB_MUSB_SUNXI
  61. bool "Enable sunxi OTG / DRC USB controller"
  62. depends on ARCH_SUNXI
  63. default y
  64. ---help---
  65. Say y here to enable support for the sunxi OTG / DRC USB controller
  66. used on almost all sunxi boards.
  67. config USB_MUSB_UX500
  68. bool "Enable ST-Ericsson Ux500 USB controller"
  69. depends on DM_USB && DM_USB_GADGET && ARCH_U8500
  70. default y
  71. help
  72. Say y to enable support for the MUSB OTG USB controller used in
  73. ST-Ericsson Ux500. The driver supports either gadget or host mode
  74. based on the selection of CONFIG_USB_MUSB_HOST.
  75. config USB_MUSB_DISABLE_BULK_COMBINE_SPLIT
  76. bool "Disable MUSB bulk split/combine"
  77. default y
  78. help
  79. On TI AM335x devices, MUSB has bulk split/combine feature enabled
  80. in the ConfigData register, but the current MUSB driver does not
  81. support it yet. Select this option to disable the feature until the
  82. driver adds the support.
  83. endif
  84. config USB_MUSB_PIO_ONLY
  85. bool "Disable DMA (always use PIO)"
  86. default y if USB_MUSB_AM35X || USB_MUSB_PIC32 || USB_MUSB_OMAP2PLUS || USB_MUSB_DSPS || USB_MUSB_SUNXI || USB_MUSB_MT85XX || USB_MUSB_UX500
  87. help
  88. All data is copied between memory and FIFO by the CPU.
  89. DMA controllers are ignored.
  90. config USB_MUSB_FIXED_CONFIGDATA
  91. bool "Hardcode MUSB CONFIGDATA register"
  92. depends on USB_MUSB_SUNXI
  93. default n if MACH_SUN4I || MACH_SUN5I || MACH_SUN6I || MACH_SUN7I || MACH_SUN8I_A23
  94. default y
  95. help
  96. Newer Allwinner SoCs do not implement the MUSB_CONFIGDATA register,
  97. so it always reads 0. Select this option to override this and
  98. return a hardcoded value instead.