• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# SPDX-License-Identifier: GPL-2.0-only
2#
3# Phy drivers for Rockchip platforms
4#
5
6config PHY_ROCKCHIP_CSI2_DPHY
7	tristate "Rockchip CSI2 D-PHY Driver"
8	depends on VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API
9	depends on ARCH_ROCKCHIP && OF
10	select GENERIC_PHY
11	help
12	  Enable this to support the Rockchip CSI2 DPHY.
13
14config PHY_ROCKCHIP_DP
15	tristate "Rockchip Display Port PHY Driver"
16	depends on ARCH_ROCKCHIP && OF
17	select GENERIC_PHY
18	help
19	  Enable this to support the Rockchip Display Port PHY.
20
21config PHY_ROCKCHIP_DPHY_RX0
22	tristate "Rockchip MIPI Synopsys DPHY RX0 driver"
23	depends on ARCH_ROCKCHIP || COMPILE_TEST
24	select GENERIC_PHY_MIPI_DPHY
25	select GENERIC_PHY
26	help
27	  Enable this to support the Rockchip MIPI Synopsys DPHY RX0
28	  associated to the Rockchip ISP module present in RK3399 SoCs.
29
30	  To compile this driver as a module, choose M here: the module
31	  will be called phy-rockchip-dphy-rx0.
32
33config PHY_ROCKCHIP_EMMC
34	tristate "Rockchip EMMC PHY Driver"
35	depends on ARCH_ROCKCHIP && OF
36	select GENERIC_PHY
37	help
38	  Enable this to support the Rockchip EMMC PHY.
39
40config PHY_ROCKCHIP_INNO_COMBPHY
41	tristate "Rockchip INNO USB 3.0 and PCIe COMBPHY Driver"
42	depends on (ARCH_ROCKCHIP && OF) || COMPILE_TEST
43	select GENERIC_PHY
44	help
45	  Enable this to support the Rockchip SoCs COMBPHY.
46	  If unsure, say N.
47
48config PHY_ROCKCHIP_INNO_HDMI
49	tristate "Rockchip INNO HDMI PHY Driver"
50	depends on (ARCH_ROCKCHIP || COMPILE_TEST) && OF
51	depends on COMMON_CLK
52	select GENERIC_PHY
53	help
54	  Enable this to support the Rockchip Innosilicon HDMI PHY.
55
56config PHY_ROCKCHIP_INNO_USB2
57	tristate "Rockchip INNO USB2PHY Driver"
58	depends on (ARCH_ROCKCHIP || COMPILE_TEST) && OF
59	depends on COMMON_CLK
60	depends on EXTCON
61	depends on USB_SUPPORT
62	select GENERIC_PHY
63	select USB_COMMON
64	help
65	  Support for Rockchip USB2.0 PHY with Innosilicon IP block.
66
67config PHY_ROCKCHIP_INNO_USB3
68	tristate "Rockchip INNO USB 3.0 PHY Driver"
69	depends on (ARCH_ROCKCHIP || COMPILE_TEST) && OF
70	select GENERIC_PHY
71	select USB_PHY
72	help
73	  Support for Rockchip USB 3.0 PHY with Innosilicon IP block.
74
75config PHY_ROCKCHIP_MIPI_RX
76	tristate "Rockchip MIPI RX D-PHY Driver"
77	depends on VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API
78	depends on ARCH_ROCKCHIP && OF
79	select GENERIC_PHY
80	help
81	  Enable this to support the Rockchip MIPI D-PHY with Synopsys or Innosilicon IP block.
82
83config PHY_ROCKCHIP_NANENG_COMBO_PHY
84	tristate "Rockchip NANENG COMBO PHY Driver"
85	depends on ARCH_ROCKCHIP && OF
86	select GENERIC_PHY
87	help
88	  Enable this to support the Rockchip PCIe/USB3.0/SATA/QSGMII
89	  combo PHY with NaNeng IP block.
90
91config PHY_ROCKCHIP_NANENG_EDP
92	tristate "Rockchip Naneng eDP Transmitter PHY driver"
93	depends on ARCH_ROCKCHIP && OF
94	select GENERIC_PHY
95	help
96	  Support for Rockchip eDP Transmitter PHY with Naneng IP block.
97
98config PHY_ROCKCHIP_SAMSUNG_DCPHY
99	tristate "Rockchip Samsung MIPI DCPHY driver"
100	depends on (ARCH_ROCKCHIP || COMPILE_TEST) && OF
101	select GENERIC_PHY
102	select GENERIC_PHY_MIPI_DPHY
103	help
104	  Enable this to support the Rockchip MIPI DCPHY with
105	  Samsung IP block.
106
107config PHY_ROCKCHIP_SAMSUNG_HDPTX
108	tristate "Rockchip Samsung HDMI/DP Combo PHY driver"
109	depends on OF && (ARCH_ROCKCHIP || COMPILE_TEST)
110	select GENERIC_PHY
111	help
112	  Support for Rockchip HDMI/DP Combo PHY with Samsung IP block.
113
114config PHY_ROCKCHIP_SAMSUNG_HDPTX_HDMI
115	tristate "Rockchip Samsung HDMI/DP Combo PHY HDMI driver"
116	depends on OF && (ARCH_ROCKCHIP || COMPILE_TEST)
117	select GENERIC_PHY
118	help
119	  Support for Rockchip HDMI/DP Combo PHY with Samsung IP block.
120
121config PHY_ROCKCHIP_SNPS_PCIE3
122	tristate "Rockchip Snps PCIe3 PHY Driver"
123	depends on (ARCH_ROCKCHIP && OF) || COMPILE_TEST
124	depends on HAS_IOMEM
125	select GENERIC_PHY
126	select MFD_SYSCON
127	help
128	  Enable this to support the Rockchip snps PCIe3 PHY.
129
130config PHY_ROCKCHIP_USBDP
131	tristate "Rockchip USBDP COMBO PHY Driver"
132	depends on ARCH_ROCKCHIP && OF
133	select GENERIC_PHY
134	select TYPEC
135	help
136	  Enable this to support the Rockchip USB3.0/DP
137	  combo PHY with Samsung IP block.
138