18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
28c2ecf20Sopenharmony_ci#
38c2ecf20Sopenharmony_ci# Phy drivers for Marvell platforms
48c2ecf20Sopenharmony_ci#
58c2ecf20Sopenharmony_ciconfig ARMADA375_USBCLUSTER_PHY
68c2ecf20Sopenharmony_ci	bool "Armada 375 USB cluster PHY support" if COMPILE_TEST
78c2ecf20Sopenharmony_ci	default y if MACH_ARMADA_375
88c2ecf20Sopenharmony_ci	depends on OF && HAS_IOMEM
98c2ecf20Sopenharmony_ci	select GENERIC_PHY
108c2ecf20Sopenharmony_ci
118c2ecf20Sopenharmony_ciconfig PHY_BERLIN_SATA
128c2ecf20Sopenharmony_ci	tristate "Marvell Berlin SATA PHY driver"
138c2ecf20Sopenharmony_ci	depends on ARCH_BERLIN || COMPILE_TEST
148c2ecf20Sopenharmony_ci	depends on OF && HAS_IOMEM
158c2ecf20Sopenharmony_ci	select GENERIC_PHY
168c2ecf20Sopenharmony_ci	help
178c2ecf20Sopenharmony_ci	  Enable this to support the SATA PHY on Marvell Berlin SoCs.
188c2ecf20Sopenharmony_ci
198c2ecf20Sopenharmony_ciconfig PHY_BERLIN_USB
208c2ecf20Sopenharmony_ci	tristate "Marvell Berlin USB PHY Driver"
218c2ecf20Sopenharmony_ci	depends on ARCH_BERLIN || COMPILE_TEST
228c2ecf20Sopenharmony_ci	depends on OF && HAS_IOMEM && RESET_CONTROLLER
238c2ecf20Sopenharmony_ci	select GENERIC_PHY
248c2ecf20Sopenharmony_ci	help
258c2ecf20Sopenharmony_ci	  Enable this to support the USB PHY on Marvell Berlin SoCs.
268c2ecf20Sopenharmony_ci
278c2ecf20Sopenharmony_ciconfig PHY_MVEBU_A3700_COMPHY
288c2ecf20Sopenharmony_ci	tristate "Marvell A3700 comphy driver"
298c2ecf20Sopenharmony_ci	depends on ARCH_MVEBU || COMPILE_TEST
308c2ecf20Sopenharmony_ci	depends on OF
318c2ecf20Sopenharmony_ci	depends on HAVE_ARM_SMCCC
328c2ecf20Sopenharmony_ci	default y
338c2ecf20Sopenharmony_ci	select GENERIC_PHY
348c2ecf20Sopenharmony_ci	help
358c2ecf20Sopenharmony_ci	  This driver allows to control the comphy, a hardware block providing
368c2ecf20Sopenharmony_ci	  shared serdes PHYs on Marvell Armada 3700. Its serdes lanes can be
378c2ecf20Sopenharmony_ci	  used by various controllers: Ethernet, SATA, USB3, PCIe.
388c2ecf20Sopenharmony_ci
398c2ecf20Sopenharmony_ciconfig PHY_MVEBU_A3700_UTMI
408c2ecf20Sopenharmony_ci	tristate "Marvell A3700 UTMI driver"
418c2ecf20Sopenharmony_ci	depends on ARCH_MVEBU || COMPILE_TEST
428c2ecf20Sopenharmony_ci	depends on OF
438c2ecf20Sopenharmony_ci	default y
448c2ecf20Sopenharmony_ci	select GENERIC_PHY
458c2ecf20Sopenharmony_ci	help
468c2ecf20Sopenharmony_ci	  Enable this to support Marvell A3700 UTMI PHY driver.
478c2ecf20Sopenharmony_ci
488c2ecf20Sopenharmony_ciconfig PHY_MVEBU_A38X_COMPHY
498c2ecf20Sopenharmony_ci	tristate "Marvell Armada 38x comphy driver"
508c2ecf20Sopenharmony_ci	depends on ARCH_MVEBU || COMPILE_TEST
518c2ecf20Sopenharmony_ci	depends on OF
528c2ecf20Sopenharmony_ci	select GENERIC_PHY
538c2ecf20Sopenharmony_ci	help
548c2ecf20Sopenharmony_ci	  This driver allows to control the comphy, an hardware block providing
558c2ecf20Sopenharmony_ci	  shared serdes PHYs on Marvell Armada 38x. Its serdes lanes can be
568c2ecf20Sopenharmony_ci	  used by various controllers (Ethernet, sata, usb, PCIe...).
578c2ecf20Sopenharmony_ci
588c2ecf20Sopenharmony_ciconfig PHY_MVEBU_CP110_COMPHY
598c2ecf20Sopenharmony_ci	tristate "Marvell CP110 comphy driver"
608c2ecf20Sopenharmony_ci	depends on ARCH_MVEBU || COMPILE_TEST
618c2ecf20Sopenharmony_ci	depends on OF
628c2ecf20Sopenharmony_ci	depends on HAVE_ARM_SMCCC
638c2ecf20Sopenharmony_ci	select GENERIC_PHY
648c2ecf20Sopenharmony_ci	help
658c2ecf20Sopenharmony_ci	  This driver allows to control the comphy, an hardware block providing
668c2ecf20Sopenharmony_ci	  shared serdes PHYs on Marvell Armada 7k/8k (in the CP110). Its serdes
678c2ecf20Sopenharmony_ci	  lanes can be used by various controllers (Ethernet, sata, usb,
688c2ecf20Sopenharmony_ci	  PCIe...).
698c2ecf20Sopenharmony_ci
708c2ecf20Sopenharmony_ciconfig PHY_MVEBU_SATA
718c2ecf20Sopenharmony_ci	def_bool y
728c2ecf20Sopenharmony_ci	depends on ARCH_DOVE || MACH_DOVE || MACH_KIRKWOOD
738c2ecf20Sopenharmony_ci	depends on OF
748c2ecf20Sopenharmony_ci	select GENERIC_PHY
758c2ecf20Sopenharmony_ci
768c2ecf20Sopenharmony_ciconfig PHY_PXA_28NM_HSIC
778c2ecf20Sopenharmony_ci	tristate "Marvell USB HSIC 28nm PHY Driver"
788c2ecf20Sopenharmony_ci	depends on HAS_IOMEM
798c2ecf20Sopenharmony_ci	select GENERIC_PHY
808c2ecf20Sopenharmony_ci	help
818c2ecf20Sopenharmony_ci	  Enable this to support Marvell USB HSIC PHY driver for Marvell
828c2ecf20Sopenharmony_ci	  SoC. This driver will do the PHY initialization and shutdown.
838c2ecf20Sopenharmony_ci	  The PHY driver will be used by Marvell ehci driver.
848c2ecf20Sopenharmony_ci
858c2ecf20Sopenharmony_ci	  To compile this driver as a module, choose M here.
868c2ecf20Sopenharmony_ci
878c2ecf20Sopenharmony_ciconfig PHY_PXA_28NM_USB2
888c2ecf20Sopenharmony_ci	tristate "Marvell USB 2.0 28nm PHY Driver"
898c2ecf20Sopenharmony_ci	depends on HAS_IOMEM
908c2ecf20Sopenharmony_ci	select GENERIC_PHY
918c2ecf20Sopenharmony_ci	help
928c2ecf20Sopenharmony_ci	  Enable this to support Marvell USB 2.0 PHY driver for Marvell
938c2ecf20Sopenharmony_ci	  SoC. This driver will do the PHY initialization and shutdown.
948c2ecf20Sopenharmony_ci	  The PHY driver will be used by Marvell udc/ehci/otg driver.
958c2ecf20Sopenharmony_ci
968c2ecf20Sopenharmony_ci	  To compile this driver as a module, choose M here.
978c2ecf20Sopenharmony_ci
988c2ecf20Sopenharmony_ciconfig PHY_PXA_USB
998c2ecf20Sopenharmony_ci	tristate "Marvell PXA USB PHY Driver"
1008c2ecf20Sopenharmony_ci	depends on ARCH_PXA || ARCH_MMP || COMPILE_TEST
1018c2ecf20Sopenharmony_ci	select GENERIC_PHY
1028c2ecf20Sopenharmony_ci	help
1038c2ecf20Sopenharmony_ci	  Enable this to support Marvell PXA USB PHY driver for Marvell
1048c2ecf20Sopenharmony_ci	  SoC. This driver will do the PHY initialization and shutdown.
1058c2ecf20Sopenharmony_ci	  The PHY driver will be used by Marvell udc/ehci/otg driver.
1068c2ecf20Sopenharmony_ci
1078c2ecf20Sopenharmony_ci	  To compile this driver as a module, choose M here.
1088c2ecf20Sopenharmony_ci
1098c2ecf20Sopenharmony_ciconfig PHY_MMP3_USB
1108c2ecf20Sopenharmony_ci	tristate "Marvell MMP3 USB PHY Driver"
1118c2ecf20Sopenharmony_ci	depends on MACH_MMP3_DT || COMPILE_TEST
1128c2ecf20Sopenharmony_ci	select GENERIC_PHY
1138c2ecf20Sopenharmony_ci	help
1148c2ecf20Sopenharmony_ci	  Enable this to support Marvell MMP3 USB PHY driver for Marvell
1158c2ecf20Sopenharmony_ci	  SoC. This driver will do the PHY initialization and shutdown.
1168c2ecf20Sopenharmony_ci	  The PHY driver will be used by Marvell udc/ehci/otg driver.
1178c2ecf20Sopenharmony_ci
1188c2ecf20Sopenharmony_ci	  To compile this driver as a module, choose M here.
119