| 1 | # SPDX-License-Identifier: GPL-2.0-only |
| 2 | # |
| 3 | # Phy drivers for Rockchip platforms |
| 4 | # |
| 5 | config 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 | |
| 12 | config 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 | |
| 24 | config 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 | |
| 31 | config 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 | depends on HAS_IOMEM |
| 36 | select GENERIC_PHY |
| 37 | help |
| 38 | Enable this to support the Rockchip Innosilicon HDMI PHY. |
| 39 | |
| 40 | config PHY_ROCKCHIP_INNO_USB2 |
| 41 | tristate "Rockchip INNO USB2PHY Driver" |
| 42 | depends on (ARCH_ROCKCHIP || COMPILE_TEST) && OF |
| 43 | depends on COMMON_CLK |
| 44 | depends on EXTCON |
| 45 | depends on USB_SUPPORT |
| 46 | select GENERIC_PHY |
| 47 | select USB_COMMON |
| 48 | help |
| 49 | Support for Rockchip USB2.0 PHY with Innosilicon IP block. |
| 50 | |
| 51 | config PHY_ROCKCHIP_INNO_CSIDPHY |
| 52 | tristate "Rockchip Innosilicon MIPI CSI PHY driver" |
| 53 | depends on (ARCH_ROCKCHIP || COMPILE_TEST) && OF |
| 54 | select GENERIC_PHY |
| 55 | select GENERIC_PHY_MIPI_DPHY |
| 56 | help |
| 57 | Enable this to support the Rockchip MIPI CSI PHY with |
| 58 | Innosilicon IP block. |
| 59 | |
| 60 | config PHY_ROCKCHIP_INNO_DSIDPHY |
| 61 | tristate "Rockchip Innosilicon MIPI/LVDS/TTL PHY driver" |
| 62 | depends on (ARCH_ROCKCHIP || COMPILE_TEST) && OF |
| 63 | select GENERIC_PHY |
| 64 | select GENERIC_PHY_MIPI_DPHY |
| 65 | help |
| 66 | Enable this to support the Rockchip MIPI/LVDS/TTL PHY with |
| 67 | Innosilicon IP block. |
| 68 | |
| 69 | config PHY_ROCKCHIP_NANENG_COMBO_PHY |
| 70 | tristate "Rockchip NANENG COMBO PHY Driver" |
| 71 | depends on ARCH_ROCKCHIP && OF |
| 72 | select GENERIC_PHY |
| 73 | help |
| 74 | Enable this to support the Rockchip PCIe/USB3.0/SATA/QSGMII |
| 75 | combo PHY with NaNeng IP block. |
| 76 | |
| 77 | config PHY_ROCKCHIP_PCIE |
| 78 | tristate "Rockchip PCIe PHY Driver" |
| 79 | depends on (ARCH_ROCKCHIP && OF) || COMPILE_TEST |
| 80 | depends on HAS_IOMEM |
| 81 | select GENERIC_PHY |
| 82 | select MFD_SYSCON |
| 83 | help |
| 84 | Enable this to support the Rockchip PCIe PHY. |
| 85 | |
| 86 | config PHY_ROCKCHIP_SAMSUNG_DCPHY |
| 87 | tristate "Rockchip Samsung MIPI DCPHY driver" |
| 88 | depends on (ARCH_ROCKCHIP || COMPILE_TEST) |
| 89 | select GENERIC_PHY |
| 90 | select GENERIC_PHY_MIPI_DPHY |
| 91 | help |
| 92 | Enable this to support the Rockchip MIPI DCPHY with |
| 93 | Samsung IP block. |
| 94 | |
| 95 | To compile this driver as a module, choose M here: the module |
| 96 | will be called phy-rockchip-samsung-dcphy |
| 97 | |
| 98 | config PHY_ROCKCHIP_SAMSUNG_HDPTX |
| 99 | tristate "Rockchip Samsung HDMI/eDP Combo PHY driver" |
| 100 | depends on (ARCH_ROCKCHIP || COMPILE_TEST) && OF |
| 101 | depends on COMMON_CLK |
| 102 | depends on HAS_IOMEM |
| 103 | select GENERIC_PHY |
| 104 | select MFD_SYSCON |
| 105 | select RATIONAL |
| 106 | help |
| 107 | Enable this to support the Rockchip HDMI/eDP Combo PHY |
| 108 | with Samsung IP block. |
| 109 | |
| 110 | config PHY_ROCKCHIP_SNPS_PCIE3 |
| 111 | tristate "Rockchip Snps PCIe3 PHY Driver" |
| 112 | depends on (ARCH_ROCKCHIP && OF) || COMPILE_TEST |
| 113 | depends on HAS_IOMEM |
| 114 | select GENERIC_PHY |
| 115 | select MFD_SYSCON |
| 116 | help |
| 117 | Enable this to support the Rockchip snps PCIe3 PHY. |
| 118 | |
| 119 | config PHY_ROCKCHIP_TYPEC |
| 120 | tristate "Rockchip TYPEC PHY Driver" |
| 121 | depends on OF && (ARCH_ROCKCHIP || COMPILE_TEST) |
| 122 | select EXTCON |
| 123 | select GENERIC_PHY |
| 124 | select RESET_CONTROLLER |
| 125 | help |
| 126 | Enable this to support the Rockchip USB TYPEC PHY. |
| 127 | |
| 128 | config PHY_ROCKCHIP_USB |
| 129 | tristate "Rockchip USB2 PHY Driver" |
| 130 | depends on ARCH_ROCKCHIP && OF |
| 131 | select GENERIC_PHY |
| 132 | help |
| 133 | Enable this to support the Rockchip USB 2.0 PHY. |
| 134 | |
| 135 | config PHY_ROCKCHIP_USBDP |
| 136 | tristate "Rockchip USBDP COMBO PHY Driver" |
| 137 | depends on ARCH_ROCKCHIP && OF |
| 138 | depends on TYPEC |
| 139 | select GENERIC_PHY |
| 140 | select USB_COMMON |
| 141 | help |
| 142 | Enable this to support the Rockchip USB3.0/DP combo PHY with |
| 143 | Samsung IP block. This is required for USB3 support on RK3588. |
| 144 | |
| 145 | To compile this driver as a module, choose M here: the module |
| 146 | will be called phy-rockchip-usbdp |