Kconfig 5.4 KB

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