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