^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) # SPDX-License-Identifier: GPL-2.0-only
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) #
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) # Phy drivers for Mediatek devices
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) #
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) config PHY_MTK_TPHY
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) tristate "MediaTek T-PHY Driver"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) depends on ARCH_MEDIATEK || COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) depends on OF
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) select GENERIC_PHY
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) Say 'Y' here to add support for MediaTek T-PHY driver,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) it supports multiple usb2.0, usb3.0 ports, PCIe and
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) SATA, and meanwhile supports two version T-PHY which have
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) different banks layout, the T-PHY with shared banks between
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) multi-ports is first version, otherwise is second version,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) so you can easily distinguish them by banks layout.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) config PHY_MTK_UFS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) tristate "MediaTek UFS M-PHY driver"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) depends on ARCH_MEDIATEK || COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) depends on OF
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) select GENERIC_PHY
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) Support for UFS M-PHY on MediaTek chipsets.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) Enable this to provide vendor-specific probing,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) initialization, power on and power off flow of
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) specified M-PHYs.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) config PHY_MTK_XSPHY
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) tristate "MediaTek XS-PHY Driver"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) depends on ARCH_MEDIATEK || COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) depends on OF
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) select GENERIC_PHY
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) Enable this to support the SuperSpeedPlus XS-PHY transceiver for
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) USB3.1 GEN2 controllers on MediaTek chips. The driver supports
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) multiple USB2.0, USB3.1 GEN2 ports.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) config PHY_MTK_HDMI
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40) tristate "MediaTek HDMI-PHY Driver"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41) depends on ARCH_MEDIATEK || COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42) depends on COMMON_CLK
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43) depends on OF
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44) select GENERIC_PHY
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 45) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 46) Support HDMI PHY for Mediatek SoCs.