Kconfig 8.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268
  1. #
  2. # Physical Layer USB driver configuration
  3. #
  4. menu "USB Physical Layer drivers"
  5. config USB_PHY
  6. def_bool n
  7. config USB_OTG_FSM
  8. tristate "USB 2.0 OTG FSM implementation"
  9. depends on USB
  10. select USB_OTG
  11. select USB_PHY
  12. help
  13. Implements OTG Final State Machine as specified in On-The-Go
  14. and Embedded Host Supplement to the USB Revision 2.0 Specification.
  15. #
  16. # USB Transceiver Drivers
  17. #
  18. config AB8500_USB
  19. tristate "AB8500 USB Transceiver Driver"
  20. depends on AB8500_CORE
  21. select USB_PHY
  22. help
  23. Enable this to support the USB OTG transceiver in AB8500 chip.
  24. This transceiver supports high and full speed devices plus,
  25. in host mode, low speed.
  26. config FSL_USB2_OTG
  27. bool "Freescale USB OTG Transceiver Driver"
  28. depends on USB_EHCI_FSL && USB_FSL_USB2 && USB_OTG_FSM && PM_RUNTIME
  29. select USB_OTG
  30. select USB_PHY
  31. help
  32. Enable this to support Freescale USB OTG transceiver.
  33. config ISP1301_OMAP
  34. tristate "Philips ISP1301 with OMAP OTG"
  35. depends on I2C && ARCH_OMAP_OTG
  36. depends on USB
  37. select USB_PHY
  38. help
  39. If you say yes here you get support for the Philips ISP1301
  40. USB-On-The-Go transceiver working with the OMAP OTG controller.
  41. The ISP1301 is a full speed USB transceiver which is used in
  42. products including H2, H3, and H4 development boards for Texas
  43. Instruments OMAP processors.
  44. This driver can also be built as a module. If so, the module
  45. will be called phy-isp1301-omap.
  46. config KEYSTONE_USB_PHY
  47. tristate "Keystone USB PHY Driver"
  48. depends on ARCH_KEYSTONE || COMPILE_TEST
  49. select NOP_USB_XCEIV
  50. help
  51. Enable this to support Keystone USB phy. This driver provides
  52. interface to interact with USB 2.0 and USB 3.0 PHY that is part
  53. of the Keystone SOC.
  54. config MV_U3D_PHY
  55. bool "Marvell USB 3.0 PHY controller Driver"
  56. depends on CPU_MMP3
  57. select USB_PHY
  58. help
  59. Enable this to support Marvell USB 3.0 phy controller for Marvell
  60. SoC.
  61. config NOP_USB_XCEIV
  62. tristate "NOP USB Transceiver Driver"
  63. select USB_PHY
  64. help
  65. This driver is to be used by all the usb transceiver which are either
  66. built-in with usb ip or which are autonomous and doesn't require any
  67. phy programming such as ISP1x04 etc.
  68. config OMAP_CONTROL_USB
  69. tristate "OMAP CONTROL USB Driver"
  70. depends on ARCH_OMAP2PLUS || COMPILE_TEST
  71. help
  72. Enable this to add support for the USB part present in the control
  73. module. This driver has API to power on the USB2 PHY and to write to
  74. the mailbox. The mailbox is present only in omap4 and the register to
  75. power on the USB2 PHY is present in OMAP4 and OMAP5. OMAP5 has an
  76. additional register to power on USB3 PHY.
  77. config OMAP_USB3
  78. tristate "OMAP USB3 PHY Driver"
  79. depends on ARCH_OMAP2PLUS || COMPILE_TEST
  80. select OMAP_CONTROL_USB
  81. select USB_PHY
  82. help
  83. Enable this to support the USB3 PHY that is part of SOC. This
  84. driver takes care of all the PHY functionality apart from comparator.
  85. This driver interacts with the "OMAP Control USB Driver" to power
  86. on/off the PHY.
  87. config AM335X_CONTROL_USB
  88. tristate
  89. config AM335X_PHY_USB
  90. tristate "AM335x USB PHY Driver"
  91. depends on ARM || COMPILE_TEST
  92. select USB_PHY
  93. select AM335X_CONTROL_USB
  94. select NOP_USB_XCEIV
  95. help
  96. This driver provides PHY support for that phy which part for the
  97. AM335x SoC.
  98. config SAMSUNG_USBPHY
  99. tristate
  100. help
  101. Enable this to support Samsung USB phy helper driver for Samsung SoCs.
  102. This driver provides common interface to interact, for Samsung USB 2.0 PHY
  103. driver and later for Samsung USB 3.0 PHY driver.
  104. config SAMSUNG_USB2PHY
  105. tristate "Samsung USB 2.0 PHY controller Driver"
  106. select SAMSUNG_USBPHY
  107. select USB_PHY
  108. help
  109. Enable this to support Samsung USB 2.0 (High Speed) PHY controller
  110. driver for Samsung SoCs.
  111. config SAMSUNG_USB3PHY
  112. tristate "Samsung USB 3.0 PHY controller Driver"
  113. select SAMSUNG_USBPHY
  114. select USB_PHY
  115. help
  116. Enable this to support Samsung USB 3.0 (Super Speed) phy controller
  117. for samsung SoCs.
  118. config TWL6030_USB
  119. tristate "TWL6030 USB Transceiver Driver"
  120. depends on TWL4030_CORE && OMAP_USB2 && USB_MUSB_OMAP2PLUS
  121. help
  122. Enable this to support the USB OTG transceiver on TWL6030
  123. family chips. This TWL6030 transceiver has the VBUS and ID GND
  124. and OTG SRP events capabilities. For all other transceiver functionality
  125. UTMI PHY is embedded in OMAP4430. The internal PHY configurations APIs
  126. are hooked to this driver through platform_data structure.
  127. The definition of internal PHY APIs are in the mach-omap2 layer.
  128. config USB_GPIO_VBUS
  129. tristate "GPIO based peripheral-only VBUS sensing 'transceiver'"
  130. depends on GPIOLIB
  131. select USB_PHY
  132. help
  133. Provides simple GPIO VBUS sensing for controllers with an
  134. internal transceiver via the usb_phy interface, and
  135. optionally control of a D+ pullup GPIO as well as a VBUS
  136. current limit regulator.
  137. config OMAP_OTG
  138. tristate "OMAP USB OTG controller driver"
  139. depends on ARCH_OMAP_OTG && EXTCON
  140. help
  141. Enable this to support some transceivers on OMAP1 platforms. OTG
  142. controller is needed to switch between host and peripheral modes.
  143. This driver can also be built as a module. If so, the module
  144. will be called phy-omap-otg.
  145. config TAHVO_USB
  146. tristate "Tahvo USB transceiver driver"
  147. depends on MFD_RETU && EXTCON
  148. select USB_PHY
  149. help
  150. Enable this to support USB transceiver on Tahvo. This is used
  151. at least on Nokia 770.
  152. config TAHVO_USB_HOST_BY_DEFAULT
  153. depends on TAHVO_USB
  154. boolean "Device in USB host mode by default"
  155. help
  156. Say Y here, if you want the device to enter USB host mode
  157. by default on bootup.
  158. config USB_ISP1301
  159. tristate "NXP ISP1301 USB transceiver support"
  160. depends on USB || USB_GADGET
  161. depends on I2C
  162. select USB_PHY
  163. help
  164. Say Y here to add support for the NXP ISP1301 USB transceiver driver.
  165. This chip is typically used as USB transceiver for USB host, gadget
  166. and OTG drivers (to be selected separately).
  167. To compile this driver as a module, choose M here: the
  168. module will be called phy-isp1301.
  169. config USB_MSM_OTG
  170. tristate "OTG support for Qualcomm on-chip USB controller"
  171. depends on (USB || USB_GADGET) && ARCH_MSM
  172. select USB_PHY
  173. help
  174. Enable this to support the USB OTG transceiver on MSM chips. It
  175. handles PHY initialization, clock management, and workarounds
  176. required after resetting the hardware and power management.
  177. This driver is required even for peripheral only or host only
  178. mode configurations.
  179. This driver is not supported on boards like trout which
  180. has an external PHY.
  181. config USB_MV_OTG
  182. tristate "Marvell USB OTG support"
  183. depends on USB_EHCI_MV && USB_MV_UDC && PM_RUNTIME
  184. select USB_OTG
  185. select USB_PHY
  186. help
  187. Say Y here if you want to build Marvell USB OTG transciever
  188. driver in kernel (including PXA and MMP series). This driver
  189. implements role switch between EHCI host driver and gadget driver.
  190. To compile this driver as a module, choose M here.
  191. config USB_MXS_PHY
  192. tristate "Freescale MXS USB PHY support"
  193. depends on ARCH_MXC || ARCH_MXS
  194. select STMP_DEVICE
  195. select USB_PHY
  196. help
  197. Enable this to support the Freescale MXS USB PHY.
  198. MXS Phy is used by some of the i.MX SoCs, for example imx23/28/6x.
  199. config USB_RCAR_PHY
  200. tristate "Renesas R-Car USB PHY support"
  201. depends on USB || USB_GADGET
  202. select USB_PHY
  203. help
  204. Say Y here to add support for the Renesas R-Car USB common PHY driver.
  205. This chip is typically used as USB PHY for USB host, gadget.
  206. This driver supports R8A7778 and R8A7779.
  207. To compile this driver as a module, choose M here: the
  208. module will be called phy-rcar-usb.
  209. config USB_RCAR_GEN2_PHY
  210. tristate "Renesas R-Car Gen2 USB PHY support"
  211. depends on ARCH_R8A7790 || ARCH_R8A7791 || COMPILE_TEST
  212. select USB_PHY
  213. help
  214. Say Y here to add support for the Renesas R-Car Gen2 USB PHY driver.
  215. It is typically used to control internal USB PHY for USBHS,
  216. and to configure shared USB channels 0 and 2.
  217. This driver supports R8A7790 and R8A7791.
  218. To compile this driver as a module, choose M here: the
  219. module will be called phy-rcar-gen2-usb.
  220. config USB_ULPI
  221. bool "Generic ULPI Transceiver Driver"
  222. depends on ARM
  223. help
  224. Enable this to support ULPI connected USB OTG transceivers which
  225. are likely found on embedded boards.
  226. config USB_ULPI_VIEWPORT
  227. bool
  228. depends on USB_ULPI
  229. help
  230. Provides read/write operations to the ULPI phy register set for
  231. controllers with a viewport register (e.g. Chipidea/ARC controllers).
  232. endmenu