Kconfig 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205
  1. #
  2. # Physical Layer USB driver configuration
  3. #
  4. menu "USB Physical Layer drivers"
  5. config USB_PHY
  6. def_bool n
  7. #
  8. # USB Transceiver Drivers
  9. #
  10. config AB8500_USB
  11. tristate "AB8500 USB Transceiver Driver"
  12. depends on AB8500_CORE
  13. select USB_PHY
  14. help
  15. Enable this to support the USB OTG transceiver in AB8500 chip.
  16. This transceiver supports high and full speed devices plus,
  17. in host mode, low speed.
  18. config FSL_USB2_OTG
  19. bool "Freescale USB OTG Transceiver Driver"
  20. depends on USB_EHCI_FSL && USB_FSL_USB2 && USB_OTG_FSM && PM
  21. depends on USB_GADGET || !USB_GADGET # if USB_GADGET=m, this can't be 'y'
  22. select USB_PHY
  23. help
  24. Enable this to support Freescale USB OTG transceiver.
  25. config ISP1301_OMAP
  26. tristate "Philips ISP1301 with OMAP OTG"
  27. depends on I2C && ARCH_OMAP_OTG
  28. depends on USB
  29. depends on USB_GADGET || !USB_GADGET # if USB_GADGET=m, this can't be 'y'
  30. select USB_PHY
  31. help
  32. If you say yes here you get support for the Philips ISP1301
  33. USB-On-The-Go transceiver working with the OMAP OTG controller.
  34. The ISP1301 is a full speed USB transceiver which is used in
  35. products including H2, H3, and H4 development boards for Texas
  36. Instruments OMAP processors.
  37. This driver can also be built as a module. If so, the module
  38. will be called phy-isp1301-omap.
  39. config KEYSTONE_USB_PHY
  40. tristate "Keystone USB PHY Driver"
  41. depends on ARCH_KEYSTONE || COMPILE_TEST
  42. depends on NOP_USB_XCEIV
  43. help
  44. Enable this to support Keystone USB phy. This driver provides
  45. interface to interact with USB 2.0 and USB 3.0 PHY that is part
  46. of the Keystone SOC.
  47. config NOP_USB_XCEIV
  48. tristate "NOP USB Transceiver Driver"
  49. depends on USB_GADGET || !USB_GADGET # if USB_GADGET=m, NOP can't be built-in
  50. select USB_PHY
  51. help
  52. This driver is to be used by all the usb transceiver which are either
  53. built-in with usb ip or which are autonomous and doesn't require any
  54. phy programming such as ISP1x04 etc.
  55. config AM335X_CONTROL_USB
  56. tristate
  57. config AM335X_PHY_USB
  58. tristate "AM335x USB PHY Driver"
  59. depends on ARM || COMPILE_TEST
  60. depends on NOP_USB_XCEIV
  61. select USB_PHY
  62. select AM335X_CONTROL_USB
  63. select USB_COMMON
  64. help
  65. This driver provides PHY support for that phy which part for the
  66. AM335x SoC.
  67. config TWL6030_USB
  68. tristate "TWL6030 USB Transceiver Driver"
  69. depends on TWL4030_CORE && OMAP_USB2 && USB_MUSB_OMAP2PLUS
  70. depends on OF
  71. help
  72. Enable this to support the USB OTG transceiver on TWL6030
  73. family chips. This TWL6030 transceiver has the VBUS and ID GND
  74. and OTG SRP events capabilities. For all other transceiver functionality
  75. UTMI PHY is embedded in OMAP4430. The internal PHY configurations APIs
  76. are hooked to this driver through platform_data structure.
  77. The definition of internal PHY APIs are in the mach-omap2 layer.
  78. config USB_GPIO_VBUS
  79. tristate "GPIO based peripheral-only VBUS sensing 'transceiver'"
  80. depends on GPIOLIB || COMPILE_TEST
  81. depends on USB_GADGET || !USB_GADGET # if USB_GADGET=m, this can't be 'y'
  82. select USB_PHY
  83. help
  84. Provides simple GPIO VBUS sensing for controllers with an
  85. internal transceiver via the usb_phy interface, and
  86. optionally control of a D+ pullup GPIO as well as a VBUS
  87. current limit regulator.
  88. config OMAP_OTG
  89. tristate "OMAP USB OTG controller driver"
  90. depends on ARCH_OMAP_OTG && EXTCON
  91. help
  92. Enable this to support some transceivers on OMAP1 platforms. OTG
  93. controller is needed to switch between host and peripheral modes.
  94. This driver can also be built as a module. If so, the module
  95. will be called phy-omap-otg.
  96. config TAHVO_USB
  97. tristate "Tahvo USB transceiver driver"
  98. depends on MFD_RETU && EXTCON
  99. depends on USB_GADGET || !USB_GADGET # if USB_GADGET=m, this can't be 'y'
  100. select USB_PHY
  101. help
  102. Enable this to support USB transceiver on Tahvo. This is used
  103. at least on Nokia 770.
  104. config TAHVO_USB_HOST_BY_DEFAULT
  105. depends on TAHVO_USB
  106. bool "Device in USB host mode by default"
  107. help
  108. Say Y here, if you want the device to enter USB host mode
  109. by default on bootup.
  110. config USB_ISP1301
  111. tristate "NXP ISP1301 USB transceiver support"
  112. depends on USB || USB_GADGET
  113. depends on I2C
  114. select USB_PHY
  115. help
  116. Say Y here to add support for the NXP ISP1301 USB transceiver driver.
  117. This chip is typically used as USB transceiver for USB host, gadget
  118. and OTG drivers (to be selected separately).
  119. To compile this driver as a module, choose M here: the
  120. module will be called phy-isp1301.
  121. config USB_MSM_OTG
  122. tristate "Qualcomm on-chip USB OTG controller support"
  123. depends on (USB || USB_GADGET) && (ARCH_QCOM || COMPILE_TEST)
  124. depends on USB_GADGET || !USB_GADGET # if USB_GADGET=m, this can't be 'y'
  125. depends on RESET_CONTROLLER
  126. depends on EXTCON
  127. select USB_PHY
  128. help
  129. Enable this to support the USB OTG transceiver on Qualcomm chips. It
  130. handles PHY initialization, clock management, and workarounds
  131. required after resetting the hardware and power management.
  132. This driver is required even for peripheral only or host only
  133. mode configurations.
  134. This driver is not supported on boards like trout which
  135. has an external PHY.
  136. config USB_QCOM_8X16_PHY
  137. tristate "Qualcomm APQ8016/MSM8916 on-chip USB PHY controller support"
  138. depends on ARCH_QCOM || COMPILE_TEST
  139. depends on RESET_CONTROLLER && EXTCON
  140. select USB_PHY
  141. select USB_ULPI_VIEWPORT
  142. help
  143. Enable this to support the USB transceiver on Qualcomm 8x16 chipsets.
  144. It handles PHY initialization, clock management, power management,
  145. and workarounds required after resetting the hardware.
  146. To compile this driver as a module, choose M here: the
  147. module will be called phy-qcom-8x16-usb.
  148. config USB_MV_OTG
  149. tristate "Marvell USB OTG support"
  150. depends on USB_EHCI_MV && USB_MV_UDC && PM && USB_OTG
  151. depends on USB_GADGET || !USB_GADGET # if USB_GADGET=m, this can't be 'y'
  152. select USB_PHY
  153. help
  154. Say Y here if you want to build Marvell USB OTG transciever
  155. driver in kernel (including PXA and MMP series). This driver
  156. implements role switch between EHCI host driver and gadget driver.
  157. To compile this driver as a module, choose M here.
  158. config USB_MXS_PHY
  159. tristate "Freescale MXS USB PHY support"
  160. depends on ARCH_MXC || ARCH_MXS
  161. select STMP_DEVICE
  162. select USB_PHY
  163. help
  164. Enable this to support the Freescale MXS USB PHY.
  165. MXS Phy is used by some of the i.MX SoCs, for example imx23/28/6x.
  166. config USB_ULPI
  167. bool "Generic ULPI Transceiver Driver"
  168. depends on ARM || ARM64
  169. select USB_ULPI_VIEWPORT
  170. help
  171. Enable this to support ULPI connected USB OTG transceivers which
  172. are likely found on embedded boards.
  173. config USB_ULPI_VIEWPORT
  174. bool
  175. help
  176. Provides read/write operations to the ULPI phy register set for
  177. controllers with a viewport register (e.g. Chipidea/ARC controllers).
  178. endmenu