xref: /openbmc/linux/drivers/phy/hisilicon/Kconfig (revision eb9fe179)
1# SPDX-License-Identifier: GPL-2.0-only
2#
3# Phy drivers for Hisilicon platforms
4#
5config PHY_HI6220_USB
6	tristate "hi6220 USB PHY support"
7	depends on (ARCH_HISI && ARM64) || COMPILE_TEST
8	depends on HAS_IOMEM
9	select GENERIC_PHY
10	select MFD_SYSCON
11	help
12	  Enable this to support the HISILICON HI6220 USB PHY.
13
14	  To compile this driver as a module, choose M here.
15
16config PHY_HI3660_USB
17	tristate "hi3660 USB PHY support"
18	depends on (ARCH_HISI && ARM64) || COMPILE_TEST
19	select GENERIC_PHY
20	select MFD_SYSCON
21	help
22	  Enable this to support the HISILICON HI3660 USB PHY.
23
24	  To compile this driver as a module, choose M here.
25
26config PHY_HI3670_USB
27	tristate "hi3670 USB PHY support"
28	depends on (ARCH_HISI && ARM64) || COMPILE_TEST
29	select GENERIC_PHY
30	select MFD_SYSCON
31	help
32	  Enable this to support the HISILICON HI3670 USB PHY.
33
34	  To compile this driver as a module, choose M here.
35
36config PHY_HI3670_PCIE
37	tristate "hi3670 PCIe PHY support"
38	depends on (ARCH_HISI && ARM64) || COMPILE_TEST
39	select GENERIC_PHY
40	select MFD_SYSCON
41	help
42	  Enable this to support the HiSilicon hi3670 PCIe PHY.
43
44	  To compile this driver as a module, choose M here.
45
46config PHY_HISTB_COMBPHY
47	tristate "HiSilicon STB SoCs COMBPHY support"
48	depends on (ARCH_HISI && ARM64) || COMPILE_TEST
49	select GENERIC_PHY
50	select MFD_SYSCON
51	help
52	  Enable this to support the HISILICON STB SoCs COMBPHY.
53	  If unsure, say N.
54
55config PHY_HISI_INNO_USB2
56	tristate "HiSilicon INNO USB2 PHY support"
57	depends on ARCH_HISI || COMPILE_TEST
58	select GENERIC_PHY
59	select MFD_SYSCON
60	help
61	  Support for INNO USB2 PHY on HiSilicon SoCs. This Phy supports
62	  USB 1.5Mb/s, USB 12Mb/s, USB 480Mb/s speeds. It supports one
63	  USB host port to accept one USB device.
64
65config PHY_HIX5HD2_SATA
66	tristate "HIX5HD2 SATA PHY Driver"
67	depends on ARCH_HIX5HD2 && OF && HAS_IOMEM
68	select GENERIC_PHY
69	select MFD_SYSCON
70	help
71	  Support for SATA PHY on Hisilicon hix5hd2 Soc.
72