Linux-libre 5.3.12-gnu
[librecmc/linux-libre.git] / drivers / phy / rockchip / Kconfig
1 # SPDX-License-Identifier: GPL-2.0-only
2 #
3 # Phy drivers for Rockchip platforms
4 #
5 config PHY_ROCKCHIP_DP
6         tristate "Rockchip Display Port PHY Driver"
7         depends on ARCH_ROCKCHIP && OF
8         select GENERIC_PHY
9         help
10           Enable this to support the Rockchip Display Port PHY.
11
12 config PHY_ROCKCHIP_EMMC
13         tristate "Rockchip EMMC PHY Driver"
14         depends on ARCH_ROCKCHIP && OF
15         select GENERIC_PHY
16         help
17           Enable this to support the Rockchip EMMC PHY.
18
19 config PHY_ROCKCHIP_INNO_HDMI
20         tristate "Rockchip INNO HDMI PHY Driver"
21         depends on (ARCH_ROCKCHIP || COMPILE_TEST) && OF
22         depends on COMMON_CLK
23         select GENERIC_PHY
24         help
25           Enable this to support the Rockchip Innosilicon HDMI PHY.
26
27 config PHY_ROCKCHIP_INNO_USB2
28         tristate "Rockchip INNO USB2PHY Driver"
29         depends on (ARCH_ROCKCHIP || COMPILE_TEST) && OF
30         depends on COMMON_CLK
31         depends on EXTCON
32         depends on USB_SUPPORT
33         select GENERIC_PHY
34         select USB_COMMON
35         help
36           Support for Rockchip USB2.0 PHY with Innosilicon IP block.
37
38 config PHY_ROCKCHIP_PCIE
39         tristate "Rockchip PCIe PHY Driver"
40         depends on (ARCH_ROCKCHIP && OF) || COMPILE_TEST
41         depends on HAS_IOMEM
42         select GENERIC_PHY
43         select MFD_SYSCON
44         help
45           Enable this to support the Rockchip PCIe PHY.
46
47 config PHY_ROCKCHIP_TYPEC
48         tristate "Rockchip TYPEC PHY Driver"
49         depends on OF && (ARCH_ROCKCHIP || COMPILE_TEST)
50         select EXTCON
51         select GENERIC_PHY
52         select RESET_CONTROLLER
53         help
54           Enable this to support the Rockchip USB TYPEC PHY.
55
56 config PHY_ROCKCHIP_USB
57         tristate "Rockchip USB2 PHY Driver"
58         depends on ARCH_ROCKCHIP && OF
59         select GENERIC_PHY
60         help
61           Enable this to support the Rockchip USB 2.0 PHY.