0001 # SPDX-License-Identifier: GPL-2.0-only
0002 #
0003 # Phy drivers for TI platforms
0004 #
0005 config PHY_DA8XX_USB
0006 tristate "TI DA8xx USB PHY Driver"
0007 depends on ARCH_DAVINCI_DA8XX || COMPILE_TEST
0008 select GENERIC_PHY
0009 select MFD_SYSCON
0010 help
0011 Enable this to support the USB PHY on DA8xx SoCs.
0012
0013 This driver controls both the USB 1.1 PHY and the USB 2.0 PHY.
0014
0015 config PHY_DM816X_USB
0016 tristate "TI dm816x USB PHY driver"
0017 depends on ARCH_OMAP2PLUS || COMPILE_TEST
0018 depends on USB_SUPPORT
0019 select GENERIC_PHY
0020 select USB_PHY
0021 help
0022 Enable this for dm816x USB to work.
0023
0024 config PHY_AM654_SERDES
0025 tristate "TI AM654 SERDES support"
0026 depends on OF && ARCH_K3 || COMPILE_TEST
0027 depends on COMMON_CLK
0028 select GENERIC_PHY
0029 select MULTIPLEXER
0030 select REGMAP_MMIO
0031 select MUX_MMIO
0032 help
0033 This option enables support for TI AM654 SerDes PHY used for
0034 PCIe.
0035
0036 config PHY_J721E_WIZ
0037 tristate "TI J721E WIZ (SERDES Wrapper) support"
0038 depends on OF && ARCH_K3 || COMPILE_TEST
0039 depends on HAS_IOMEM && OF_ADDRESS
0040 depends on COMMON_CLK
0041 select GENERIC_PHY
0042 select MULTIPLEXER
0043 select REGMAP_MMIO
0044 select MUX_MMIO
0045 help
0046 This option enables support for WIZ module present in TI's J721E
0047 SoC. WIZ is a serdes wrapper used to configure some of the input
0048 signals to the SERDES (Sierra/Torrent). This driver configures
0049 three clock selects (pll0, pll1, dig) and resets for each of the
0050 lanes.
0051
0052 config OMAP_CONTROL_PHY
0053 tristate "OMAP CONTROL PHY Driver"
0054 depends on ARCH_OMAP2PLUS || COMPILE_TEST
0055 help
0056 Enable this to add support for the PHY part present in the control
0057 module. This driver has API to power on the USB2 PHY and to write to
0058 the mailbox. The mailbox is present only in omap4 and the register to
0059 power on the USB2 PHY is present in OMAP4 and OMAP5. OMAP5 has an
0060 additional register to power on USB3 PHY/SATA PHY/PCIE PHY
0061 (PIPE3 PHY).
0062
0063 config OMAP_USB2
0064 tristate "OMAP USB2 PHY Driver"
0065 depends on ARCH_OMAP2PLUS || ARCH_K3
0066 depends on USB_SUPPORT
0067 select GENERIC_PHY
0068 select USB_PHY
0069 select OMAP_CONTROL_PHY if ARCH_OMAP2PLUS || COMPILE_TEST
0070 help
0071 Enable this to support the transceiver that is part of SOC. This
0072 driver takes care of all the PHY functionality apart from comparator.
0073 The USB OTG controller communicates with the comparator using this
0074 driver.
0075
0076 config TI_PIPE3
0077 tristate "TI PIPE3 PHY Driver"
0078 depends on ARCH_OMAP2PLUS || COMPILE_TEST
0079 select GENERIC_PHY
0080 select OMAP_CONTROL_PHY
0081 help
0082 Enable this to support the PIPE3 PHY that is part of TI SOCs. This
0083 driver takes care of all the PHY functionality apart from comparator.
0084 This driver interacts with the "OMAP Control PHY Driver" to power
0085 on/off the PHY.
0086
0087 config PHY_TUSB1210
0088 tristate "TI TUSB1210 ULPI PHY module"
0089 depends on USB_ULPI_BUS
0090 select GENERIC_PHY
0091 help
0092 Support for TI TUSB1210 USB ULPI PHY.
0093
0094 config TWL4030_USB
0095 tristate "TWL4030 USB Transceiver Driver"
0096 depends on TWL4030_CORE && REGULATOR_TWL4030 && USB_MUSB_OMAP2PLUS
0097 depends on USB_SUPPORT
0098 depends on USB_GADGET || !USB_GADGET # if USB_GADGET=m, this can't 'y'
0099 select GENERIC_PHY
0100 select USB_PHY
0101 help
0102 Enable this to support the USB OTG transceiver on TWL4030
0103 family chips (including the TWL5030 and TPS659x0 devices).
0104 This transceiver supports high and full speed devices plus,
0105 in host mode, low speed.
0106
0107 config PHY_TI_GMII_SEL
0108 tristate
0109 select GENERIC_PHY
0110 select REGMAP
0111 help
0112 This driver supports configuring of the TI CPSW Port mode depending on
0113 the Ethernet PHY connected to the CPSW Port.