| .. | .. |
|---|
| 1 | +# SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | # |
|---|
| 2 | 3 | # Phy drivers for Rockchip platforms |
|---|
| 3 | 4 | # |
|---|
| 5 | + |
|---|
| 4 | 6 | config PHY_ROCKCHIP_CSI2_DPHY |
|---|
| 5 | 7 | tristate "Rockchip CSI2 D-PHY Driver" |
|---|
| 6 | 8 | depends on VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API |
|---|
| 7 | 9 | depends on ARCH_ROCKCHIP && OF |
|---|
| 8 | 10 | select GENERIC_PHY |
|---|
| 11 | + select V4L2_FWNODE |
|---|
| 9 | 12 | help |
|---|
| 10 | 13 | Enable this to support the Rockchip CSI2 DPHY. |
|---|
| 11 | 14 | |
|---|
| .. | .. |
|---|
| 15 | 18 | select GENERIC_PHY |
|---|
| 16 | 19 | help |
|---|
| 17 | 20 | 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. |
|---|
| 18 | 33 | |
|---|
| 19 | 34 | config PHY_ROCKCHIP_EMMC |
|---|
| 20 | 35 | tristate "Rockchip EMMC PHY Driver" |
|---|
| .. | .. |
|---|
| 31 | 46 | Enable this to support the Rockchip SoCs COMBPHY. |
|---|
| 32 | 47 | If unsure, say N. |
|---|
| 33 | 48 | |
|---|
| 34 | | -config PHY_ROCKCHIP_INNO_HDMI_PHY |
|---|
| 49 | +config PHY_ROCKCHIP_INNO_HDMI |
|---|
| 35 | 50 | 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 |
|---|
| 37 | 53 | select GENERIC_PHY |
|---|
| 38 | 54 | 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. |
|---|
| 47 | 56 | |
|---|
| 48 | 57 | config PHY_ROCKCHIP_INNO_USB2 |
|---|
| 49 | 58 | tristate "Rockchip INNO USB2PHY Driver" |
|---|
| 50 | 59 | depends on (ARCH_ROCKCHIP || COMPILE_TEST) && OF |
|---|
| 51 | 60 | depends on COMMON_CLK |
|---|
| 52 | | - select EXTCON |
|---|
| 61 | + depends on EXTCON |
|---|
| 53 | 62 | depends on USB_SUPPORT |
|---|
| 54 | 63 | select GENERIC_PHY |
|---|
| 55 | 64 | select USB_COMMON |
|---|
| .. | .. |
|---|
| 64 | 73 | help |
|---|
| 65 | 74 | Support for Rockchip USB 3.0 PHY with Innosilicon IP block. |
|---|
| 66 | 75 | |
|---|
| 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 |
|---|
| 70 | 79 | select GENERIC_PHY |
|---|
| 80 | + select GENERIC_PHY_MIPI_DPHY |
|---|
| 71 | 81 | help |
|---|
| 72 | 82 | 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 |
|---|
| 81 | 83 | Innosilicon IP block. |
|---|
| 82 | 84 | |
|---|
| 83 | 85 | config PHY_ROCKCHIP_MIPI_RX |
|---|
| .. | .. |
|---|
| 85 | 87 | depends on VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API |
|---|
| 86 | 88 | depends on ARCH_ROCKCHIP && OF |
|---|
| 87 | 89 | select GENERIC_PHY |
|---|
| 90 | + select V4L2_FWNODE |
|---|
| 88 | 91 | help |
|---|
| 89 | 92 | Enable this to support the Rockchip MIPI D-PHY with Synopsys or Innosilicon IP block. |
|---|
| 90 | 93 | |
|---|
| .. | .. |
|---|
| 123 | 126 | help |
|---|
| 124 | 127 | Enable this to support the Rockchip PCIe PHY. |
|---|
| 125 | 128 | |
|---|
| 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 | + |
|---|
| 126 | 152 | config PHY_ROCKCHIP_SNPS_PCIE3 |
|---|
| 127 | 153 | tristate "Rockchip Snps PCIe3 PHY Driver" |
|---|
| 128 | 154 | depends on (ARCH_ROCKCHIP && OF) || COMPILE_TEST |
|---|
| .. | .. |
|---|
| 138 | 164 | select EXTCON |
|---|
| 139 | 165 | select GENERIC_PHY |
|---|
| 140 | 166 | select RESET_CONTROLLER |
|---|
| 167 | + select TYPEC |
|---|
| 141 | 168 | help |
|---|
| 142 | 169 | Enable this to support the Rockchip USB TYPEC PHY. |
|---|
| 143 | 170 | |
|---|
| .. | .. |
|---|
| 147 | 174 | select GENERIC_PHY |
|---|
| 148 | 175 | help |
|---|
| 149 | 176 | 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. |
|---|