xref: /openbmc/linux/drivers/phy/st/Kconfig (revision 8be98d2f2a0a262f8bf8a0bc1fdf522b3c7aab17)
1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only
20b56e9a7SVivek Gautam#
30b56e9a7SVivek Gautam# Phy drivers for STMicro platforms
40b56e9a7SVivek Gautam#
50b56e9a7SVivek Gautamconfig PHY_MIPHY28LP
60b56e9a7SVivek Gautam	tristate "STMicroelectronics MIPHY28LP PHY driver for STiH407"
70b56e9a7SVivek Gautam	depends on ARCH_STI
80b56e9a7SVivek Gautam	select GENERIC_PHY
90b56e9a7SVivek Gautam	help
100b56e9a7SVivek Gautam	  Enable this to support the miphy transceiver (for SATA/PCIE/USB3)
110b56e9a7SVivek Gautam	  that is part of STMicroelectronics STiH407 SoC.
120b56e9a7SVivek Gautam
130b56e9a7SVivek Gautamconfig PHY_ST_SPEAR1310_MIPHY
140b56e9a7SVivek Gautam	tristate "ST SPEAR1310-MIPHY driver"
150b56e9a7SVivek Gautam	select GENERIC_PHY
160b56e9a7SVivek Gautam	depends on MACH_SPEAR1310 || COMPILE_TEST
170b56e9a7SVivek Gautam	help
180b56e9a7SVivek Gautam	  Support for ST SPEAr1310 MIPHY which can be used for PCIe and SATA.
190b56e9a7SVivek Gautam
200b56e9a7SVivek Gautamconfig PHY_ST_SPEAR1340_MIPHY
210b56e9a7SVivek Gautam	tristate "ST SPEAR1340-MIPHY driver"
220b56e9a7SVivek Gautam	select GENERIC_PHY
230b56e9a7SVivek Gautam	depends on MACH_SPEAR1340 || COMPILE_TEST
240b56e9a7SVivek Gautam	help
250b56e9a7SVivek Gautam	  Support for ST SPEAr1340 MIPHY which can be used for PCIe and SATA.
260b56e9a7SVivek Gautam
270b56e9a7SVivek Gautamconfig PHY_STIH407_USB
280b56e9a7SVivek Gautam	tristate "STMicroelectronics USB2 picoPHY driver for STiH407 family"
290b56e9a7SVivek Gautam	depends on RESET_CONTROLLER
300b56e9a7SVivek Gautam	depends on ARCH_STI || COMPILE_TEST
310b56e9a7SVivek Gautam	select GENERIC_PHY
320b56e9a7SVivek Gautam	help
330b56e9a7SVivek Gautam	  Enable this support to enable the picoPHY device used by USB2
340b56e9a7SVivek Gautam	  and USB3 controllers on STMicroelectronics STiH407 SoC families.
3594c358daSAmelie Delaunay
3694c358daSAmelie Delaunayconfig PHY_STM32_USBPHYC
3794c358daSAmelie Delaunay	tristate "STMicroelectronics STM32 USB HS PHY Controller driver"
3894c358daSAmelie Delaunay	depends on ARCH_STM32 || COMPILE_TEST
39*7bc057ddSAmelie Delaunay	depends on COMMON_CLK
4094c358daSAmelie Delaunay	select GENERIC_PHY
4194c358daSAmelie Delaunay	help
4294c358daSAmelie Delaunay	  Enable this to support the High-Speed USB transceivers that are part
4394c358daSAmelie Delaunay	  of some STMicroelectronics STM32 SoCs.
4494c358daSAmelie Delaunay
4594c358daSAmelie Delaunay	  This driver controls the entire USB PHY block: the USB PHY controller
4694c358daSAmelie Delaunay	  (USBPHYC) and the two 8-bit wide UTMI+ interfaces. First interface is
4794c358daSAmelie Delaunay	  used by an HS USB Host controller, and the second one is shared
4894c358daSAmelie Delaunay	  between an HS USB OTG controller and an HS USB Host controller,
4994c358daSAmelie Delaunay	  selected by a USB switch.
50