xref: /openbmc/linux/drivers/phy/rockchip/Kconfig (revision 8365a898)
1# SPDX-License-Identifier: GPL-2.0-only
2#
3# Phy drivers for Rockchip platforms
4#
5config 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
12config 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
19config 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
27config 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
38config PHY_ROCKCHIP_INNO_DSIDPHY
39	tristate "Rockchip Innosilicon MIPI/LVDS/TTL PHY driver"
40	depends on (ARCH_ROCKCHIP || COMPILE_TEST) && OF
41	select GENERIC_PHY
42	select GENERIC_PHY_MIPI_DPHY
43	help
44	  Enable this to support the Rockchip MIPI/LVDS/TTL PHY with
45	  Innosilicon IP block.
46
47config PHY_ROCKCHIP_PCIE
48	tristate "Rockchip PCIe PHY Driver"
49	depends on (ARCH_ROCKCHIP && OF) || COMPILE_TEST
50	depends on HAS_IOMEM
51	select GENERIC_PHY
52	select MFD_SYSCON
53	help
54	  Enable this to support the Rockchip PCIe PHY.
55
56config PHY_ROCKCHIP_TYPEC
57	tristate "Rockchip TYPEC PHY Driver"
58	depends on OF && (ARCH_ROCKCHIP || COMPILE_TEST)
59	select EXTCON
60	select GENERIC_PHY
61	select RESET_CONTROLLER
62	help
63	  Enable this to support the Rockchip USB TYPEC PHY.
64
65config PHY_ROCKCHIP_USB
66	tristate "Rockchip USB2 PHY Driver"
67	depends on ARCH_ROCKCHIP && OF
68	select GENERIC_PHY
69	help
70	  Enable this to support the Rockchip USB 2.0 PHY.
71