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