xref: /OK3568_Linux_fs/kernel/drivers/phy/st/Kconfig (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun# SPDX-License-Identifier: GPL-2.0-only
2*4882a593Smuzhiyun#
3*4882a593Smuzhiyun# Phy drivers for STMicro platforms
4*4882a593Smuzhiyun#
5*4882a593Smuzhiyunconfig PHY_MIPHY28LP
6*4882a593Smuzhiyun	tristate "STMicroelectronics MIPHY28LP PHY driver for STiH407"
7*4882a593Smuzhiyun	depends on ARCH_STI
8*4882a593Smuzhiyun	select GENERIC_PHY
9*4882a593Smuzhiyun	help
10*4882a593Smuzhiyun	  Enable this to support the miphy transceiver (for SATA/PCIE/USB3)
11*4882a593Smuzhiyun	  that is part of STMicroelectronics STiH407 SoC.
12*4882a593Smuzhiyun
13*4882a593Smuzhiyunconfig PHY_ST_SPEAR1310_MIPHY
14*4882a593Smuzhiyun	tristate "ST SPEAR1310-MIPHY driver"
15*4882a593Smuzhiyun	select GENERIC_PHY
16*4882a593Smuzhiyun	depends on MACH_SPEAR1310 || COMPILE_TEST
17*4882a593Smuzhiyun	help
18*4882a593Smuzhiyun	  Support for ST SPEAr1310 MIPHY which can be used for PCIe and SATA.
19*4882a593Smuzhiyun
20*4882a593Smuzhiyunconfig PHY_ST_SPEAR1340_MIPHY
21*4882a593Smuzhiyun	tristate "ST SPEAR1340-MIPHY driver"
22*4882a593Smuzhiyun	select GENERIC_PHY
23*4882a593Smuzhiyun	depends on MACH_SPEAR1340 || COMPILE_TEST
24*4882a593Smuzhiyun	help
25*4882a593Smuzhiyun	  Support for ST SPEAr1340 MIPHY which can be used for PCIe and SATA.
26*4882a593Smuzhiyun
27*4882a593Smuzhiyunconfig PHY_STIH407_USB
28*4882a593Smuzhiyun	tristate "STMicroelectronics USB2 picoPHY driver for STiH407 family"
29*4882a593Smuzhiyun	depends on RESET_CONTROLLER
30*4882a593Smuzhiyun	depends on ARCH_STI || COMPILE_TEST
31*4882a593Smuzhiyun	select GENERIC_PHY
32*4882a593Smuzhiyun	help
33*4882a593Smuzhiyun	  Enable this support to enable the picoPHY device used by USB2
34*4882a593Smuzhiyun	  and USB3 controllers on STMicroelectronics STiH407 SoC families.
35*4882a593Smuzhiyun
36*4882a593Smuzhiyunconfig PHY_STM32_USBPHYC
37*4882a593Smuzhiyun	tristate "STMicroelectronics STM32 USB HS PHY Controller driver"
38*4882a593Smuzhiyun	depends on ARCH_STM32 || COMPILE_TEST
39*4882a593Smuzhiyun	select GENERIC_PHY
40*4882a593Smuzhiyun	help
41*4882a593Smuzhiyun	  Enable this to support the High-Speed USB transceivers that are part
42*4882a593Smuzhiyun	  of some STMicroelectronics STM32 SoCs.
43*4882a593Smuzhiyun
44*4882a593Smuzhiyun	  This driver controls the entire USB PHY block: the USB PHY controller
45*4882a593Smuzhiyun	  (USBPHYC) and the two 8-bit wide UTMI+ interfaces. First interface is
46*4882a593Smuzhiyun	  used by an HS USB Host controller, and the second one is shared
47*4882a593Smuzhiyun	  between an HS USB OTG controller and an HS USB Host controller,
48*4882a593Smuzhiyun	  selected by a USB switch.
49