Kconfig 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213
  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 SAMSUNG_USBPHY
  68. tristate
  69. help
  70. Enable this to support Samsung USB phy helper driver for Samsung SoCs.
  71. This driver provides common interface to interact, for Samsung USB 2.0 PHY
  72. driver and later for Samsung USB 3.0 PHY driver.
  73. config TWL6030_USB
  74. tristate "TWL6030 USB Transceiver Driver"
  75. depends on TWL4030_CORE && OMAP_USB2 && USB_MUSB_OMAP2PLUS
  76. help
  77. Enable this to support the USB OTG transceiver on TWL6030
  78. family chips. This TWL6030 transceiver has the VBUS and ID GND
  79. and OTG SRP events capabilities. For all other transceiver functionality
  80. UTMI PHY is embedded in OMAP4430. The internal PHY configurations APIs
  81. are hooked to this driver through platform_data structure.
  82. The definition of internal PHY APIs are in the mach-omap2 layer.
  83. config USB_GPIO_VBUS
  84. tristate "GPIO based peripheral-only VBUS sensing 'transceiver'"
  85. depends on GPIOLIB || COMPILE_TEST
  86. depends on USB_GADGET || !USB_GADGET # if USB_GADGET=m, this can't be 'y'
  87. select USB_PHY
  88. help
  89. Provides simple GPIO VBUS sensing for controllers with an
  90. internal transceiver via the usb_phy interface, and
  91. optionally control of a D+ pullup GPIO as well as a VBUS
  92. current limit regulator.
  93. config OMAP_OTG
  94. tristate "OMAP USB OTG controller driver"
  95. depends on ARCH_OMAP_OTG && EXTCON
  96. help
  97. Enable this to support some transceivers on OMAP1 platforms. OTG
  98. controller is needed to switch between host and peripheral modes.
  99. This driver can also be built as a module. If so, the module
  100. will be called phy-omap-otg.
  101. config TAHVO_USB
  102. tristate "Tahvo USB transceiver driver"
  103. depends on MFD_RETU && EXTCON
  104. depends on USB_GADGET || !USB_GADGET # if USB_GADGET=m, this can't be 'y'
  105. select USB_PHY
  106. help
  107. Enable this to support USB transceiver on Tahvo. This is used
  108. at least on Nokia 770.
  109. config TAHVO_USB_HOST_BY_DEFAULT
  110. depends on TAHVO_USB
  111. bool "Device in USB host mode by default"
  112. help
  113. Say Y here, if you want the device to enter USB host mode
  114. by default on bootup.
  115. config USB_ISP1301
  116. tristate "NXP ISP1301 USB transceiver support"
  117. depends on USB || USB_GADGET
  118. depends on I2C
  119. select USB_PHY
  120. help
  121. Say Y here to add support for the NXP ISP1301 USB transceiver driver.
  122. This chip is typically used as USB transceiver for USB host, gadget
  123. and OTG drivers (to be selected separately).
  124. To compile this driver as a module, choose M here: the
  125. module will be called phy-isp1301.
  126. config USB_MSM_OTG
  127. tristate "Qualcomm on-chip USB OTG controller support"
  128. depends on (USB || USB_GADGET) && (ARCH_QCOM || COMPILE_TEST)
  129. depends on USB_GADGET || !USB_GADGET # if USB_GADGET=m, this can't be 'y'
  130. depends on RESET_CONTROLLER
  131. depends on REGULATOR
  132. depends on EXTCON
  133. select USB_PHY
  134. help
  135. Enable this to support the USB OTG transceiver on Qualcomm chips. It
  136. handles PHY initialization, clock management, and workarounds
  137. required after resetting the hardware and power management.
  138. This driver is required even for peripheral only or host only
  139. mode configurations.
  140. This driver is not supported on boards like trout which
  141. has an external PHY.
  142. config USB_QCOM_8X16_PHY
  143. tristate "Qualcomm APQ8016/MSM8916 on-chip USB PHY controller support"
  144. depends on ARCH_QCOM || COMPILE_TEST
  145. depends on RESET_CONTROLLER && EXTCON
  146. select USB_PHY
  147. select USB_ULPI_VIEWPORT
  148. help
  149. Enable this to support the USB transceiver on Qualcomm 8x16 chipsets.
  150. It handles PHY initialization, clock management, power management,
  151. and workarounds required after resetting the hardware.
  152. To compile this driver as a module, choose M here: the
  153. module will be called phy-qcom-8x16-usb.
  154. config USB_MV_OTG
  155. tristate "Marvell USB OTG support"
  156. depends on USB_EHCI_MV && USB_MV_UDC && PM && USB_OTG
  157. depends on USB_GADGET || !USB_GADGET # if USB_GADGET=m, this can't be 'y'
  158. select USB_PHY
  159. help
  160. Say Y here if you want to build Marvell USB OTG transciever
  161. driver in kernel (including PXA and MMP series). This driver
  162. implements role switch between EHCI host driver and gadget driver.
  163. To compile this driver as a module, choose M here.
  164. config USB_MXS_PHY
  165. tristate "Freescale MXS USB PHY support"
  166. depends on ARCH_MXC || ARCH_MXS
  167. select STMP_DEVICE
  168. select USB_PHY
  169. help
  170. Enable this to support the Freescale MXS USB PHY.
  171. MXS Phy is used by some of the i.MX SoCs, for example imx23/28/6x.
  172. config USB_ULPI
  173. bool "Generic ULPI Transceiver Driver"
  174. depends on ARM || ARM64
  175. select USB_ULPI_VIEWPORT
  176. help
  177. Enable this to support ULPI connected USB OTG transceivers which
  178. are likely found on embedded boards.
  179. config USB_ULPI_VIEWPORT
  180. bool
  181. help
  182. Provides read/write operations to the ULPI phy register set for
  183. controllers with a viewport register (e.g. Chipidea/ARC controllers).
  184. endmenu