Kconfig 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180
  1. # SPDX-License-Identifier: GPL-2.0-only
  2. #
  3. # PHY
  4. #
  5. menu "PHY Subsystem"
  6. config PHY_COMMON_PROPS
  7. bool "PHY common properties" if KUNIT_ALL_TESTS
  8. help
  9. This parses properties common between generic PHYs and Ethernet PHYs.
  10. Select this from consumer drivers to gain access to helpers for
  11. parsing properties from the
  12. Documentation/devicetree/bindings/phy/phy-common-props.yaml schema.
  13. config PHY_COMMON_PROPS_TEST
  14. tristate "KUnit tests for PHY common props" if !KUNIT_ALL_TESTS
  15. depends on KUNIT && PHY_COMMON_PROPS
  16. default KUNIT_ALL_TESTS
  17. help
  18. This builds KUnit tests for the PHY common property API.
  19. For more information on KUnit and unit tests in general,
  20. please refer to the KUnit documentation in Documentation/dev-tools/kunit/.
  21. When in doubt, say N.
  22. config GENERIC_PHY
  23. bool "PHY Core"
  24. help
  25. Generic PHY support.
  26. This framework is designed to provide a generic interface for PHY
  27. devices present in the kernel. This layer will have the generic
  28. API by which phy drivers can create PHY using the phy framework and
  29. phy users can obtain reference to the PHY. All the users of this
  30. framework should select this config.
  31. config GENERIC_PHY_MIPI_DPHY
  32. bool
  33. select GENERIC_PHY
  34. help
  35. Generic MIPI D-PHY support.
  36. Provides a number of helpers a core functions for MIPI D-PHY
  37. drivers to us.
  38. config PHY_GOOGLE_USB
  39. tristate "Google Tensor SoC USB PHY driver"
  40. select GENERIC_PHY
  41. depends on TYPEC
  42. help
  43. Enable support for the USB PHY on Google Tensor SoCs, starting with
  44. the G5 generation (Laguna). This driver provides the PHY interfaces
  45. to interact with the SNPS eUSB2 and USB 3.2/DisplayPort Combo PHY,
  46. both of which are integrated with the DWC3 USB DRD controller.
  47. This driver currently supports USB high-speed.
  48. config PHY_LPC18XX_USB_OTG
  49. tristate "NXP LPC18xx/43xx SoC USB OTG PHY driver"
  50. depends on OF && (ARCH_LPC18XX || COMPILE_TEST)
  51. depends on MFD_SYSCON
  52. select GENERIC_PHY
  53. help
  54. Enable this to support NXP LPC18xx/43xx internal USB OTG PHY.
  55. This driver is need for USB0 support on LPC18xx/43xx and takes
  56. care of enabling and clock setup.
  57. config PHY_PISTACHIO_USB
  58. tristate "IMG Pistachio USB2.0 PHY driver"
  59. depends on MIPS || COMPILE_TEST
  60. select GENERIC_PHY
  61. help
  62. Enable this to support the USB2.0 PHY on the IMG Pistachio SoC.
  63. config PHY_SNPS_EUSB2
  64. tristate "SNPS eUSB2 PHY Driver"
  65. depends on OF && (ARCH_EXYNOS || ARCH_QCOM || COMPILE_TEST)
  66. select GENERIC_PHY
  67. help
  68. Enable support for the USB high-speed SNPS eUSB2 phy on select
  69. SoCs. The PHY is usually paired with a Synopsys DWC3 USB controller.
  70. config PHY_XGENE
  71. tristate "APM X-Gene 15Gbps PHY support"
  72. depends on HAS_IOMEM && OF && (ARCH_XGENE || COMPILE_TEST)
  73. select GENERIC_PHY
  74. help
  75. This option enables support for APM X-Gene SoC multi-purpose PHY.
  76. config USB_LGM_PHY
  77. tristate "INTEL Lightning Mountain USB PHY Driver"
  78. depends on USB_SUPPORT
  79. depends on X86 || COMPILE_TEST
  80. select USB_PHY
  81. select REGULATOR
  82. select REGULATOR_FIXED_VOLTAGE
  83. help
  84. Enable this to support Intel DWC3 PHY USB phy. This driver provides
  85. interface to interact with USB GEN-II and USB 3.x PHY that is part
  86. of the Intel network SOC.
  87. config PHY_CAN_TRANSCEIVER
  88. tristate "CAN transceiver PHY"
  89. select GENERIC_PHY
  90. select MULTIPLEXER
  91. help
  92. This option enables support for CAN transceivers as a PHY. This
  93. driver provides function for putting the transceivers in various
  94. functional modes using gpios and sets the attribute max link
  95. rate, for CAN drivers.
  96. config PHY_AIROHA_PCIE
  97. tristate "Airoha PCIe-PHY Driver"
  98. depends on ARCH_AIROHA || COMPILE_TEST
  99. depends on OF
  100. select GENERIC_PHY
  101. help
  102. Say Y here to add support for Airoha PCIe PHY driver.
  103. This driver create the basic PHY instance and provides initialize
  104. callback for PCIe GEN3 port.
  105. config PHY_NXP_PTN3222
  106. tristate "NXP PTN3222 1-port eUSB2 to USB2 redriver"
  107. depends on I2C
  108. depends on OF
  109. select GENERIC_PHY
  110. help
  111. Enable this to support NXP PTN3222 1-port eUSB2 to USB2 Redriver.
  112. This redriver performs translation between eUSB2 and USB2 signalling
  113. schemes. It supports all three USB 2.0 data rates: Low Speed, Full
  114. Speed and High Speed.
  115. config PHY_SPACEMIT_K1_PCIE
  116. tristate "PCIe and combo PHY driver for the SpacemiT K1 SoC"
  117. depends on ARCH_SPACEMIT || COMPILE_TEST
  118. depends on COMMON_CLK
  119. depends on HAS_IOMEM
  120. depends on OF
  121. select GENERIC_PHY
  122. default ARCH_SPACEMIT
  123. help
  124. Enable support for the PCIe and USB 3 combo PHY and two
  125. PCIe-only PHYs used in the SpacemiT K1 SoC.
  126. source "drivers/phy/allwinner/Kconfig"
  127. source "drivers/phy/amlogic/Kconfig"
  128. source "drivers/phy/apple/Kconfig"
  129. source "drivers/phy/broadcom/Kconfig"
  130. source "drivers/phy/cadence/Kconfig"
  131. source "drivers/phy/freescale/Kconfig"
  132. source "drivers/phy/hisilicon/Kconfig"
  133. source "drivers/phy/ingenic/Kconfig"
  134. source "drivers/phy/lantiq/Kconfig"
  135. source "drivers/phy/marvell/Kconfig"
  136. source "drivers/phy/mediatek/Kconfig"
  137. source "drivers/phy/microchip/Kconfig"
  138. source "drivers/phy/motorola/Kconfig"
  139. source "drivers/phy/mscc/Kconfig"
  140. source "drivers/phy/nuvoton/Kconfig"
  141. source "drivers/phy/qualcomm/Kconfig"
  142. source "drivers/phy/ralink/Kconfig"
  143. source "drivers/phy/realtek/Kconfig"
  144. source "drivers/phy/renesas/Kconfig"
  145. source "drivers/phy/rockchip/Kconfig"
  146. source "drivers/phy/samsung/Kconfig"
  147. source "drivers/phy/socionext/Kconfig"
  148. source "drivers/phy/sophgo/Kconfig"
  149. source "drivers/phy/spacemit/Kconfig"
  150. source "drivers/phy/st/Kconfig"
  151. source "drivers/phy/starfive/Kconfig"
  152. source "drivers/phy/sunplus/Kconfig"
  153. source "drivers/phy/tegra/Kconfig"
  154. source "drivers/phy/ti/Kconfig"
  155. source "drivers/phy/intel/Kconfig"
  156. source "drivers/phy/xilinx/Kconfig"
  157. endmenu