xref: /linux/drivers/phy/ti/Kconfig (revision 9bf5c16a6e63ebf2803deb32ba984a7fcf2c5ed7)
1# SPDX-License-Identifier: GPL-2.0-only
2#
3# Phy drivers for TI platforms
4#
5config OMAP_CONTROL_PHY
6	tristate "OMAP CONTROL PHY Driver"
7	depends on ARCH_OMAP2PLUS || COMPILE_TEST
8	help
9	  Enable this to add support for the PHY part present in the control
10	  module. This driver has API to power on the USB2 PHY and to write to
11	  the mailbox. The mailbox is present only in omap4 and the register to
12	  power on the USB2 PHY is present in OMAP4 and OMAP5. OMAP5 has an
13	  additional register to power on USB3 PHY/SATA PHY/PCIE PHY
14	  (PIPE3 PHY).
15
16config OMAP_USB2
17	tristate "OMAP USB2 PHY Driver"
18	depends on ARCH_OMAP2PLUS || ARCH_K3 || COMPILE_TEST
19	depends on USB_SUPPORT
20	select GENERIC_PHY
21	select USB_PHY
22	select OMAP_CONTROL_PHY if ARCH_OMAP2PLUS || COMPILE_TEST
23	help
24	  Enable this to support the transceiver that is part of SOC. This
25	  driver takes care of all the PHY functionality apart from comparator.
26	  The USB OTG controller communicates with the comparator using this
27	  driver.
28
29config PHY_AM654_SERDES
30	tristate "TI AM654 SERDES support"
31	depends on OF && (ARCH_K3 || COMPILE_TEST)
32	depends on COMMON_CLK
33	select GENERIC_PHY
34	select MULTIPLEXER
35	select REGMAP_MMIO
36	select MUX_MMIO
37	help
38	  This option enables support for TI AM654 SerDes PHY used for
39	  PCIe.
40
41config PHY_DA8XX_USB
42	tristate "TI DA8xx USB PHY Driver"
43	depends on ARCH_DAVINCI_DA8XX || COMPILE_TEST
44	select GENERIC_PHY
45	select MFD_SYSCON
46	help
47	  Enable this to support the USB PHY on DA8xx SoCs.
48
49	  This driver controls both the USB 1.1 PHY and the USB 2.0 PHY.
50
51config PHY_DM816X_USB
52	tristate "TI dm816x USB PHY driver"
53	depends on ARCH_OMAP2PLUS || COMPILE_TEST
54	depends on USB_SUPPORT
55	select GENERIC_PHY
56	select USB_PHY
57	help
58	  Enable this for dm816x USB to work.
59
60config PHY_J721E_WIZ
61	tristate "TI J721E WIZ (SERDES Wrapper) support"
62	depends on OF && (ARCH_K3 || COMPILE_TEST)
63	depends on HAS_IOMEM && OF_ADDRESS
64	depends on COMMON_CLK
65	select GENERIC_PHY
66	select MULTIPLEXER
67	select REGMAP_MMIO
68	select MUX_MMIO
69	help
70	  This option enables support for WIZ module present in TI's J721E
71	  SoC. WIZ is a serdes wrapper used to configure some of the input
72	  signals to the SERDES (Sierra/Torrent). This driver configures
73	  three clock selects (pll0, pll1, dig) and resets for each of the
74	  lanes.
75
76config PHY_TI_DS125DF111
77	tristate "TI DS125DF111 2-Channel Retimer Driver"
78	depends on OF && I2C
79	select GENERIC_PHY
80	help
81	  Enable this to add support for configuration and runtime management
82	  of the TI DS125DF111 Multi-Protocol 2-Channel Retimer.
83	  The retimer is modeled as a Generic PHY and supports both 10G and 1G
84	  link speeds.
85
86config PHY_TI_GMII_SEL
87	tristate
88	select GENERIC_PHY
89	select REGMAP
90	help
91	  This driver supports configuring of the TI CPSW Port mode depending on
92	  the Ethernet PHY connected to the CPSW Port.
93
94config PHY_TUSB1210
95	tristate "TI TUSB1210 ULPI PHY module"
96	depends on USB_ULPI_BUS
97	select GENERIC_PHY
98	help
99	  Support for TI TUSB1210 USB ULPI PHY.
100
101config TI_PIPE3
102	tristate "TI PIPE3 PHY Driver"
103	depends on ARCH_OMAP2PLUS || COMPILE_TEST
104	select GENERIC_PHY
105	select OMAP_CONTROL_PHY
106	help
107	  Enable this to support the PIPE3 PHY that is part of TI SOCs. This
108	  driver takes care of all the PHY functionality apart from comparator.
109	  This driver interacts with the "OMAP Control PHY Driver" to power
110	  on/off the PHY.
111
112config TWL4030_USB
113	tristate "TWL4030 USB Transceiver Driver"
114	depends on TWL4030_CORE && REGULATOR_TWL4030 && USB_MUSB_OMAP2PLUS
115	depends on USB_SUPPORT
116	depends on USB_GADGET || !USB_GADGET # if USB_GADGET=m, this can't 'y'
117	select GENERIC_PHY
118	select USB_PHY
119	help
120	  Enable this to support the USB OTG transceiver on TWL4030
121	  family chips (including the TWL5030 and TPS659x0 devices).
122	  This transceiver supports high and full speed devices plus,
123	  in host mode, low speed.
124