Kconfig 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. # SPDX-License-Identifier: GPL-2.0-only
  2. #
  3. # Phy drivers for Mediatek devices
  4. #
  5. config PHY_MTK_PCIE
  6. tristate "MediaTek PCIe-PHY Driver"
  7. depends on ARCH_MEDIATEK || COMPILE_TEST
  8. depends on OF
  9. select GENERIC_PHY
  10. help
  11. Say 'Y' here to add support for MediaTek PCIe PHY driver.
  12. This driver create the basic PHY instance and provides initialize
  13. callback for PCIe GEN3 port, it supports software efuse
  14. initialization.
  15. config PHY_MTK_XFI_TPHY
  16. tristate "MediaTek 10GE SerDes XFI T-PHY driver"
  17. depends on ARCH_MEDIATEK || COMPILE_TEST
  18. depends on OF
  19. select GENERIC_PHY
  20. help
  21. Say 'Y' here to add support for MediaTek XFI T-PHY driver.
  22. The driver provides access to the Ethernet SerDes T-PHY supporting
  23. 1GE and 2.5GE modes via the LynxI PCS, and 5GE and 10GE modes
  24. via the USXGMII PCS found in MediaTek SoCs with 10G Ethernet.
  25. config PHY_MTK_TPHY
  26. tristate "MediaTek T-PHY Driver"
  27. depends on ARCH_MEDIATEK || COMPILE_TEST
  28. depends on OF && OF_ADDRESS
  29. depends on HAS_IOMEM
  30. select GENERIC_PHY
  31. help
  32. Say 'Y' here to add support for MediaTek T-PHY driver,
  33. it supports multiple usb2.0, usb3.0 ports, PCIe and
  34. SATA, and meanwhile supports two version T-PHY which have
  35. different banks layout, the T-PHY with shared banks between
  36. multi-ports is first version, otherwise is second version,
  37. so you can easily distinguish them by banks layout.
  38. config PHY_MTK_UFS
  39. tristate "MediaTek UFS M-PHY driver"
  40. depends on ARCH_MEDIATEK || COMPILE_TEST
  41. depends on OF
  42. select GENERIC_PHY
  43. help
  44. Support for UFS M-PHY on MediaTek chipsets.
  45. Enable this to provide vendor-specific probing,
  46. initialization, power on and power off flow of
  47. specified M-PHYs.
  48. config PHY_MTK_XSPHY
  49. tristate "MediaTek XS-PHY Driver"
  50. depends on ARCH_MEDIATEK || COMPILE_TEST
  51. depends on OF && OF_ADDRESS
  52. depends on HAS_IOMEM
  53. select GENERIC_PHY
  54. help
  55. Enable this to support the SuperSpeedPlus XS-PHY transceiver for
  56. USB3.1 GEN2 controllers on MediaTek chips. The driver supports
  57. multiple USB2.0, USB3.1 GEN2 ports.
  58. config PHY_MTK_HDMI
  59. tristate "MediaTek HDMI-PHY Driver"
  60. depends on ARCH_MEDIATEK || COMPILE_TEST
  61. depends on COMMON_CLK
  62. depends on OF
  63. select GENERIC_PHY
  64. help
  65. Support HDMI PHY for Mediatek SoCs.
  66. config PHY_MTK_MIPI_CSI_0_5
  67. tristate "MediaTek MIPI CSI CD-PHY v0.5 Driver"
  68. depends on ARCH_MEDIATEK || COMPILE_TEST
  69. depends on OF
  70. select GENERIC_PHY
  71. help
  72. Enable this to support the MIPI CSI CD-PHY receiver version 0.5.
  73. The driver supports multiple CSI cdphy ports simultaneously.
  74. To compile this driver as a module, choose M here: the
  75. module will be called phy-mtk-mipi-csi-0-5.
  76. config PHY_MTK_MIPI_DSI
  77. tristate "MediaTek MIPI-DSI Driver"
  78. depends on ARCH_MEDIATEK || COMPILE_TEST
  79. depends on COMMON_CLK
  80. depends on OF
  81. select GENERIC_PHY
  82. help
  83. Support MIPI DSI for Mediatek SoCs.
  84. config PHY_MTK_DP
  85. tristate "MediaTek DP-PHY Driver"
  86. depends on ARCH_MEDIATEK || COMPILE_TEST
  87. depends on OF
  88. select GENERIC_PHY
  89. help
  90. Support DisplayPort PHY for MediaTek SoCs.