xref: /linux/drivers/phy/ti/Kconfig (revision 7acf8b36a2ac6eb4fdc53c4d862570089e56c69e)
10b56e9a7SVivek Gautam#
20b56e9a7SVivek Gautam# Phy drivers for TI platforms
30b56e9a7SVivek Gautam#
40b56e9a7SVivek Gautamconfig PHY_DA8XX_USB
50b56e9a7SVivek Gautam	tristate "TI DA8xx USB PHY Driver"
60b56e9a7SVivek Gautam	depends on ARCH_DAVINCI_DA8XX
70b56e9a7SVivek Gautam	select GENERIC_PHY
80b56e9a7SVivek Gautam	select MFD_SYSCON
90b56e9a7SVivek Gautam	help
100b56e9a7SVivek Gautam	  Enable this to support the USB PHY on DA8xx SoCs.
110b56e9a7SVivek Gautam
120b56e9a7SVivek Gautam	  This driver controls both the USB 1.1 PHY and the USB 2.0 PHY.
130b56e9a7SVivek Gautam
140b56e9a7SVivek Gautamconfig PHY_DM816X_USB
150b56e9a7SVivek Gautam	tristate "TI dm816x USB PHY driver"
160b56e9a7SVivek Gautam	depends on ARCH_OMAP2PLUS
170b56e9a7SVivek Gautam	depends on USB_SUPPORT
180b56e9a7SVivek Gautam	select GENERIC_PHY
190b56e9a7SVivek Gautam	select USB_PHY
200b56e9a7SVivek Gautam	help
210b56e9a7SVivek Gautam	  Enable this for dm816x USB to work.
220b56e9a7SVivek Gautam
230b56e9a7SVivek Gautamconfig OMAP_CONTROL_PHY
240b56e9a7SVivek Gautam	tristate "OMAP CONTROL PHY Driver"
250b56e9a7SVivek Gautam	depends on ARCH_OMAP2PLUS || COMPILE_TEST
260b56e9a7SVivek Gautam	help
270b56e9a7SVivek Gautam	  Enable this to add support for the PHY part present in the control
280b56e9a7SVivek Gautam	  module. This driver has API to power on the USB2 PHY and to write to
290b56e9a7SVivek Gautam	  the mailbox. The mailbox is present only in omap4 and the register to
300b56e9a7SVivek Gautam	  power on the USB2 PHY is present in OMAP4 and OMAP5. OMAP5 has an
310b56e9a7SVivek Gautam	  additional register to power on USB3 PHY/SATA PHY/PCIE PHY
320b56e9a7SVivek Gautam	  (PIPE3 PHY).
330b56e9a7SVivek Gautam
340b56e9a7SVivek Gautamconfig OMAP_USB2
350b56e9a7SVivek Gautam	tristate "OMAP USB2 PHY Driver"
360b56e9a7SVivek Gautam	depends on ARCH_OMAP2PLUS
370b56e9a7SVivek Gautam	depends on USB_SUPPORT
380b56e9a7SVivek Gautam	select GENERIC_PHY
390b56e9a7SVivek Gautam	select USB_PHY
400b56e9a7SVivek Gautam	select OMAP_CONTROL_PHY
410b56e9a7SVivek Gautam	depends on OMAP_OCP2SCP
420b56e9a7SVivek Gautam	help
430b56e9a7SVivek Gautam	  Enable this to support the transceiver that is part of SOC. This
440b56e9a7SVivek Gautam	  driver takes care of all the PHY functionality apart from comparator.
450b56e9a7SVivek Gautam	  The USB OTG controller communicates with the comparator using this
460b56e9a7SVivek Gautam	  driver.
470b56e9a7SVivek Gautam
480b56e9a7SVivek Gautamconfig TI_PIPE3
490b56e9a7SVivek Gautam	tristate "TI PIPE3 PHY Driver"
500b56e9a7SVivek Gautam	depends on ARCH_OMAP2PLUS || COMPILE_TEST
510b56e9a7SVivek Gautam	select GENERIC_PHY
520b56e9a7SVivek Gautam	select OMAP_CONTROL_PHY
530b56e9a7SVivek Gautam	depends on OMAP_OCP2SCP
540b56e9a7SVivek Gautam	help
550b56e9a7SVivek Gautam	  Enable this to support the PIPE3 PHY that is part of TI SOCs. This
560b56e9a7SVivek Gautam	  driver takes care of all the PHY functionality apart from comparator.
570b56e9a7SVivek Gautam	  This driver interacts with the "OMAP Control PHY Driver" to power
580b56e9a7SVivek Gautam	  on/off the PHY.
590b56e9a7SVivek Gautam
600b56e9a7SVivek Gautamconfig PHY_TUSB1210
610b56e9a7SVivek Gautam	tristate "TI TUSB1210 ULPI PHY module"
620b56e9a7SVivek Gautam	depends on USB_ULPI_BUS
630b56e9a7SVivek Gautam	select GENERIC_PHY
640b56e9a7SVivek Gautam	help
650b56e9a7SVivek Gautam	  Support for TI TUSB1210 USB ULPI PHY.
660b56e9a7SVivek Gautam
670b56e9a7SVivek Gautamconfig TWL4030_USB
680b56e9a7SVivek Gautam	tristate "TWL4030 USB Transceiver Driver"
690b56e9a7SVivek Gautam	depends on TWL4030_CORE && REGULATOR_TWL4030 && USB_MUSB_OMAP2PLUS
700b56e9a7SVivek Gautam	depends on USB_SUPPORT
710b56e9a7SVivek Gautam	depends on USB_GADGET || !USB_GADGET # if USB_GADGET=m, this can't 'y'
720b56e9a7SVivek Gautam	select GENERIC_PHY
730b56e9a7SVivek Gautam	select USB_PHY
740b56e9a7SVivek Gautam	help
750b56e9a7SVivek Gautam	  Enable this to support the USB OTG transceiver on TWL4030
760b56e9a7SVivek Gautam	  family chips (including the TWL5030 and TPS659x0 devices).
770b56e9a7SVivek Gautam	  This transceiver supports high and full speed devices plus,
780b56e9a7SVivek Gautam	  in host mode, low speed.
7992b58b34SGrygorii Strashko
8092b58b34SGrygorii Strashkoconfig PHY_TI_GMII_SEL
8192b58b34SGrygorii Strashko	tristate
8292b58b34SGrygorii Strashko	default y if TI_CPSW=y
8392b58b34SGrygorii Strashko	depends on TI_CPSW || COMPILE_TEST
8492b58b34SGrygorii Strashko	select GENERIC_PHY
85*7acf8b36SJason Gunthorpe	select REGMAP
8692b58b34SGrygorii Strashko	default m
8792b58b34SGrygorii Strashko	help
8892b58b34SGrygorii Strashko	  This driver supports configuring of the TI CPSW Port mode depending on
8992b58b34SGrygorii Strashko	  the Ethernet PHY connected to the CPSW Port.
90