100 lines · plain
1# SPDX-License-Identifier: GPL-2.0-only2#3# Phy drivers for Mediatek devices4#5config PHY_MTK_PCIE6 tristate "MediaTek PCIe-PHY Driver"7 depends on ARCH_MEDIATEK || COMPILE_TEST8 depends on OF9 select GENERIC_PHY10 help11 Say 'Y' here to add support for MediaTek PCIe PHY driver.12 This driver create the basic PHY instance and provides initialize13 callback for PCIe GEN3 port, it supports software efuse14 initialization.15 16config PHY_MTK_XFI_TPHY17 tristate "MediaTek 10GE SerDes XFI T-PHY driver"18 depends on ARCH_MEDIATEK || COMPILE_TEST19 depends on OF20 select GENERIC_PHY21 help22 Say 'Y' here to add support for MediaTek XFI T-PHY driver.23 The driver provides access to the Ethernet SerDes T-PHY supporting24 1GE and 2.5GE modes via the LynxI PCS, and 5GE and 10GE modes25 via the USXGMII PCS found in MediaTek SoCs with 10G Ethernet.26 27config PHY_MTK_TPHY28 tristate "MediaTek T-PHY Driver"29 depends on ARCH_MEDIATEK || COMPILE_TEST30 depends on OF && OF_ADDRESS31 depends on HAS_IOMEM32 select GENERIC_PHY33 help34 Say 'Y' here to add support for MediaTek T-PHY driver,35 it supports multiple usb2.0, usb3.0 ports, PCIe and36 SATA, and meanwhile supports two version T-PHY which have37 different banks layout, the T-PHY with shared banks between38 multi-ports is first version, otherwise is second version,39 so you can easily distinguish them by banks layout.40 41config PHY_MTK_UFS42 tristate "MediaTek UFS M-PHY driver"43 depends on ARCH_MEDIATEK || COMPILE_TEST44 depends on OF45 select GENERIC_PHY46 help47 Support for UFS M-PHY on MediaTek chipsets.48 Enable this to provide vendor-specific probing,49 initialization, power on and power off flow of50 specified M-PHYs.51 52config PHY_MTK_XSPHY53 tristate "MediaTek XS-PHY Driver"54 depends on ARCH_MEDIATEK || COMPILE_TEST55 depends on OF && OF_ADDRESS56 depends on HAS_IOMEM57 select GENERIC_PHY58 help59 Enable this to support the SuperSpeedPlus XS-PHY transceiver for60 USB3.1 GEN2 controllers on MediaTek chips. The driver supports61 multiple USB2.0, USB3.1 GEN2 ports.62 63config PHY_MTK_HDMI64 tristate "MediaTek HDMI-PHY Driver"65 depends on ARCH_MEDIATEK || COMPILE_TEST66 depends on COMMON_CLK67 depends on OF68 select GENERIC_PHY69 help70 Support HDMI PHY for Mediatek SoCs.71 72config PHY_MTK_MIPI_CSI_0_573 tristate "MediaTek MIPI CSI CD-PHY v0.5 Driver"74 depends on ARCH_MEDIATEK || COMPILE_TEST75 depends on OF76 select GENERIC_PHY77 help78 Enable this to support the MIPI CSI CD-PHY receiver version 0.5.79 The driver supports multiple CSI cdphy ports simultaneously.80 81 To compile this driver as a module, choose M here: the82 module will be called phy-mtk-mipi-csi-0-5.83 84config PHY_MTK_MIPI_DSI85 tristate "MediaTek MIPI-DSI Driver"86 depends on ARCH_MEDIATEK || COMPILE_TEST87 depends on COMMON_CLK88 depends on OF89 select GENERIC_PHY90 help91 Support MIPI DSI for Mediatek SoCs.92 93config PHY_MTK_DP94 tristate "MediaTek DP-PHY Driver"95 depends on ARCH_MEDIATEK || COMPILE_TEST96 depends on OF97 select GENERIC_PHY98 help99 Support DisplayPort PHY for MediaTek SoCs.100