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