xref: /linux/drivers/phy/ti/Kconfig (revision 9a87ffc99ec8eb8d35eed7c4f816d75f5cc9662e)
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"
7e7b4aaf0SKrzysztof Kozlowski	depends on ARCH_DAVINCI_DA8XX || COMPILE_TEST
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"
17e7b4aaf0SKrzysztof Kozlowski	depends on ARCH_OMAP2PLUS || COMPILE_TEST
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"
26*7124c938SRandy Dunlap	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
36091876ccSKishon Vijay Abraham Iconfig PHY_J721E_WIZ
37091876ccSKishon Vijay Abraham I	tristate "TI J721E WIZ (SERDES Wrapper) support"
38*7124c938SRandy Dunlap	depends on OF && (ARCH_K3 || COMPILE_TEST)
3942bbdd99SHongbo Yao	depends on HAS_IOMEM && OF_ADDRESS
40091876ccSKishon Vijay Abraham I	depends on COMMON_CLK
41091876ccSKishon Vijay Abraham I	select GENERIC_PHY
42091876ccSKishon Vijay Abraham I	select MULTIPLEXER
43091876ccSKishon Vijay Abraham I	select REGMAP_MMIO
44091876ccSKishon Vijay Abraham I	select MUX_MMIO
45091876ccSKishon Vijay Abraham I	help
46091876ccSKishon Vijay Abraham I	  This option enables support for WIZ module present in TI's J721E
47091876ccSKishon Vijay Abraham I	  SoC. WIZ is a serdes wrapper used to configure some of the input
48091876ccSKishon Vijay Abraham I	  signals to the SERDES (Sierra/Torrent). This driver configures
49091876ccSKishon Vijay Abraham I	  three clock selects (pll0, pll1, dig) and resets for each of the
50091876ccSKishon Vijay Abraham I	  lanes.
51091876ccSKishon Vijay Abraham I
520b56e9a7SVivek Gautamconfig OMAP_CONTROL_PHY
530b56e9a7SVivek Gautam	tristate "OMAP CONTROL PHY Driver"
540b56e9a7SVivek Gautam	depends on ARCH_OMAP2PLUS || COMPILE_TEST
550b56e9a7SVivek Gautam	help
560b56e9a7SVivek Gautam	  Enable this to add support for the PHY part present in the control
570b56e9a7SVivek Gautam	  module. This driver has API to power on the USB2 PHY and to write to
580b56e9a7SVivek Gautam	  the mailbox. The mailbox is present only in omap4 and the register to
590b56e9a7SVivek Gautam	  power on the USB2 PHY is present in OMAP4 and OMAP5. OMAP5 has an
600b56e9a7SVivek Gautam	  additional register to power on USB3 PHY/SATA PHY/PCIE PHY
610b56e9a7SVivek Gautam	  (PIPE3 PHY).
620b56e9a7SVivek Gautam
630b56e9a7SVivek Gautamconfig OMAP_USB2
640b56e9a7SVivek Gautam	tristate "OMAP USB2 PHY Driver"
656777cee3SRoger Quadros	depends on ARCH_OMAP2PLUS || ARCH_K3
660b56e9a7SVivek Gautam	depends on USB_SUPPORT
670b56e9a7SVivek Gautam	select GENERIC_PHY
680b56e9a7SVivek Gautam	select USB_PHY
69d41ce98aSArnd Bergmann	select OMAP_CONTROL_PHY if ARCH_OMAP2PLUS || COMPILE_TEST
700b56e9a7SVivek Gautam	help
710b56e9a7SVivek Gautam	  Enable this to support the transceiver that is part of SOC. This
720b56e9a7SVivek Gautam	  driver takes care of all the PHY functionality apart from comparator.
730b56e9a7SVivek Gautam	  The USB OTG controller communicates with the comparator using this
740b56e9a7SVivek Gautam	  driver.
750b56e9a7SVivek Gautam
760b56e9a7SVivek Gautamconfig TI_PIPE3
770b56e9a7SVivek Gautam	tristate "TI PIPE3 PHY Driver"
780b56e9a7SVivek Gautam	depends on ARCH_OMAP2PLUS || COMPILE_TEST
790b56e9a7SVivek Gautam	select GENERIC_PHY
800b56e9a7SVivek Gautam	select OMAP_CONTROL_PHY
810b56e9a7SVivek Gautam	help
820b56e9a7SVivek Gautam	  Enable this to support the PIPE3 PHY that is part of TI SOCs. This
830b56e9a7SVivek Gautam	  driver takes care of all the PHY functionality apart from comparator.
840b56e9a7SVivek Gautam	  This driver interacts with the "OMAP Control PHY Driver" to power
850b56e9a7SVivek Gautam	  on/off the PHY.
860b56e9a7SVivek Gautam
870b56e9a7SVivek Gautamconfig PHY_TUSB1210
880b56e9a7SVivek Gautam	tristate "TI TUSB1210 ULPI PHY module"
890b56e9a7SVivek Gautam	depends on USB_ULPI_BUS
900b56e9a7SVivek Gautam	select GENERIC_PHY
910b56e9a7SVivek Gautam	help
920b56e9a7SVivek Gautam	  Support for TI TUSB1210 USB ULPI PHY.
930b56e9a7SVivek Gautam
940b56e9a7SVivek Gautamconfig TWL4030_USB
950b56e9a7SVivek Gautam	tristate "TWL4030 USB Transceiver Driver"
960b56e9a7SVivek Gautam	depends on TWL4030_CORE && REGULATOR_TWL4030 && USB_MUSB_OMAP2PLUS
970b56e9a7SVivek Gautam	depends on USB_SUPPORT
980b56e9a7SVivek Gautam	depends on USB_GADGET || !USB_GADGET # if USB_GADGET=m, this can't 'y'
990b56e9a7SVivek Gautam	select GENERIC_PHY
1000b56e9a7SVivek Gautam	select USB_PHY
1010b56e9a7SVivek Gautam	help
1020b56e9a7SVivek Gautam	  Enable this to support the USB OTG transceiver on TWL4030
1030b56e9a7SVivek Gautam	  family chips (including the TWL5030 and TPS659x0 devices).
1040b56e9a7SVivek Gautam	  This transceiver supports high and full speed devices plus,
1050b56e9a7SVivek Gautam	  in host mode, low speed.
10692b58b34SGrygorii Strashko
10792b58b34SGrygorii Strashkoconfig PHY_TI_GMII_SEL
10892b58b34SGrygorii Strashko	tristate
10992b58b34SGrygorii Strashko	select GENERIC_PHY
1107acf8b36SJason Gunthorpe	select REGMAP
11192b58b34SGrygorii Strashko	help
11292b58b34SGrygorii Strashko	  This driver supports configuring of the TI CPSW Port mode depending on
11392b58b34SGrygorii Strashko	  the Ethernet PHY connected to the CPSW Port.
114