Linux-libre 5.4.49-gnu
[librecmc/linux-libre.git] / drivers / phy / hisilicon / Kconfig
1 # SPDX-License-Identifier: GPL-2.0-only
2 #
3 # Phy drivers for Hisilicon platforms
4 #
5 config 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
16 config 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
26 config PHY_HISTB_COMBPHY
27         tristate "HiSilicon STB SoCs COMBPHY 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 STB SoCs COMBPHY.
33           If unsure, say N.
34
35 config PHY_HISI_INNO_USB2
36        tristate "HiSilicon INNO USB2 PHY support"
37        depends on (ARCH_HISI && ARM64) || COMPILE_TEST
38        select GENERIC_PHY
39        select MFD_SYSCON
40        help
41          Support for INNO USB2 PHY on HiSilicon SoCs. This Phy supports
42          USB 1.5Mb/s, USB 12Mb/s, USB 480Mb/s speeds. It supports one
43          USB host port to accept one USB device.
44
45 config PHY_HIX5HD2_SATA
46         tristate "HIX5HD2 SATA PHY Driver"
47         depends on ARCH_HIX5HD2 && OF && HAS_IOMEM
48         select GENERIC_PHY
49         select MFD_SYSCON
50         help
51           Support for SATA PHY on Hisilicon hix5hd2 Soc.