18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
28c2ecf20Sopenharmony_ci#
38c2ecf20Sopenharmony_ci# Phy drivers for Mediatek devices
48c2ecf20Sopenharmony_ci#
58c2ecf20Sopenharmony_ciconfig PHY_MTK_TPHY
68c2ecf20Sopenharmony_ci	tristate "MediaTek T-PHY Driver"
78c2ecf20Sopenharmony_ci	depends on ARCH_MEDIATEK || COMPILE_TEST
88c2ecf20Sopenharmony_ci	depends on OF
98c2ecf20Sopenharmony_ci	select GENERIC_PHY
108c2ecf20Sopenharmony_ci	help
118c2ecf20Sopenharmony_ci	  Say 'Y' here to add support for MediaTek T-PHY driver,
128c2ecf20Sopenharmony_ci	  it supports multiple usb2.0, usb3.0 ports, PCIe and
138c2ecf20Sopenharmony_ci	  SATA, and meanwhile supports two version T-PHY which have
148c2ecf20Sopenharmony_ci	  different banks layout, the T-PHY with shared banks between
158c2ecf20Sopenharmony_ci	  multi-ports is first version, otherwise is second version,
168c2ecf20Sopenharmony_ci	  so you can easily distinguish them by banks layout.
178c2ecf20Sopenharmony_ci
188c2ecf20Sopenharmony_ciconfig PHY_MTK_UFS
198c2ecf20Sopenharmony_ci	tristate "MediaTek UFS M-PHY driver"
208c2ecf20Sopenharmony_ci	depends on ARCH_MEDIATEK || COMPILE_TEST
218c2ecf20Sopenharmony_ci	depends on OF
228c2ecf20Sopenharmony_ci	select GENERIC_PHY
238c2ecf20Sopenharmony_ci	help
248c2ecf20Sopenharmony_ci	  Support for UFS M-PHY on MediaTek chipsets.
258c2ecf20Sopenharmony_ci	  Enable this to provide vendor-specific probing,
268c2ecf20Sopenharmony_ci	  initialization, power on and power off flow of
278c2ecf20Sopenharmony_ci	  specified M-PHYs.
288c2ecf20Sopenharmony_ci
298c2ecf20Sopenharmony_ciconfig PHY_MTK_XSPHY
308c2ecf20Sopenharmony_ci	tristate "MediaTek XS-PHY Driver"
318c2ecf20Sopenharmony_ci	depends on ARCH_MEDIATEK || COMPILE_TEST
328c2ecf20Sopenharmony_ci	depends on OF
338c2ecf20Sopenharmony_ci	select GENERIC_PHY
348c2ecf20Sopenharmony_ci	help
358c2ecf20Sopenharmony_ci	  Enable this to support the SuperSpeedPlus XS-PHY transceiver for
368c2ecf20Sopenharmony_ci	  USB3.1 GEN2 controllers on MediaTek chips. The driver supports
378c2ecf20Sopenharmony_ci	  multiple USB2.0, USB3.1 GEN2 ports.
388c2ecf20Sopenharmony_ci
398c2ecf20Sopenharmony_ciconfig PHY_MTK_HDMI
408c2ecf20Sopenharmony_ci	tristate "MediaTek HDMI-PHY Driver"
418c2ecf20Sopenharmony_ci	depends on ARCH_MEDIATEK || COMPILE_TEST
428c2ecf20Sopenharmony_ci	depends on COMMON_CLK
438c2ecf20Sopenharmony_ci	depends on OF
448c2ecf20Sopenharmony_ci	select GENERIC_PHY
458c2ecf20Sopenharmony_ci	help
468c2ecf20Sopenharmony_ci	  Support HDMI PHY for Mediatek SoCs.
47