Kconfig 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220
  1. # SPDX-License-Identifier: GPL-2.0-only
  2. #
  3. # Phy drivers for Qualcomm and Atheros platforms
  4. #
  5. config PHY_ATH79_USB
  6. tristate "Atheros AR71XX/9XXX USB PHY driver"
  7. depends on OF && (ATH79 || COMPILE_TEST)
  8. default y if USB_EHCI_HCD_PLATFORM || USB_OHCI_HCD_PLATFORM
  9. select RESET_CONTROLLER
  10. select GENERIC_PHY
  11. help
  12. Enable this to support the USB PHY on Atheros AR71XX/9XXX SoCs.
  13. config PHY_QCOM_APQ8064_SATA
  14. tristate "Qualcomm APQ8064 SATA SerDes/PHY driver"
  15. depends on ARCH_QCOM
  16. depends on HAS_IOMEM
  17. depends on OF
  18. select GENERIC_PHY
  19. config PHY_QCOM_EDP
  20. tristate "Qualcomm eDP PHY driver"
  21. depends on ARCH_QCOM || COMPILE_TEST
  22. depends on OF
  23. depends on COMMON_CLK
  24. select GENERIC_PHY
  25. help
  26. Enable this driver to support the Qualcomm eDP PHY found in various
  27. Qualcomm chipsets.
  28. config PHY_QCOM_IPQ4019_USB
  29. tristate "Qualcomm IPQ4019 USB PHY driver"
  30. depends on OF && (ARCH_QCOM || COMPILE_TEST)
  31. select GENERIC_PHY
  32. help
  33. Support for the USB PHY-s on Qualcomm IPQ40xx SoC-s.
  34. config PHY_QCOM_IPQ806X_SATA
  35. tristate "Qualcomm IPQ806x SATA SerDes/PHY driver"
  36. depends on ARCH_QCOM
  37. depends on HAS_IOMEM
  38. depends on OF
  39. select GENERIC_PHY
  40. config PHY_QCOM_PCIE2
  41. tristate "Qualcomm PCIe Gen2 PHY Driver"
  42. depends on OF && COMMON_CLK && (ARCH_QCOM || COMPILE_TEST)
  43. select GENERIC_PHY
  44. help
  45. Enable this to support the Qualcomm PCIe PHY, used with the Synopsys
  46. based PCIe controller.
  47. menuconfig PHY_QCOM_QMP
  48. tristate "Qualcomm QMP PHY Drivers"
  49. depends on OF && COMMON_CLK && (ARCH_QCOM || COMPILE_TEST)
  50. if PHY_QCOM_QMP
  51. config PHY_QCOM_QMP_COMBO
  52. tristate "Qualcomm QMP Combo PHY Driver"
  53. default PHY_QCOM_QMP
  54. depends on TYPEC || TYPEC=n
  55. depends on DRM || DRM=n
  56. select GENERIC_PHY
  57. select MFD_SYSCON
  58. select DRM_AUX_BRIDGE if DRM_BRIDGE
  59. help
  60. Enable this to support the QMP Combo PHY transceiver that is used
  61. with USB3 and DisplayPort controllers on Qualcomm chips.
  62. config PHY_QCOM_QMP_PCIE
  63. tristate "Qualcomm QMP PCIe PHY Driver"
  64. depends on PCI || COMPILE_TEST
  65. select GENERIC_PHY
  66. default PHY_QCOM_QMP
  67. help
  68. Enable this to support the QMP PCIe PHY transceiver that is used
  69. with PCIe controllers on Qualcomm chips.
  70. config PHY_QCOM_QMP_PCIE_8996
  71. tristate "Qualcomm QMP PCIe 8996 PHY Driver"
  72. depends on PCI || COMPILE_TEST
  73. select GENERIC_PHY
  74. default PHY_QCOM_QMP
  75. help
  76. Enable this to support the QMP PCIe PHY transceiver that is used
  77. with PCIe controllers on Qualcomm msm8996 chips.
  78. config PHY_QCOM_QMP_UFS
  79. tristate "Qualcomm QMP UFS PHY Driver"
  80. select GENERIC_PHY
  81. default PHY_QCOM_QMP
  82. help
  83. Enable this to support the QMP UFS PHY transceiver that is used
  84. with UFS controllers on Qualcomm chips.
  85. config PHY_QCOM_QMP_USB
  86. tristate "Qualcomm QMP USB PHY Driver"
  87. select GENERIC_PHY
  88. default PHY_QCOM_QMP
  89. help
  90. Enable this to support the QMP USB PHY transceiver that is used
  91. with USB3 controllers on Qualcomm chips.
  92. config PHY_QCOM_QMP_USB_LEGACY
  93. tristate "Qualcomm QMP legacy USB PHY Driver"
  94. select GENERIC_PHY
  95. default n
  96. help
  97. Enable this legacy driver to support the QMP USB+DisplayPort Combo
  98. PHY transceivers working only in USB3 mode on Qualcomm chips. This
  99. driver exists only for compatibility with older device trees,
  100. existing users have been migrated to PHY_QCOM_QMP_COMBO driver.
  101. endif # PHY_QCOM_QMP
  102. config PHY_QCOM_QUSB2
  103. tristate "Qualcomm QUSB2 PHY Driver"
  104. depends on OF && (ARCH_QCOM || COMPILE_TEST)
  105. depends on NVMEM || !NVMEM
  106. select GENERIC_PHY
  107. help
  108. Enable this to support the HighSpeed QUSB2 PHY transceiver for USB
  109. controllers on Qualcomm chips. This driver supports the high-speed
  110. PHY which is usually paired with either the ChipIdea or Synopsys DWC3
  111. USB IPs on MSM SOCs.
  112. config PHY_QCOM_SNPS_EUSB2
  113. tristate "Qualcomm SNPS eUSB2 PHY Driver"
  114. depends on OF && (ARCH_QCOM || COMPILE_TEST)
  115. select GENERIC_PHY
  116. help
  117. Enable support for the USB high-speed SNPS eUSB2 phy on Qualcomm
  118. chipsets. The PHY is paired with a Synopsys DWC3 USB controller
  119. on Qualcomm SOCs.
  120. config PHY_QCOM_EUSB2_REPEATER
  121. tristate "Qualcomm SNPS eUSB2 Repeater Driver"
  122. depends on OF && (ARCH_QCOM || COMPILE_TEST)
  123. select GENERIC_PHY
  124. help
  125. Enable support for the USB high-speed SNPS eUSB2 repeater on Qualcomm
  126. PMICs. The repeater is paired with a Synopsys eUSB2 Phy
  127. on Qualcomm SOCs.
  128. config PHY_QCOM_M31_USB
  129. tristate "Qualcomm M31 HS PHY driver support"
  130. depends on USB && (ARCH_QCOM || COMPILE_TEST)
  131. select GENERIC_PHY
  132. help
  133. Enable this to support M31 HS PHY transceivers on Qualcomm chips
  134. with DWC3 USB core. It handles PHY initialization, clock
  135. management required after resetting the hardware and power
  136. management. This driver is required even for peripheral only or
  137. host only mode configurations.
  138. config PHY_QCOM_USB_HS
  139. tristate "Qualcomm USB HS PHY module"
  140. depends on USB_ULPI_BUS
  141. depends on EXTCON || !EXTCON # if EXTCON=m, this cannot be built-in
  142. select GENERIC_PHY
  143. help
  144. Support for the USB high-speed ULPI compliant phy on Qualcomm
  145. chipsets.
  146. config PHY_QCOM_USB_SNPS_FEMTO_V2
  147. tristate "Qualcomm SNPS FEMTO USB HS PHY V2 module"
  148. depends on OF && (ARCH_QCOM || COMPILE_TEST)
  149. select GENERIC_PHY
  150. help
  151. Enable support for the USB high-speed SNPS Femto phy on Qualcomm
  152. chipsets. This PHY has differences in the register map compared
  153. to the V1 variants. The PHY is paired with a Synopsys DWC3 USB
  154. controller on Qualcomm SOCs.
  155. config PHY_QCOM_USB_HSIC
  156. tristate "Qualcomm USB HSIC ULPI PHY module"
  157. depends on USB_ULPI_BUS
  158. select GENERIC_PHY
  159. help
  160. Support for the USB HSIC ULPI compliant PHY on QCOM chipsets.
  161. config PHY_QCOM_USB_HS_28NM
  162. tristate "Qualcomm 28nm High-Speed PHY"
  163. depends on OF && (ARCH_QCOM || COMPILE_TEST)
  164. depends on EXTCON || !EXTCON # if EXTCON=m, this cannot be built-in
  165. select GENERIC_PHY
  166. help
  167. Enable this to support the Qualcomm Synopsys DesignWare Core 28nm
  168. High-Speed PHY driver. This driver supports the Hi-Speed PHY which
  169. is usually paired with either the ChipIdea or Synopsys DWC3 USB
  170. IPs on MSM SOCs.
  171. config PHY_QCOM_USB_SS
  172. tristate "Qualcomm USB Super-Speed PHY driver"
  173. depends on OF && (ARCH_QCOM || COMPILE_TEST)
  174. depends on EXTCON || !EXTCON # if EXTCON=m, this cannot be built-in
  175. select GENERIC_PHY
  176. help
  177. Enable this to support the Super-Speed USB transceiver on various
  178. Qualcomm chipsets.
  179. config PHY_QCOM_IPQ806X_USB
  180. tristate "Qualcomm IPQ806x DWC3 USB PHY driver"
  181. depends on HAS_IOMEM
  182. depends on OF && (ARCH_QCOM || COMPILE_TEST)
  183. select GENERIC_PHY
  184. help
  185. This option enables support for the Synopsis PHYs present inside the
  186. Qualcomm USB3.0 DWC3 controller on ipq806x SoC. This driver supports
  187. both HS and SS PHY controllers.
  188. config PHY_QCOM_SGMII_ETH
  189. tristate "Qualcomm DWMAC SGMII SerDes/PHY driver"
  190. depends on OF && (ARCH_QCOM || COMPILE_TEST)
  191. depends on HAS_IOMEM
  192. select GENERIC_PHY
  193. help
  194. Enable this to support the internal SerDes/SGMII PHY on various
  195. Qualcomm chipsets.