1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only 20b56e9a7SVivek Gautam# 30b56e9a7SVivek Gautam# Phy drivers for TI platforms 40b56e9a7SVivek Gautam# 50b56e9a7SVivek Gautamconfig PHY_DA8XX_USB 60b56e9a7SVivek Gautam tristate "TI DA8xx USB PHY Driver" 70b56e9a7SVivek Gautam depends on ARCH_DAVINCI_DA8XX 80b56e9a7SVivek Gautam select GENERIC_PHY 90b56e9a7SVivek Gautam select MFD_SYSCON 100b56e9a7SVivek Gautam help 110b56e9a7SVivek Gautam Enable this to support the USB PHY on DA8xx SoCs. 120b56e9a7SVivek Gautam 130b56e9a7SVivek Gautam This driver controls both the USB 1.1 PHY and the USB 2.0 PHY. 140b56e9a7SVivek Gautam 150b56e9a7SVivek Gautamconfig PHY_DM816X_USB 160b56e9a7SVivek Gautam tristate "TI dm816x USB PHY driver" 170b56e9a7SVivek Gautam depends on ARCH_OMAP2PLUS 180b56e9a7SVivek Gautam depends on USB_SUPPORT 190b56e9a7SVivek Gautam select GENERIC_PHY 200b56e9a7SVivek Gautam select USB_PHY 210b56e9a7SVivek Gautam help 220b56e9a7SVivek Gautam Enable this for dm816x USB to work. 230b56e9a7SVivek Gautam 2471e2f5c5SKishon Vijay Abraham Iconfig PHY_AM654_SERDES 2571e2f5c5SKishon Vijay Abraham I tristate "TI AM654 SERDES support" 2671e2f5c5SKishon Vijay Abraham I depends on OF && ARCH_K3 || COMPILE_TEST 2771e2f5c5SKishon Vijay Abraham I depends on COMMON_CLK 2871e2f5c5SKishon Vijay Abraham I select GENERIC_PHY 2971e2f5c5SKishon Vijay Abraham I select MULTIPLEXER 3071e2f5c5SKishon Vijay Abraham I select REGMAP_MMIO 3171e2f5c5SKishon Vijay Abraham I select MUX_MMIO 3271e2f5c5SKishon Vijay Abraham I help 3371e2f5c5SKishon Vijay Abraham I This option enables support for TI AM654 SerDes PHY used for 3471e2f5c5SKishon Vijay Abraham I PCIe. 3571e2f5c5SKishon Vijay Abraham I 36*091876ccSKishon Vijay Abraham Iconfig PHY_J721E_WIZ 37*091876ccSKishon Vijay Abraham I tristate "TI J721E WIZ (SERDES Wrapper) support" 38*091876ccSKishon Vijay Abraham I depends on OF && ARCH_K3 || COMPILE_TEST 39*091876ccSKishon Vijay Abraham I depends on COMMON_CLK 40*091876ccSKishon Vijay Abraham I select GENERIC_PHY 41*091876ccSKishon Vijay Abraham I select MULTIPLEXER 42*091876ccSKishon Vijay Abraham I select REGMAP_MMIO 43*091876ccSKishon Vijay Abraham I select MUX_MMIO 44*091876ccSKishon Vijay Abraham I help 45*091876ccSKishon Vijay Abraham I This option enables support for WIZ module present in TI's J721E 46*091876ccSKishon Vijay Abraham I SoC. WIZ is a serdes wrapper used to configure some of the input 47*091876ccSKishon Vijay Abraham I signals to the SERDES (Sierra/Torrent). This driver configures 48*091876ccSKishon Vijay Abraham I three clock selects (pll0, pll1, dig) and resets for each of the 49*091876ccSKishon Vijay Abraham I lanes. 50*091876ccSKishon Vijay Abraham I 510b56e9a7SVivek Gautamconfig OMAP_CONTROL_PHY 520b56e9a7SVivek Gautam tristate "OMAP CONTROL PHY Driver" 530b56e9a7SVivek Gautam depends on ARCH_OMAP2PLUS || COMPILE_TEST 540b56e9a7SVivek Gautam help 550b56e9a7SVivek Gautam Enable this to add support for the PHY part present in the control 560b56e9a7SVivek Gautam module. This driver has API to power on the USB2 PHY and to write to 570b56e9a7SVivek Gautam the mailbox. The mailbox is present only in omap4 and the register to 580b56e9a7SVivek Gautam power on the USB2 PHY is present in OMAP4 and OMAP5. OMAP5 has an 590b56e9a7SVivek Gautam additional register to power on USB3 PHY/SATA PHY/PCIE PHY 600b56e9a7SVivek Gautam (PIPE3 PHY). 610b56e9a7SVivek Gautam 620b56e9a7SVivek Gautamconfig OMAP_USB2 630b56e9a7SVivek Gautam tristate "OMAP USB2 PHY Driver" 646777cee3SRoger Quadros depends on ARCH_OMAP2PLUS || ARCH_K3 650b56e9a7SVivek Gautam depends on USB_SUPPORT 660b56e9a7SVivek Gautam select GENERIC_PHY 670b56e9a7SVivek Gautam select USB_PHY 68d41ce98aSArnd Bergmann select OMAP_CONTROL_PHY if ARCH_OMAP2PLUS || COMPILE_TEST 690b56e9a7SVivek Gautam help 700b56e9a7SVivek Gautam Enable this to support the transceiver that is part of SOC. This 710b56e9a7SVivek Gautam driver takes care of all the PHY functionality apart from comparator. 720b56e9a7SVivek Gautam The USB OTG controller communicates with the comparator using this 730b56e9a7SVivek Gautam driver. 740b56e9a7SVivek Gautam 750b56e9a7SVivek Gautamconfig TI_PIPE3 760b56e9a7SVivek Gautam tristate "TI PIPE3 PHY Driver" 770b56e9a7SVivek Gautam depends on ARCH_OMAP2PLUS || COMPILE_TEST 780b56e9a7SVivek Gautam select GENERIC_PHY 790b56e9a7SVivek Gautam select OMAP_CONTROL_PHY 800b56e9a7SVivek Gautam help 810b56e9a7SVivek Gautam Enable this to support the PIPE3 PHY that is part of TI SOCs. This 820b56e9a7SVivek Gautam driver takes care of all the PHY functionality apart from comparator. 830b56e9a7SVivek Gautam This driver interacts with the "OMAP Control PHY Driver" to power 840b56e9a7SVivek Gautam on/off the PHY. 850b56e9a7SVivek Gautam 860b56e9a7SVivek Gautamconfig PHY_TUSB1210 870b56e9a7SVivek Gautam tristate "TI TUSB1210 ULPI PHY module" 880b56e9a7SVivek Gautam depends on USB_ULPI_BUS 890b56e9a7SVivek Gautam select GENERIC_PHY 900b56e9a7SVivek Gautam help 910b56e9a7SVivek Gautam Support for TI TUSB1210 USB ULPI PHY. 920b56e9a7SVivek Gautam 930b56e9a7SVivek Gautamconfig TWL4030_USB 940b56e9a7SVivek Gautam tristate "TWL4030 USB Transceiver Driver" 950b56e9a7SVivek Gautam depends on TWL4030_CORE && REGULATOR_TWL4030 && USB_MUSB_OMAP2PLUS 960b56e9a7SVivek Gautam depends on USB_SUPPORT 970b56e9a7SVivek Gautam depends on USB_GADGET || !USB_GADGET # if USB_GADGET=m, this can't 'y' 980b56e9a7SVivek Gautam select GENERIC_PHY 990b56e9a7SVivek Gautam select USB_PHY 1000b56e9a7SVivek Gautam help 1010b56e9a7SVivek Gautam Enable this to support the USB OTG transceiver on TWL4030 1020b56e9a7SVivek Gautam family chips (including the TWL5030 and TPS659x0 devices). 1030b56e9a7SVivek Gautam This transceiver supports high and full speed devices plus, 1040b56e9a7SVivek Gautam in host mode, low speed. 10592b58b34SGrygorii Strashko 10692b58b34SGrygorii Strashkoconfig PHY_TI_GMII_SEL 10792b58b34SGrygorii Strashko tristate 108da84e50cSGrygorii Strashko default y if TI_CPSW=y || TI_CPSW_SWITCHDEV=y 109da84e50cSGrygorii Strashko depends on TI_CPSW || TI_CPSW_SWITCHDEV || COMPILE_TEST 11092b58b34SGrygorii Strashko select GENERIC_PHY 1117acf8b36SJason Gunthorpe select REGMAP 11292b58b34SGrygorii Strashko default m 11392b58b34SGrygorii Strashko help 11492b58b34SGrygorii Strashko This driver supports configuring of the TI CPSW Port mode depending on 11592b58b34SGrygorii Strashko the Ethernet PHY connected to the CPSW Port. 116