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	select GENERIC_PHY
36	help
37	  Enable this to support the Rockchip Innosilicon HDMI PHY.
38
39config PHY_ROCKCHIP_INNO_USB2
40	tristate "Rockchip INNO USB2PHY Driver"
41	depends on (ARCH_ROCKCHIP || COMPILE_TEST) && OF
42	depends on COMMON_CLK
43	depends on EXTCON
44	depends on USB_SUPPORT
45	select GENERIC_PHY
46	select USB_COMMON
47	help
48	  Support for Rockchip USB2.0 PHY with Innosilicon IP block.
49
50config PHY_ROCKCHIP_INNO_DSIDPHY
51	tristate "Rockchip Innosilicon MIPI/LVDS/TTL PHY driver"
52	depends on (ARCH_ROCKCHIP || COMPILE_TEST) && OF
53	select GENERIC_PHY
54	select GENERIC_PHY_MIPI_DPHY
55	help
56	  Enable this to support the Rockchip MIPI/LVDS/TTL PHY with
57	  Innosilicon IP block.
58
59config PHY_ROCKCHIP_PCIE
60	tristate "Rockchip PCIe PHY Driver"
61	depends on (ARCH_ROCKCHIP && OF) || COMPILE_TEST
62	depends on HAS_IOMEM
63	select GENERIC_PHY
64	select MFD_SYSCON
65	help
66	  Enable this to support the Rockchip PCIe PHY.
67
68config PHY_ROCKCHIP_TYPEC
69	tristate "Rockchip TYPEC PHY Driver"
70	depends on OF && (ARCH_ROCKCHIP || COMPILE_TEST)
71	select EXTCON
72	select GENERIC_PHY
73	select RESET_CONTROLLER
74	help
75	  Enable this to support the Rockchip USB TYPEC PHY.
76
77config PHY_ROCKCHIP_USB
78	tristate "Rockchip USB2 PHY Driver"
79	depends on ARCH_ROCKCHIP && OF
80	select GENERIC_PHY
81	help
82	  Enable this to support the Rockchip USB 2.0 PHY.
83