mirror of
https://github.com/Dasharo/linux.git
synced 2026-03-06 15:25:10 -08:00
phy: stm32: Add support for STM32MP25 COMBOPHY.
Addition of the COMBOPHY driver found on STM32MP25 platforms This single lane PHY is shared (exclusive) between the USB3 and PCIE controllers. Supports 5Gbit/s for PCIE gen2 or 2.5Gbit/s for PCIE gen1. Supports wakeup-source capability to wakeup system using remote-wakeup capable USB device Signed-off-by: Christian Bruel <christian.bruel@foss.st.com> Link: https://lore.kernel.org/r/20240930170847.948779-3-christian.bruel@foss.st.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
This commit is contained in:
committed by
Vinod Koul
parent
8c7e955fac
commit
47e1bb6b4b
@@ -33,6 +33,17 @@ config PHY_STIH407_USB
|
||||
Enable this support to enable the picoPHY device used by USB2
|
||||
and USB3 controllers on STMicroelectronics STiH407 SoC families.
|
||||
|
||||
config PHY_STM32_COMBOPHY
|
||||
tristate "STMicroelectronics COMBOPHY driver for STM32MP25"
|
||||
depends on ARCH_STM32 || COMPILE_TEST
|
||||
select GENERIC_PHY
|
||||
help
|
||||
Enable this to support the COMBOPHY device used by USB3 or PCIe
|
||||
controllers on STMicroelectronics STM32MP25 SoC.
|
||||
This driver controls the COMBOPHY block to generate the PCIe 100Mhz
|
||||
reference clock from either the external clock generator or HSE
|
||||
internal SoC clock source.
|
||||
|
||||
config PHY_STM32_USBPHYC
|
||||
tristate "STMicroelectronics STM32 USB HS PHY Controller driver"
|
||||
depends on ARCH_STM32 || COMPILE_TEST
|
||||
|
||||
@@ -3,4 +3,5 @@ obj-$(CONFIG_PHY_MIPHY28LP) += phy-miphy28lp.o
|
||||
obj-$(CONFIG_PHY_ST_SPEAR1310_MIPHY) += phy-spear1310-miphy.o
|
||||
obj-$(CONFIG_PHY_ST_SPEAR1340_MIPHY) += phy-spear1340-miphy.o
|
||||
obj-$(CONFIG_PHY_STIH407_USB) += phy-stih407-usb.o
|
||||
obj-$(CONFIG_PHY_STM32_COMBOPHY) += phy-stm32-combophy.o
|
||||
obj-$(CONFIG_PHY_STM32_USBPHYC) += phy-stm32-usbphyc.o
|
||||
|
||||
598
drivers/phy/st/phy-stm32-combophy.c
Normal file
598
drivers/phy/st/phy-stm32-combophy.c
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user