Merge branch 'x86-pti-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git...
[linux-2.6-block.git] / drivers / phy / ti / Kconfig
1 # SPDX-License-Identifier: GPL-2.0-only
2 #
3 # Phy drivers for TI platforms
4 #
5 config 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
15 config 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
24 config 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
36 config OMAP_CONTROL_PHY
37         tristate "OMAP CONTROL PHY Driver"
38         depends on ARCH_OMAP2PLUS || COMPILE_TEST
39         help
40           Enable this to add support for the PHY part present in the control
41           module. This driver has API to power on the USB2 PHY and to write to
42           the mailbox. The mailbox is present only in omap4 and the register to
43           power on the USB2 PHY is present in OMAP4 and OMAP5. OMAP5 has an
44           additional register to power on USB3 PHY/SATA PHY/PCIE PHY
45           (PIPE3 PHY).
46
47 config OMAP_USB2
48         tristate "OMAP USB2 PHY Driver"
49         depends on ARCH_OMAP2PLUS || ARCH_K3
50         depends on USB_SUPPORT
51         select GENERIC_PHY
52         select USB_PHY
53         select OMAP_CONTROL_PHY if ARCH_OMAP2PLUS || COMPILE_TEST
54         help
55           Enable this to support the transceiver that is part of SOC. This
56           driver takes care of all the PHY functionality apart from comparator.
57           The USB OTG controller communicates with the comparator using this
58           driver.
59
60 config TI_PIPE3
61         tristate "TI PIPE3 PHY Driver"
62         depends on ARCH_OMAP2PLUS || COMPILE_TEST
63         select GENERIC_PHY
64         select OMAP_CONTROL_PHY
65         help
66           Enable this to support the PIPE3 PHY that is part of TI SOCs. This
67           driver takes care of all the PHY functionality apart from comparator.
68           This driver interacts with the "OMAP Control PHY Driver" to power
69           on/off the PHY.
70
71 config PHY_TUSB1210
72         tristate "TI TUSB1210 ULPI PHY module"
73         depends on USB_ULPI_BUS
74         select GENERIC_PHY
75         help
76           Support for TI TUSB1210 USB ULPI PHY.
77
78 config TWL4030_USB
79         tristate "TWL4030 USB Transceiver Driver"
80         depends on TWL4030_CORE && REGULATOR_TWL4030 && USB_MUSB_OMAP2PLUS
81         depends on USB_SUPPORT
82         depends on USB_GADGET || !USB_GADGET # if USB_GADGET=m, this can't 'y'
83         select GENERIC_PHY
84         select USB_PHY
85         help
86           Enable this to support the USB OTG transceiver on TWL4030
87           family chips (including the TWL5030 and TPS659x0 devices).
88           This transceiver supports high and full speed devices plus,
89           in host mode, low speed.
90
91 config PHY_TI_GMII_SEL
92         tristate
93         default y if TI_CPSW=y || TI_CPSW_SWITCHDEV=y
94         depends on TI_CPSW || TI_CPSW_SWITCHDEV || COMPILE_TEST
95         select GENERIC_PHY
96         select REGMAP
97         default m
98         help
99           This driver supports configuring of the TI CPSW Port mode depending on
100           the Ethernet PHY connected to the CPSW Port.