1# SPDX-License-Identifier: GPL-2.0-only 2# 3# Phy drivers for Mediatek devices 4# 5config 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 16config PHY_MTK_PCIE_SPHY 17 tristate "MediaTek PCIe S-PHY Driver" 18 depends on ARCH_MEDIATEK || COMPILE_TEST 19 depends on OF 20 select GENERIC_PHY 21 help 22 Enable this to add support for MediaTek PCIe S-PHYs used with the 23 PCI-Express Gen4 controllers as found in MT6991, MT8196 and others. 24 25 To compile this driver as module, say 'M' here: the module will be 26 called phy-mtk-pcie-sphy. 27 28config PHY_MTK_XFI_TPHY 29 tristate "MediaTek 10GE SerDes XFI T-PHY driver" 30 depends on ARCH_MEDIATEK || COMPILE_TEST 31 depends on OF 32 select GENERIC_PHY 33 help 34 Say 'Y' here to add support for MediaTek XFI T-PHY driver. 35 The driver provides access to the Ethernet SerDes T-PHY supporting 36 1GE and 2.5GE modes via the LynxI PCS, and 5GE and 10GE modes 37 via the USXGMII PCS found in MediaTek SoCs with 10G Ethernet. 38 39config PHY_MTK_TPHY 40 tristate "MediaTek T-PHY Driver" 41 depends on ARCH_MEDIATEK || COMPILE_TEST 42 depends on OF && OF_ADDRESS 43 depends on HAS_IOMEM 44 select GENERIC_PHY 45 help 46 Say 'Y' here to add support for MediaTek T-PHY driver, 47 it supports multiple usb2.0, usb3.0 ports, PCIe and 48 SATA, and meanwhile supports two version T-PHY which have 49 different banks layout, the T-PHY with shared banks between 50 multi-ports is first version, otherwise is second version, 51 so you can easily distinguish them by banks layout. 52 53config PHY_MTK_UFS 54 tristate "MediaTek UFS M-PHY driver" 55 depends on ARCH_MEDIATEK || COMPILE_TEST 56 depends on OF 57 select GENERIC_PHY 58 help 59 Support for UFS M-PHY on MediaTek chipsets. 60 Enable this to provide vendor-specific probing, 61 initialization, power on and power off flow of 62 specified M-PHYs. 63 64config PHY_MTK_XSPHY 65 tristate "MediaTek XS-PHY Driver" 66 depends on ARCH_MEDIATEK || COMPILE_TEST 67 depends on OF && OF_ADDRESS 68 depends on HAS_IOMEM 69 select GENERIC_PHY 70 help 71 Enable this to support the SuperSpeedPlus XS-PHY transceiver for 72 USB3.1 GEN2 controllers on MediaTek chips. The driver supports 73 multiple USB2.0, USB3.1 GEN2 ports. 74 75config PHY_MTK_HDMI 76 tristate "MediaTek HDMI-PHY Driver" 77 depends on ARCH_MEDIATEK || COMPILE_TEST 78 depends on COMMON_CLK 79 depends on OF 80 depends on REGULATOR 81 select GENERIC_PHY 82 help 83 Support HDMI PHY for Mediatek SoCs. 84 85config PHY_MTK_MIPI_CSI_0_5 86 tristate "MediaTek MIPI CSI CD-PHY v0.5 Driver" 87 depends on ARCH_MEDIATEK || COMPILE_TEST 88 depends on OF 89 select GENERIC_PHY 90 help 91 Enable this to support the MIPI CSI CD-PHY receiver version 0.5. 92 The driver supports multiple CSI cdphy ports simultaneously. 93 94 To compile this driver as a module, choose M here: the 95 module will be called phy-mtk-mipi-csi-0-5. 96 97config PHY_MTK_MIPI_DSI 98 tristate "MediaTek MIPI-DSI Driver" 99 depends on ARCH_MEDIATEK || COMPILE_TEST 100 depends on COMMON_CLK 101 depends on OF 102 select GENERIC_PHY 103 help 104 Support MIPI DSI for Mediatek SoCs. 105 106config PHY_MTK_DP 107 tristate "MediaTek DP-PHY Driver" 108 depends on ARCH_MEDIATEK || COMPILE_TEST 109 depends on OF 110 select GENERIC_PHY 111 help 112 Support DisplayPort PHY for MediaTek SoCs. 113