Linux 6.9-rc1
[linux-2.6-microblaze.git] / drivers / phy / mediatek / Kconfig
1 # SPDX-License-Identifier: GPL-2.0-only
2 #
3 # Phy drivers for Mediatek devices
4 #
5 config PHY_MTK_PCIE
6         tristate "MediaTek PCIe-PHY Driver"
7         depends on ARCH_MEDIATEK || COMPILE_TEST
8         depends on OF
9         select GENERIC_PHY
10         help
11           Say 'Y' here to add support for MediaTek PCIe PHY driver.
12           This driver create the basic PHY instance and provides initialize
13           callback for PCIe GEN3 port, it supports software efuse
14           initialization.
15
16 config PHY_MTK_TPHY
17         tristate "MediaTek T-PHY Driver"
18         depends on ARCH_MEDIATEK || COMPILE_TEST
19         depends on OF && OF_ADDRESS
20         depends on HAS_IOMEM
21         select GENERIC_PHY
22         help
23           Say 'Y' here to add support for MediaTek T-PHY driver,
24           it supports multiple usb2.0, usb3.0 ports, PCIe and
25           SATA, and meanwhile supports two version T-PHY which have
26           different banks layout, the T-PHY with shared banks between
27           multi-ports is first version, otherwise is second version,
28           so you can easily distinguish them by banks layout.
29
30 config PHY_MTK_UFS
31         tristate "MediaTek UFS M-PHY driver"
32         depends on ARCH_MEDIATEK || COMPILE_TEST
33         depends on OF
34         select GENERIC_PHY
35         help
36           Support for UFS M-PHY on MediaTek chipsets.
37           Enable this to provide vendor-specific probing,
38           initialization, power on and power off flow of
39           specified M-PHYs.
40
41 config PHY_MTK_XSPHY
42         tristate "MediaTek XS-PHY Driver"
43         depends on ARCH_MEDIATEK || COMPILE_TEST
44         depends on OF && OF_ADDRESS
45         depends on HAS_IOMEM
46         select GENERIC_PHY
47         help
48           Enable this to support the SuperSpeedPlus XS-PHY transceiver for
49           USB3.1 GEN2 controllers on MediaTek chips. The driver supports
50           multiple USB2.0, USB3.1 GEN2 ports.
51
52 config PHY_MTK_HDMI
53         tristate "MediaTek HDMI-PHY Driver"
54         depends on ARCH_MEDIATEK || COMPILE_TEST
55         depends on COMMON_CLK
56         depends on OF
57         select GENERIC_PHY
58         help
59           Support HDMI PHY for Mediatek SoCs.
60
61 config PHY_MTK_MIPI_CSI_0_5
62         tristate "MediaTek MIPI CSI CD-PHY v0.5 Driver"
63         depends on ARCH_MEDIATEK || COMPILE_TEST
64         depends on OF
65         select GENERIC_PHY
66         help
67           Enable this to support the MIPI CSI CD-PHY receiver version 0.5.
68           The driver supports multiple CSI cdphy ports simultaneously.
69
70           To compile this driver as a module, choose M here: the
71           module will be called phy-mtk-mipi-csi-0-5.
72
73 config PHY_MTK_MIPI_DSI
74         tristate "MediaTek MIPI-DSI Driver"
75         depends on ARCH_MEDIATEK || COMPILE_TEST
76         depends on COMMON_CLK
77         depends on OF
78         select GENERIC_PHY
79         help
80           Support MIPI DSI for Mediatek SoCs.
81
82 config PHY_MTK_DP
83         tristate "MediaTek DP-PHY Driver"
84         depends on ARCH_MEDIATEK || COMPILE_TEST
85         depends on OF
86         select GENERIC_PHY
87         help
88           Support DisplayPort PHY for MediaTek SoCs.