162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
262306a36Sopenharmony_ci#
362306a36Sopenharmony_ci# Phy drivers for STMicro platforms
462306a36Sopenharmony_ci#
562306a36Sopenharmony_ciconfig PHY_MIPHY28LP
662306a36Sopenharmony_ci	tristate "STMicroelectronics MIPHY28LP PHY driver for STiH407"
762306a36Sopenharmony_ci	depends on ARCH_STI
862306a36Sopenharmony_ci	select GENERIC_PHY
962306a36Sopenharmony_ci	help
1062306a36Sopenharmony_ci	  Enable this to support the miphy transceiver (for SATA/PCIE/USB3)
1162306a36Sopenharmony_ci	  that is part of STMicroelectronics STiH407 SoC.
1262306a36Sopenharmony_ci
1362306a36Sopenharmony_ciconfig PHY_ST_SPEAR1310_MIPHY
1462306a36Sopenharmony_ci	tristate "ST SPEAR1310-MIPHY driver"
1562306a36Sopenharmony_ci	select GENERIC_PHY
1662306a36Sopenharmony_ci	depends on MACH_SPEAR1310 || COMPILE_TEST
1762306a36Sopenharmony_ci	help
1862306a36Sopenharmony_ci	  Support for ST SPEAr1310 MIPHY which can be used for PCIe and SATA.
1962306a36Sopenharmony_ci
2062306a36Sopenharmony_ciconfig PHY_ST_SPEAR1340_MIPHY
2162306a36Sopenharmony_ci	tristate "ST SPEAR1340-MIPHY driver"
2262306a36Sopenharmony_ci	select GENERIC_PHY
2362306a36Sopenharmony_ci	depends on MACH_SPEAR1340 || COMPILE_TEST
2462306a36Sopenharmony_ci	help
2562306a36Sopenharmony_ci	  Support for ST SPEAr1340 MIPHY which can be used for PCIe and SATA.
2662306a36Sopenharmony_ci
2762306a36Sopenharmony_ciconfig PHY_STIH407_USB
2862306a36Sopenharmony_ci	tristate "STMicroelectronics USB2 picoPHY driver for STiH407 family"
2962306a36Sopenharmony_ci	depends on RESET_CONTROLLER
3062306a36Sopenharmony_ci	depends on ARCH_STI || COMPILE_TEST
3162306a36Sopenharmony_ci	select GENERIC_PHY
3262306a36Sopenharmony_ci	help
3362306a36Sopenharmony_ci	  Enable this support to enable the picoPHY device used by USB2
3462306a36Sopenharmony_ci	  and USB3 controllers on STMicroelectronics STiH407 SoC families.
3562306a36Sopenharmony_ci
3662306a36Sopenharmony_ciconfig PHY_STM32_USBPHYC
3762306a36Sopenharmony_ci	tristate "STMicroelectronics STM32 USB HS PHY Controller driver"
3862306a36Sopenharmony_ci	depends on ARCH_STM32 || COMPILE_TEST
3962306a36Sopenharmony_ci	depends on COMMON_CLK
4062306a36Sopenharmony_ci	select GENERIC_PHY
4162306a36Sopenharmony_ci	help
4262306a36Sopenharmony_ci	  Enable this to support the High-Speed USB transceivers that are part
4362306a36Sopenharmony_ci	  of some STMicroelectronics STM32 SoCs.
4462306a36Sopenharmony_ci
4562306a36Sopenharmony_ci	  This driver controls the entire USB PHY block: the USB PHY controller
4662306a36Sopenharmony_ci	  (USBPHYC) and the two 8-bit wide UTMI+ interfaces. First interface is
4762306a36Sopenharmony_ci	  used by an HS USB Host controller, and the second one is shared
4862306a36Sopenharmony_ci	  between an HS USB OTG controller and an HS USB Host controller,
4962306a36Sopenharmony_ci	  selected by a USB switch.
50