162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
262306a36Sopenharmony_ci#
362306a36Sopenharmony_ci# Phy drivers for Marvell platforms
462306a36Sopenharmony_ci#
562306a36Sopenharmony_ciconfig ARMADA375_USBCLUSTER_PHY
662306a36Sopenharmony_ci	bool "Armada 375 USB cluster PHY support" if COMPILE_TEST
762306a36Sopenharmony_ci	default y if MACH_ARMADA_375
862306a36Sopenharmony_ci	depends on OF && HAS_IOMEM
962306a36Sopenharmony_ci	select GENERIC_PHY
1062306a36Sopenharmony_ci
1162306a36Sopenharmony_ciconfig PHY_BERLIN_SATA
1262306a36Sopenharmony_ci	tristate "Marvell Berlin SATA PHY driver"
1362306a36Sopenharmony_ci	depends on ARCH_BERLIN || COMPILE_TEST
1462306a36Sopenharmony_ci	depends on OF && HAS_IOMEM
1562306a36Sopenharmony_ci	select GENERIC_PHY
1662306a36Sopenharmony_ci	help
1762306a36Sopenharmony_ci	  Enable this to support the SATA PHY on Marvell Berlin SoCs.
1862306a36Sopenharmony_ci
1962306a36Sopenharmony_ciconfig PHY_BERLIN_USB
2062306a36Sopenharmony_ci	tristate "Marvell Berlin USB PHY Driver"
2162306a36Sopenharmony_ci	depends on ARCH_BERLIN || COMPILE_TEST
2262306a36Sopenharmony_ci	depends on OF && HAS_IOMEM && RESET_CONTROLLER
2362306a36Sopenharmony_ci	select GENERIC_PHY
2462306a36Sopenharmony_ci	help
2562306a36Sopenharmony_ci	  Enable this to support the USB PHY on Marvell Berlin SoCs.
2662306a36Sopenharmony_ci
2762306a36Sopenharmony_ciconfig PHY_MVEBU_A3700_COMPHY
2862306a36Sopenharmony_ci	tristate "Marvell A3700 comphy driver"
2962306a36Sopenharmony_ci	depends on ARCH_MVEBU || COMPILE_TEST
3062306a36Sopenharmony_ci	depends on OF
3162306a36Sopenharmony_ci	depends on HAVE_ARM_SMCCC
3262306a36Sopenharmony_ci	default y
3362306a36Sopenharmony_ci	select GENERIC_PHY
3462306a36Sopenharmony_ci	help
3562306a36Sopenharmony_ci	  This driver allows to control the comphy, a hardware block providing
3662306a36Sopenharmony_ci	  shared serdes PHYs on Marvell Armada 3700. Its serdes lanes can be
3762306a36Sopenharmony_ci	  used by various controllers: Ethernet, SATA, USB3, PCIe.
3862306a36Sopenharmony_ci
3962306a36Sopenharmony_ciconfig PHY_MVEBU_A3700_UTMI
4062306a36Sopenharmony_ci	tristate "Marvell A3700 UTMI driver"
4162306a36Sopenharmony_ci	depends on ARCH_MVEBU || COMPILE_TEST
4262306a36Sopenharmony_ci	depends on OF
4362306a36Sopenharmony_ci	default y
4462306a36Sopenharmony_ci	select GENERIC_PHY
4562306a36Sopenharmony_ci	help
4662306a36Sopenharmony_ci	  Enable this to support Marvell A3700 UTMI PHY driver.
4762306a36Sopenharmony_ci
4862306a36Sopenharmony_ciconfig PHY_MVEBU_A38X_COMPHY
4962306a36Sopenharmony_ci	tristate "Marvell Armada 38x comphy driver"
5062306a36Sopenharmony_ci	depends on ARCH_MVEBU || COMPILE_TEST
5162306a36Sopenharmony_ci	depends on OF
5262306a36Sopenharmony_ci	select GENERIC_PHY
5362306a36Sopenharmony_ci	help
5462306a36Sopenharmony_ci	  This driver allows to control the comphy, an hardware block providing
5562306a36Sopenharmony_ci	  shared serdes PHYs on Marvell Armada 38x. Its serdes lanes can be
5662306a36Sopenharmony_ci	  used by various controllers (Ethernet, sata, usb, PCIe...).
5762306a36Sopenharmony_ci
5862306a36Sopenharmony_ciconfig PHY_MVEBU_CP110_COMPHY
5962306a36Sopenharmony_ci	tristate "Marvell CP110 comphy driver"
6062306a36Sopenharmony_ci	depends on ARCH_MVEBU || COMPILE_TEST
6162306a36Sopenharmony_ci	depends on OF
6262306a36Sopenharmony_ci	depends on HAVE_ARM_SMCCC
6362306a36Sopenharmony_ci	select GENERIC_PHY
6462306a36Sopenharmony_ci	help
6562306a36Sopenharmony_ci	  This driver allows to control the comphy, an hardware block providing
6662306a36Sopenharmony_ci	  shared serdes PHYs on Marvell Armada 7k/8k (in the CP110). Its serdes
6762306a36Sopenharmony_ci	  lanes can be used by various controllers (Ethernet, sata, usb,
6862306a36Sopenharmony_ci	  PCIe...).
6962306a36Sopenharmony_ci
7062306a36Sopenharmony_ciconfig PHY_MVEBU_CP110_UTMI
7162306a36Sopenharmony_ci	tristate "Marvell CP110 UTMI driver"
7262306a36Sopenharmony_ci	depends on ARCH_MVEBU || COMPILE_TEST
7362306a36Sopenharmony_ci	depends on OF && USB_COMMON
7462306a36Sopenharmony_ci	select GENERIC_PHY
7562306a36Sopenharmony_ci	help
7662306a36Sopenharmony_ci	  Enable this to support Marvell CP110 UTMI PHY driver.
7762306a36Sopenharmony_ci
7862306a36Sopenharmony_ciconfig PHY_MVEBU_SATA
7962306a36Sopenharmony_ci	def_bool y
8062306a36Sopenharmony_ci	depends on ARCH_DOVE || MACH_DOVE || MACH_KIRKWOOD
8162306a36Sopenharmony_ci	depends on OF
8262306a36Sopenharmony_ci	select GENERIC_PHY
8362306a36Sopenharmony_ci
8462306a36Sopenharmony_ciconfig PHY_PXA_28NM_HSIC
8562306a36Sopenharmony_ci	tristate "Marvell USB HSIC 28nm PHY Driver"
8662306a36Sopenharmony_ci	depends on HAS_IOMEM
8762306a36Sopenharmony_ci	select GENERIC_PHY
8862306a36Sopenharmony_ci	help
8962306a36Sopenharmony_ci	  Enable this to support Marvell USB HSIC PHY driver for Marvell
9062306a36Sopenharmony_ci	  SoC. This driver will do the PHY initialization and shutdown.
9162306a36Sopenharmony_ci	  The PHY driver will be used by Marvell ehci driver.
9262306a36Sopenharmony_ci
9362306a36Sopenharmony_ci	  To compile this driver as a module, choose M here.
9462306a36Sopenharmony_ci
9562306a36Sopenharmony_ciconfig PHY_PXA_28NM_USB2
9662306a36Sopenharmony_ci	tristate "Marvell USB 2.0 28nm PHY Driver"
9762306a36Sopenharmony_ci	depends on HAS_IOMEM
9862306a36Sopenharmony_ci	select GENERIC_PHY
9962306a36Sopenharmony_ci	help
10062306a36Sopenharmony_ci	  Enable this to support Marvell USB 2.0 PHY driver for Marvell
10162306a36Sopenharmony_ci	  SoC. This driver will do the PHY initialization and shutdown.
10262306a36Sopenharmony_ci	  The PHY driver will be used by Marvell udc/ehci/otg driver.
10362306a36Sopenharmony_ci
10462306a36Sopenharmony_ci	  To compile this driver as a module, choose M here.
10562306a36Sopenharmony_ci
10662306a36Sopenharmony_ciconfig PHY_PXA_USB
10762306a36Sopenharmony_ci	tristate "Marvell PXA USB PHY Driver"
10862306a36Sopenharmony_ci	depends on ARCH_PXA || ARCH_MMP || COMPILE_TEST
10962306a36Sopenharmony_ci	select GENERIC_PHY
11062306a36Sopenharmony_ci	help
11162306a36Sopenharmony_ci	  Enable this to support Marvell PXA USB PHY driver for Marvell
11262306a36Sopenharmony_ci	  SoC. This driver will do the PHY initialization and shutdown.
11362306a36Sopenharmony_ci	  The PHY driver will be used by Marvell udc/ehci/otg driver.
11462306a36Sopenharmony_ci
11562306a36Sopenharmony_ci	  To compile this driver as a module, choose M here.
11662306a36Sopenharmony_ci
11762306a36Sopenharmony_ciconfig PHY_MMP3_USB
11862306a36Sopenharmony_ci	tristate "Marvell MMP3 USB PHY Driver"
11962306a36Sopenharmony_ci	depends on MACH_MMP3_DT || COMPILE_TEST
12062306a36Sopenharmony_ci	select GENERIC_PHY
12162306a36Sopenharmony_ci	help
12262306a36Sopenharmony_ci	  Enable this to support Marvell MMP3 USB PHY driver for Marvell
12362306a36Sopenharmony_ci	  SoC. This driver will do the PHY initialization and shutdown.
12462306a36Sopenharmony_ci	  The PHY driver will be used by Marvell udc/ehci/otg driver.
12562306a36Sopenharmony_ci
12662306a36Sopenharmony_ci	  To compile this driver as a module, choose M here.
12762306a36Sopenharmony_ci
12862306a36Sopenharmony_ciconfig PHY_MMP3_HSIC
12962306a36Sopenharmony_ci	tristate "Marvell MMP3 USB HSIC PHY Driver"
13062306a36Sopenharmony_ci	depends on MACH_MMP3_DT || COMPILE_TEST
13162306a36Sopenharmony_ci	select GENERIC_PHY
13262306a36Sopenharmony_ci	help
13362306a36Sopenharmony_ci	  Enable this to support Marvell MMP3 USB HSIC PHY driver for
13462306a36Sopenharmony_ci	  Marvell MMP3 SoC. This driver will be used my the Marvell EHCI
13562306a36Sopenharmony_ci	  driver to initialize the interface to internal USB HSIC
13662306a36Sopenharmony_ci	  components on MMP3-based boards.
13762306a36Sopenharmony_ci
13862306a36Sopenharmony_ci	  To compile this driver as a module, choose M here.
139