0001 # SPDX-License-Identifier: GPL-2.0-only
0002 #
0003 # Phy drivers for Mediatek devices
0004 #
0005 config PHY_MTK_PCIE
0006 tristate "MediaTek PCIe-PHY Driver"
0007 depends on ARCH_MEDIATEK || COMPILE_TEST
0008 depends on OF
0009 select GENERIC_PHY
0010 help
0011 Say 'Y' here to add support for MediaTek PCIe PHY driver.
0012 This driver create the basic PHY instance and provides initialize
0013 callback for PCIe GEN3 port, it supports software efuse
0014 initialization.
0015
0016 config PHY_MTK_TPHY
0017 tristate "MediaTek T-PHY Driver"
0018 depends on ARCH_MEDIATEK || COMPILE_TEST
0019 depends on OF && OF_ADDRESS
0020 depends on HAS_IOMEM
0021 select GENERIC_PHY
0022 help
0023 Say 'Y' here to add support for MediaTek T-PHY driver,
0024 it supports multiple usb2.0, usb3.0 ports, PCIe and
0025 SATA, and meanwhile supports two version T-PHY which have
0026 different banks layout, the T-PHY with shared banks between
0027 multi-ports is first version, otherwise is second version,
0028 so you can easily distinguish them by banks layout.
0029
0030 config PHY_MTK_UFS
0031 tristate "MediaTek UFS M-PHY driver"
0032 depends on ARCH_MEDIATEK || COMPILE_TEST
0033 depends on OF
0034 select GENERIC_PHY
0035 help
0036 Support for UFS M-PHY on MediaTek chipsets.
0037 Enable this to provide vendor-specific probing,
0038 initialization, power on and power off flow of
0039 specified M-PHYs.
0040
0041 config PHY_MTK_XSPHY
0042 tristate "MediaTek XS-PHY Driver"
0043 depends on ARCH_MEDIATEK || COMPILE_TEST
0044 depends on OF && OF_ADDRESS
0045 depends on HAS_IOMEM
0046 select GENERIC_PHY
0047 help
0048 Enable this to support the SuperSpeedPlus XS-PHY transceiver for
0049 USB3.1 GEN2 controllers on MediaTek chips. The driver supports
0050 multiple USB2.0, USB3.1 GEN2 ports.
0051
0052 config PHY_MTK_HDMI
0053 tristate "MediaTek HDMI-PHY Driver"
0054 depends on ARCH_MEDIATEK || COMPILE_TEST
0055 depends on COMMON_CLK
0056 depends on OF
0057 select GENERIC_PHY
0058 help
0059 Support HDMI PHY for Mediatek SoCs.
0060
0061 config PHY_MTK_MIPI_DSI
0062 tristate "MediaTek MIPI-DSI Driver"
0063 depends on ARCH_MEDIATEK || COMPILE_TEST
0064 depends on COMMON_CLK
0065 depends on OF
0066 select GENERIC_PHY
0067 help
0068 Support MIPI DSI for Mediatek SoCs.
0069
0070 config PHY_MTK_DP
0071 tristate "MediaTek DP-PHY Driver"
0072 depends on ARCH_MEDIATEK || COMPILE_TEST
0073 depends on OF
0074 select GENERIC_PHY
0075 help
0076 Support DisplayPort PHY for MediaTek SoCs.