xref: /openbmc/linux/drivers/phy/rockchip/Kconfig (revision 31e67366)
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_DPHY_RX0
13	tristate "Rockchip MIPI Synopsys DPHY RX0 driver"
14	depends on ARCH_ROCKCHIP || COMPILE_TEST
15	select GENERIC_PHY_MIPI_DPHY
16	select GENERIC_PHY
17	help
18	  Enable this to support the Rockchip MIPI Synopsys DPHY RX0
19	  associated to the Rockchip ISP module present in RK3399 SoCs.
20
21	  To compile this driver as a module, choose M here: the module
22	  will be called phy-rockchip-dphy-rx0.
23
24config PHY_ROCKCHIP_EMMC
25	tristate "Rockchip EMMC PHY Driver"
26	depends on ARCH_ROCKCHIP && OF
27	select GENERIC_PHY
28	help
29	  Enable this to support the Rockchip EMMC PHY.
30
31config PHY_ROCKCHIP_INNO_HDMI
32	tristate "Rockchip INNO HDMI PHY Driver"
33	depends on (ARCH_ROCKCHIP || COMPILE_TEST) && OF
34	depends on COMMON_CLK
35	depends on HAS_IOMEM
36	select GENERIC_PHY
37	help
38	  Enable this to support the Rockchip Innosilicon HDMI PHY.
39
40config PHY_ROCKCHIP_INNO_USB2
41	tristate "Rockchip INNO USB2PHY Driver"
42	depends on (ARCH_ROCKCHIP || COMPILE_TEST) && OF
43	depends on COMMON_CLK
44	depends on EXTCON
45	depends on USB_SUPPORT
46	select GENERIC_PHY
47	select USB_COMMON
48	help
49	  Support for Rockchip USB2.0 PHY with Innosilicon IP block.
50
51config PHY_ROCKCHIP_INNO_DSIDPHY
52	tristate "Rockchip Innosilicon MIPI/LVDS/TTL PHY driver"
53	depends on (ARCH_ROCKCHIP || COMPILE_TEST) && OF
54	select GENERIC_PHY
55	select GENERIC_PHY_MIPI_DPHY
56	help
57	  Enable this to support the Rockchip MIPI/LVDS/TTL PHY with
58	  Innosilicon IP block.
59
60config PHY_ROCKCHIP_PCIE
61	tristate "Rockchip PCIe PHY Driver"
62	depends on (ARCH_ROCKCHIP && OF) || COMPILE_TEST
63	depends on HAS_IOMEM
64	select GENERIC_PHY
65	select MFD_SYSCON
66	help
67	  Enable this to support the Rockchip PCIe PHY.
68
69config PHY_ROCKCHIP_TYPEC
70	tristate "Rockchip TYPEC PHY Driver"
71	depends on OF && (ARCH_ROCKCHIP || COMPILE_TEST)
72	select EXTCON
73	select GENERIC_PHY
74	select RESET_CONTROLLER
75	help
76	  Enable this to support the Rockchip USB TYPEC PHY.
77
78config PHY_ROCKCHIP_USB
79	tristate "Rockchip USB2 PHY Driver"
80	depends on ARCH_ROCKCHIP && OF
81	select GENERIC_PHY
82	help
83	  Enable this to support the Rockchip USB 2.0 PHY.
84