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 select V4L2_FWNODE 12 help 13 Enable this to support the Rockchip CSI2 DPHY. 14 15config PHY_ROCKCHIP_DP 16 tristate "Rockchip Display Port PHY Driver" 17 depends on ARCH_ROCKCHIP && OF 18 select GENERIC_PHY 19 help 20 Enable this to support the Rockchip Display Port PHY. 21 22config 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. 33 34config PHY_ROCKCHIP_EMMC 35 tristate "Rockchip EMMC PHY Driver" 36 depends on ARCH_ROCKCHIP && OF 37 select GENERIC_PHY 38 help 39 Enable this to support the Rockchip EMMC PHY. 40 41config PHY_ROCKCHIP_INNO_COMBPHY 42 tristate "Rockchip INNO USB 3.0 and PCIe COMBPHY Driver" 43 depends on (ARCH_ROCKCHIP && OF) || COMPILE_TEST 44 select GENERIC_PHY 45 help 46 Enable this to support the Rockchip SoCs COMBPHY. 47 If unsure, say N. 48 49config PHY_ROCKCHIP_INNO_HDMI 50 tristate "Rockchip INNO HDMI PHY Driver" 51 depends on (ARCH_ROCKCHIP || COMPILE_TEST) && OF 52 depends on COMMON_CLK 53 select GENERIC_PHY 54 help 55 Enable this to support the Rockchip Innosilicon HDMI PHY. 56 57config PHY_ROCKCHIP_INNO_USB2 58 tristate "Rockchip INNO USB2PHY Driver" 59 depends on (ARCH_ROCKCHIP || COMPILE_TEST) && OF 60 depends on COMMON_CLK 61 depends on EXTCON 62 depends on USB_SUPPORT 63 select GENERIC_PHY 64 select USB_COMMON 65 help 66 Support for Rockchip USB2.0 PHY with Innosilicon IP block. 67 68config PHY_ROCKCHIP_INNO_USB3 69 tristate "Rockchip INNO USB 3.0 PHY Driver" 70 depends on (ARCH_ROCKCHIP || COMPILE_TEST) && OF 71 select GENERIC_PHY 72 select USB_PHY 73 help 74 Support for Rockchip USB 3.0 PHY with Innosilicon IP block. 75 76config PHY_ROCKCHIP_INNO_DSIDPHY 77 tristate "Rockchip Innosilicon MIPI/LVDS/TTL PHY driver" 78 depends on (ARCH_ROCKCHIP || COMPILE_TEST) && OF 79 select GENERIC_PHY 80 select GENERIC_PHY_MIPI_DPHY 81 help 82 Enable this to support the Rockchip MIPI/LVDS/TTL PHY with 83 Innosilicon IP block. 84 85config PHY_ROCKCHIP_MIPI_RX 86 tristate "Rockchip MIPI RX D-PHY Driver" 87 depends on VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API 88 depends on ARCH_ROCKCHIP && OF 89 select GENERIC_PHY 90 select V4L2_FWNODE 91 help 92 Enable this to support the Rockchip MIPI D-PHY with Synopsys or Innosilicon IP block. 93 94config PHY_ROCKCHIP_NANENG_COMBO_PHY 95 tristate "Rockchip NANENG COMBO PHY Driver" 96 depends on ARCH_ROCKCHIP && OF 97 select GENERIC_PHY 98 help 99 Enable this to support the Rockchip PCIe/USB3.0/SATA/QSGMII 100 combo PHY with NaNeng IP block. 101 102config PHY_ROCKCHIP_NANENG_EDP 103 tristate "Rockchip Naneng eDP Transmitter PHY driver" 104 depends on ARCH_ROCKCHIP && OF 105 select GENERIC_PHY 106 help 107 Support for Rockchip eDP Transmitter PHY with Naneng IP block. 108 109config PHY_ROCKCHIP_NANENG_USB2 110 tristate "Rockchip NANENG USB2PHY Driver" 111 depends on (ARCH_ROCKCHIP || COMPILE_TEST) && OF 112 depends on COMMON_CLK 113 select EXTCON 114 depends on USB_SUPPORT 115 select GENERIC_PHY 116 select USB_COMMON 117 help 118 Support for Rockchip USB2.0 PHY with NANENG IP block. 119 120config PHY_ROCKCHIP_PCIE 121 tristate "Rockchip PCIe PHY Driver" 122 depends on (ARCH_ROCKCHIP && OF) || COMPILE_TEST 123 depends on HAS_IOMEM 124 select GENERIC_PHY 125 select MFD_SYSCON 126 help 127 Enable this to support the Rockchip PCIe PHY. 128 129config 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 138config 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 145config 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 152config PHY_ROCKCHIP_SNPS_PCIE3 153 tristate "Rockchip Snps PCIe3 PHY Driver" 154 depends on (ARCH_ROCKCHIP && OF) || COMPILE_TEST 155 depends on HAS_IOMEM 156 select GENERIC_PHY 157 select MFD_SYSCON 158 help 159 Enable this to support the Rockchip snps PCIe3 PHY. 160 161config PHY_ROCKCHIP_TYPEC 162 tristate "Rockchip TYPEC PHY Driver" 163 depends on OF && (ARCH_ROCKCHIP || COMPILE_TEST) 164 select EXTCON 165 select GENERIC_PHY 166 select RESET_CONTROLLER 167 select TYPEC 168 help 169 Enable this to support the Rockchip USB TYPEC PHY. 170 171config PHY_ROCKCHIP_USB 172 tristate "Rockchip USB2 PHY Driver" 173 depends on ARCH_ROCKCHIP && OF 174 select GENERIC_PHY 175 help 176 Enable this to support the Rockchip USB 2.0 PHY. 177 178config 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. 186