xref: /openbmc/linux/drivers/phy/ti/Kconfig (revision 814137768b5a9504f758aa760e7b1ac355539783)
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 PHY_AM654_SERDES
24	tristate "TI AM654 SERDES support"
25	depends on OF && ARCH_K3 || COMPILE_TEST
26	depends on COMMON_CLK
27	select GENERIC_PHY
28	select MULTIPLEXER
29	select REGMAP_MMIO
30	select MUX_MMIO
31	help
32	  This option enables support for TI AM654 SerDes PHY used for
33	  PCIe.
34
35config OMAP_CONTROL_PHY
36	tristate "OMAP CONTROL PHY Driver"
37	depends on ARCH_OMAP2PLUS || COMPILE_TEST
38	help
39	  Enable this to add support for the PHY part present in the control
40	  module. This driver has API to power on the USB2 PHY and to write to
41	  the mailbox. The mailbox is present only in omap4 and the register to
42	  power on the USB2 PHY is present in OMAP4 and OMAP5. OMAP5 has an
43	  additional register to power on USB3 PHY/SATA PHY/PCIE PHY
44	  (PIPE3 PHY).
45
46config OMAP_USB2
47	tristate "OMAP USB2 PHY Driver"
48	depends on ARCH_OMAP2PLUS || ARCH_K3
49	depends on USB_SUPPORT
50	select GENERIC_PHY
51	select USB_PHY
52	select OMAP_CONTROL_PHY if ARCH_OMAP2PLUS || COMPILE_TEST
53	help
54	  Enable this to support the transceiver that is part of SOC. This
55	  driver takes care of all the PHY functionality apart from comparator.
56	  The USB OTG controller communicates with the comparator using this
57	  driver.
58
59config TI_PIPE3
60	tristate "TI PIPE3 PHY Driver"
61	depends on ARCH_OMAP2PLUS || COMPILE_TEST
62	select GENERIC_PHY
63	select OMAP_CONTROL_PHY
64	help
65	  Enable this to support the PIPE3 PHY that is part of TI SOCs. This
66	  driver takes care of all the PHY functionality apart from comparator.
67	  This driver interacts with the "OMAP Control PHY Driver" to power
68	  on/off the PHY.
69
70config PHY_TUSB1210
71	tristate "TI TUSB1210 ULPI PHY module"
72	depends on USB_ULPI_BUS
73	select GENERIC_PHY
74	help
75	  Support for TI TUSB1210 USB ULPI PHY.
76
77config TWL4030_USB
78	tristate "TWL4030 USB Transceiver Driver"
79	depends on TWL4030_CORE && REGULATOR_TWL4030 && USB_MUSB_OMAP2PLUS
80	depends on USB_SUPPORT
81	depends on USB_GADGET || !USB_GADGET # if USB_GADGET=m, this can't 'y'
82	select GENERIC_PHY
83	select USB_PHY
84	help
85	  Enable this to support the USB OTG transceiver on TWL4030
86	  family chips (including the TWL5030 and TPS659x0 devices).
87	  This transceiver supports high and full speed devices plus,
88	  in host mode, low speed.
89
90config PHY_TI_GMII_SEL
91	tristate
92	default y if TI_CPSW=y
93	depends on TI_CPSW || COMPILE_TEST
94	select GENERIC_PHY
95	select REGMAP
96	default m
97	help
98	  This driver supports configuring of the TI CPSW Port mode depending on
99	  the Ethernet PHY connected to the CPSW Port.
100