| .. | .. |
|---|
| 1 | +# SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | # |
|---|
| 2 | 3 | # Phy drivers for TI platforms |
|---|
| 3 | 4 | # |
|---|
| 4 | 5 | config PHY_DA8XX_USB |
|---|
| 5 | 6 | tristate "TI DA8xx USB PHY Driver" |
|---|
| 6 | | - depends on ARCH_DAVINCI_DA8XX |
|---|
| 7 | + depends on ARCH_DAVINCI_DA8XX || COMPILE_TEST |
|---|
| 7 | 8 | select GENERIC_PHY |
|---|
| 8 | 9 | select MFD_SYSCON |
|---|
| 9 | 10 | help |
|---|
| .. | .. |
|---|
| 13 | 14 | |
|---|
| 14 | 15 | config PHY_DM816X_USB |
|---|
| 15 | 16 | tristate "TI dm816x USB PHY driver" |
|---|
| 16 | | - depends on ARCH_OMAP2PLUS |
|---|
| 17 | + depends on ARCH_OMAP2PLUS || COMPILE_TEST |
|---|
| 17 | 18 | depends on USB_SUPPORT |
|---|
| 18 | 19 | select GENERIC_PHY |
|---|
| 19 | 20 | select USB_PHY |
|---|
| 20 | 21 | help |
|---|
| 21 | 22 | Enable this for dm816x USB to work. |
|---|
| 23 | + |
|---|
| 24 | +config PHY_AM654_SERDES |
|---|
| 25 | + tristate "TI AM654 SERDES support" |
|---|
| 26 | + depends on OF && (ARCH_K3 || COMPILE_TEST) |
|---|
| 27 | + depends on COMMON_CLK |
|---|
| 28 | + select GENERIC_PHY |
|---|
| 29 | + select MULTIPLEXER |
|---|
| 30 | + select REGMAP_MMIO |
|---|
| 31 | + select MUX_MMIO |
|---|
| 32 | + help |
|---|
| 33 | + This option enables support for TI AM654 SerDes PHY used for |
|---|
| 34 | + PCIe. |
|---|
| 35 | + |
|---|
| 36 | +config PHY_J721E_WIZ |
|---|
| 37 | + tristate "TI J721E WIZ (SERDES Wrapper) support" |
|---|
| 38 | + depends on OF && (ARCH_K3 || COMPILE_TEST) |
|---|
| 39 | + depends on HAS_IOMEM && OF_ADDRESS |
|---|
| 40 | + depends on COMMON_CLK |
|---|
| 41 | + select GENERIC_PHY |
|---|
| 42 | + select MULTIPLEXER |
|---|
| 43 | + select REGMAP_MMIO |
|---|
| 44 | + select MUX_MMIO |
|---|
| 45 | + help |
|---|
| 46 | + This option enables support for WIZ module present in TI's J721E |
|---|
| 47 | + SoC. WIZ is a serdes wrapper used to configure some of the input |
|---|
| 48 | + signals to the SERDES (Sierra/Torrent). This driver configures |
|---|
| 49 | + three clock selects (pll0, pll1, dig) and resets for each of the |
|---|
| 50 | + lanes. |
|---|
| 22 | 51 | |
|---|
| 23 | 52 | config OMAP_CONTROL_PHY |
|---|
| 24 | 53 | tristate "OMAP CONTROL PHY Driver" |
|---|
| .. | .. |
|---|
| 33 | 62 | |
|---|
| 34 | 63 | config OMAP_USB2 |
|---|
| 35 | 64 | tristate "OMAP USB2 PHY Driver" |
|---|
| 36 | | - depends on ARCH_OMAP2PLUS |
|---|
| 65 | + depends on ARCH_OMAP2PLUS || ARCH_K3 |
|---|
| 37 | 66 | depends on USB_SUPPORT |
|---|
| 38 | 67 | select GENERIC_PHY |
|---|
| 39 | 68 | select USB_PHY |
|---|
| 40 | | - select OMAP_CONTROL_PHY |
|---|
| 41 | | - depends on OMAP_OCP2SCP |
|---|
| 69 | + select OMAP_CONTROL_PHY if ARCH_OMAP2PLUS || COMPILE_TEST |
|---|
| 42 | 70 | help |
|---|
| 43 | 71 | Enable this to support the transceiver that is part of SOC. This |
|---|
| 44 | 72 | driver takes care of all the PHY functionality apart from comparator. |
|---|
| .. | .. |
|---|
| 50 | 78 | depends on ARCH_OMAP2PLUS || COMPILE_TEST |
|---|
| 51 | 79 | select GENERIC_PHY |
|---|
| 52 | 80 | select OMAP_CONTROL_PHY |
|---|
| 53 | | - depends on OMAP_OCP2SCP |
|---|
| 54 | 81 | help |
|---|
| 55 | 82 | Enable this to support the PIPE3 PHY that is part of TI SOCs. This |
|---|
| 56 | 83 | driver takes care of all the PHY functionality apart from comparator. |
|---|
| .. | .. |
|---|
| 76 | 103 | family chips (including the TWL5030 and TPS659x0 devices). |
|---|
| 77 | 104 | This transceiver supports high and full speed devices plus, |
|---|
| 78 | 105 | in host mode, low speed. |
|---|
| 106 | + |
|---|
| 107 | +config PHY_TI_GMII_SEL |
|---|
| 108 | + tristate |
|---|
| 109 | + select GENERIC_PHY |
|---|
| 110 | + select REGMAP |
|---|
| 111 | + help |
|---|
| 112 | + This driver supports configuring of the TI CPSW Port mode depending on |
|---|
| 113 | + the Ethernet PHY connected to the CPSW Port. |
|---|