xref: /openbmc/linux/drivers/phy/ti/Kconfig (revision dfd4f649)
1#
2# Phy drivers for TI platforms
3#
4config PHY_DA8XX_USB
5	tristate "TI DA8xx USB PHY Driver"
6	depends on ARCH_DAVINCI_DA8XX
7	select GENERIC_PHY
8	select MFD_SYSCON
9	help
10	  Enable this to support the USB PHY on DA8xx SoCs.
11
12	  This driver controls both the USB 1.1 PHY and the USB 2.0 PHY.
13
14config PHY_DM816X_USB
15	tristate "TI dm816x USB PHY driver"
16	depends on ARCH_OMAP2PLUS
17	depends on USB_SUPPORT
18	select GENERIC_PHY
19	select USB_PHY
20	help
21	  Enable this for dm816x USB to work.
22
23config OMAP_CONTROL_PHY
24	tristate "OMAP CONTROL PHY Driver"
25	depends on ARCH_OMAP2PLUS || COMPILE_TEST
26	help
27	  Enable this to add support for the PHY part present in the control
28	  module. This driver has API to power on the USB2 PHY and to write to
29	  the mailbox. The mailbox is present only in omap4 and the register to
30	  power on the USB2 PHY is present in OMAP4 and OMAP5. OMAP5 has an
31	  additional register to power on USB3 PHY/SATA PHY/PCIE PHY
32	  (PIPE3 PHY).
33
34config OMAP_USB2
35	tristate "OMAP USB2 PHY Driver"
36	depends on ARCH_OMAP2PLUS || ARCH_K3
37	depends on USB_SUPPORT
38	select GENERIC_PHY
39	select USB_PHY
40	select OMAP_CONTROL_PHY if ARCH_OMAP2PLUS
41	help
42	  Enable this to support the transceiver that is part of SOC. This
43	  driver takes care of all the PHY functionality apart from comparator.
44	  The USB OTG controller communicates with the comparator using this
45	  driver.
46
47config TI_PIPE3
48	tristate "TI PIPE3 PHY Driver"
49	depends on ARCH_OMAP2PLUS || COMPILE_TEST
50	select GENERIC_PHY
51	select OMAP_CONTROL_PHY
52	help
53	  Enable this to support the PIPE3 PHY that is part of TI SOCs. This
54	  driver takes care of all the PHY functionality apart from comparator.
55	  This driver interacts with the "OMAP Control PHY Driver" to power
56	  on/off the PHY.
57
58config PHY_TUSB1210
59	tristate "TI TUSB1210 ULPI PHY module"
60	depends on USB_ULPI_BUS
61	select GENERIC_PHY
62	help
63	  Support for TI TUSB1210 USB ULPI PHY.
64
65config TWL4030_USB
66	tristate "TWL4030 USB Transceiver Driver"
67	depends on TWL4030_CORE && REGULATOR_TWL4030 && USB_MUSB_OMAP2PLUS
68	depends on USB_SUPPORT
69	depends on USB_GADGET || !USB_GADGET # if USB_GADGET=m, this can't 'y'
70	select GENERIC_PHY
71	select USB_PHY
72	help
73	  Enable this to support the USB OTG transceiver on TWL4030
74	  family chips (including the TWL5030 and TPS659x0 devices).
75	  This transceiver supports high and full speed devices plus,
76	  in host mode, low speed.
77
78config PHY_TI_GMII_SEL
79	tristate
80	default y if TI_CPSW=y
81	depends on TI_CPSW || COMPILE_TEST
82	select GENERIC_PHY
83	select REGMAP
84	default m
85	help
86	  This driver supports configuring of the TI CPSW Port mode depending on
87	  the Ethernet PHY connected to the CPSW Port.
88