hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/drivers/phy/rockchip/Kconfig
....@@ -1,11 +1,14 @@
1
+# SPDX-License-Identifier: GPL-2.0-only
12 #
23 # Phy drivers for Rockchip platforms
34 #
5
+
46 config PHY_ROCKCHIP_CSI2_DPHY
57 tristate "Rockchip CSI2 D-PHY Driver"
68 depends on VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API
79 depends on ARCH_ROCKCHIP && OF
810 select GENERIC_PHY
11
+ select V4L2_FWNODE
912 help
1013 Enable this to support the Rockchip CSI2 DPHY.
1114
....@@ -15,6 +18,18 @@
1518 select GENERIC_PHY
1619 help
1720 Enable this to support the Rockchip Display Port PHY.
21
+
22
+config PHY_ROCKCHIP_DPHY_RX0
23
+ tristate "Rockchip MIPI Synopsys DPHY RX0 driver"
24
+ depends on ARCH_ROCKCHIP || COMPILE_TEST
25
+ select GENERIC_PHY_MIPI_DPHY
26
+ select GENERIC_PHY
27
+ help
28
+ Enable this to support the Rockchip MIPI Synopsys DPHY RX0
29
+ associated to the Rockchip ISP module present in RK3399 SoCs.
30
+
31
+ To compile this driver as a module, choose M here: the module
32
+ will be called phy-rockchip-dphy-rx0.
1833
1934 config PHY_ROCKCHIP_EMMC
2035 tristate "Rockchip EMMC PHY Driver"
....@@ -31,25 +46,19 @@
3146 Enable this to support the Rockchip SoCs COMBPHY.
3247 If unsure, say N.
3348
34
-config PHY_ROCKCHIP_INNO_HDMI_PHY
49
+config PHY_ROCKCHIP_INNO_HDMI
3550 tristate "Rockchip INNO HDMI PHY Driver"
36
- depends on ARCH_ROCKCHIP && OF
51
+ depends on (ARCH_ROCKCHIP || COMPILE_TEST) && OF
52
+ depends on COMMON_CLK
3753 select GENERIC_PHY
3854 help
39
- Enable this to support the Rockchip HDMI PHY with Innosilicon IP block.
40
-
41
-config PHY_ROCKCHIP_INNO_MIPI_DPHY
42
- tristate "Rockchip INNO MIPI D-PHY Driver"
43
- depends on ARCH_ROCKCHIP && OF
44
- select GENERIC_PHY
45
- help
46
- Enable this to support the Rockchip MIPI D-PHY with Innosilicon IP block.
55
+ Enable this to support the Rockchip Innosilicon HDMI PHY.
4756
4857 config PHY_ROCKCHIP_INNO_USB2
4958 tristate "Rockchip INNO USB2PHY Driver"
5059 depends on (ARCH_ROCKCHIP || COMPILE_TEST) && OF
5160 depends on COMMON_CLK
52
- select EXTCON
61
+ depends on EXTCON
5362 depends on USB_SUPPORT
5463 select GENERIC_PHY
5564 select USB_COMMON
....@@ -64,20 +73,13 @@
6473 help
6574 Support for Rockchip USB 3.0 PHY with Innosilicon IP block.
6675
67
-config PHY_ROCKCHIP_INNO_VIDEO_COMBO_PHY
68
- tristate "Rockchip INNO MIPI/LVDS/TTL PHY driver"
69
- depends on ARCH_ROCKCHIP && OF
76
+config PHY_ROCKCHIP_INNO_DSIDPHY
77
+ tristate "Rockchip Innosilicon MIPI/LVDS/TTL PHY driver"
78
+ depends on (ARCH_ROCKCHIP || COMPILE_TEST) && OF
7079 select GENERIC_PHY
80
+ select GENERIC_PHY_MIPI_DPHY
7181 help
7282 Enable this to support the Rockchip MIPI/LVDS/TTL PHY with
73
- Innosilicon IP block.
74
-
75
-config PHY_ROCKCHIP_INNO_VIDEO_PHY
76
- tristate "Rockchip INNO LVDS/TTL PHY driver"
77
- depends on ARCH_ROCKCHIP && OF
78
- select GENERIC_PHY
79
- help
80
- Enable this to support the Rockchip LVDS/TTL PHY with
8183 Innosilicon IP block.
8284
8385 config PHY_ROCKCHIP_MIPI_RX
....@@ -85,6 +87,7 @@
8587 depends on VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API
8688 depends on ARCH_ROCKCHIP && OF
8789 select GENERIC_PHY
90
+ select V4L2_FWNODE
8891 help
8992 Enable this to support the Rockchip MIPI D-PHY with Synopsys or Innosilicon IP block.
9093
....@@ -123,6 +126,29 @@
123126 help
124127 Enable this to support the Rockchip PCIe PHY.
125128
129
+config PHY_ROCKCHIP_SAMSUNG_DCPHY
130
+ tristate "Rockchip Samsung MIPI DCPHY driver"
131
+ depends on (ARCH_ROCKCHIP || COMPILE_TEST) && OF
132
+ select GENERIC_PHY
133
+ select GENERIC_PHY_MIPI_DPHY
134
+ help
135
+ Enable this to support the Rockchip MIPI DCPHY with
136
+ Samsung IP block.
137
+
138
+config PHY_ROCKCHIP_SAMSUNG_HDPTX
139
+ tristate "Rockchip Samsung HDMI/DP Combo PHY driver"
140
+ depends on OF && (ARCH_ROCKCHIP || COMPILE_TEST)
141
+ select GENERIC_PHY
142
+ help
143
+ Support for Rockchip HDMI/DP Combo PHY with Samsung IP block.
144
+
145
+config PHY_ROCKCHIP_SAMSUNG_HDPTX_HDMI
146
+ tristate "Rockchip Samsung HDMI/DP Combo PHY HDMI driver"
147
+ depends on OF && (ARCH_ROCKCHIP || COMPILE_TEST)
148
+ select GENERIC_PHY
149
+ help
150
+ Support for Rockchip HDMI/DP Combo PHY with Samsung IP block.
151
+
126152 config PHY_ROCKCHIP_SNPS_PCIE3
127153 tristate "Rockchip Snps PCIe3 PHY Driver"
128154 depends on (ARCH_ROCKCHIP && OF) || COMPILE_TEST
....@@ -138,6 +164,7 @@
138164 select EXTCON
139165 select GENERIC_PHY
140166 select RESET_CONTROLLER
167
+ select TYPEC
141168 help
142169 Enable this to support the Rockchip USB TYPEC PHY.
143170
....@@ -147,3 +174,12 @@
147174 select GENERIC_PHY
148175 help
149176 Enable this to support the Rockchip USB 2.0 PHY.
177
+
178
+config PHY_ROCKCHIP_USBDP
179
+ tristate "Rockchip USBDP COMBO PHY Driver"
180
+ depends on ARCH_ROCKCHIP && OF
181
+ select GENERIC_PHY
182
+ select TYPEC
183
+ help
184
+ Enable this to support the Rockchip USB3.0/DP
185
+ combo PHY with Samsung IP block.