xref: /openbmc/linux/drivers/phy/marvell/Kconfig (revision ec8f24b7)
1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only
20b56e9a7SVivek Gautam#
30b56e9a7SVivek Gautam# Phy drivers for Marvell platforms
40b56e9a7SVivek Gautam#
50b56e9a7SVivek Gautamconfig ARMADA375_USBCLUSTER_PHY
60b56e9a7SVivek Gautam	def_bool y
70b56e9a7SVivek Gautam	depends on MACH_ARMADA_375 || COMPILE_TEST
80b56e9a7SVivek Gautam	depends on OF && HAS_IOMEM
90b56e9a7SVivek Gautam	select GENERIC_PHY
100b56e9a7SVivek Gautam
110b56e9a7SVivek Gautamconfig PHY_BERLIN_SATA
120b56e9a7SVivek Gautam	tristate "Marvell Berlin SATA PHY driver"
130b56e9a7SVivek Gautam	depends on ARCH_BERLIN && HAS_IOMEM && OF
140b56e9a7SVivek Gautam	select GENERIC_PHY
150b56e9a7SVivek Gautam	help
160b56e9a7SVivek Gautam	  Enable this to support the SATA PHY on Marvell Berlin SoCs.
170b56e9a7SVivek Gautam
180b56e9a7SVivek Gautamconfig PHY_BERLIN_USB
190b56e9a7SVivek Gautam	tristate "Marvell Berlin USB PHY Driver"
200b56e9a7SVivek Gautam	depends on ARCH_BERLIN && RESET_CONTROLLER && HAS_IOMEM && OF
210b56e9a7SVivek Gautam	select GENERIC_PHY
220b56e9a7SVivek Gautam	help
230b56e9a7SVivek Gautam	  Enable this to support the USB PHY on Marvell Berlin SoCs.
240b56e9a7SVivek Gautam
259695375aSMiquel Raynalconfig PHY_MVEBU_A3700_COMPHY
269695375aSMiquel Raynal	tristate "Marvell A3700 comphy driver"
279695375aSMiquel Raynal	depends on ARCH_MVEBU || COMPILE_TEST
289695375aSMiquel Raynal	depends on OF
299695375aSMiquel Raynal	depends on HAVE_ARM_SMCCC
309695375aSMiquel Raynal	default y
319695375aSMiquel Raynal	select GENERIC_PHY
329695375aSMiquel Raynal	help
339695375aSMiquel Raynal	  This driver allows to control the comphy, a hardware block providing
349695375aSMiquel Raynal	  shared serdes PHYs on Marvell Armada 3700. Its serdes lanes can be
359695375aSMiquel Raynal	  used by various controllers: Ethernet, SATA, USB3, PCIe.
369695375aSMiquel Raynal
37cc8b7a0aSMiquel Raynalconfig PHY_MVEBU_A3700_UTMI
38cc8b7a0aSMiquel Raynal	tristate "Marvell A3700 UTMI driver"
39cc8b7a0aSMiquel Raynal	depends on ARCH_MVEBU || COMPILE_TEST
40cc8b7a0aSMiquel Raynal	depends on OF
41cc8b7a0aSMiquel Raynal	default y
42cc8b7a0aSMiquel Raynal	select GENERIC_PHY
43cc8b7a0aSMiquel Raynal	help
44cc8b7a0aSMiquel Raynal	  Enable this to support Marvell A3700 UTMI PHY driver.
45cc8b7a0aSMiquel Raynal
4614dc100bSRussell Kingconfig PHY_MVEBU_A38X_COMPHY
4714dc100bSRussell King	tristate "Marvell Armada 38x comphy driver"
4814dc100bSRussell King	depends on ARCH_MVEBU || COMPILE_TEST
4914dc100bSRussell King	depends on OF
5014dc100bSRussell King	select GENERIC_PHY
5114dc100bSRussell King	help
5214dc100bSRussell King	  This driver allows to control the comphy, an hardware block providing
5314dc100bSRussell King	  shared serdes PHYs on Marvell Armada 38x. Its serdes lanes can be
5414dc100bSRussell King	  used by various controllers (Ethernet, sata, usb, PCIe...).
5514dc100bSRussell King
56d0438bd6SAntoine Tenartconfig PHY_MVEBU_CP110_COMPHY
57d0438bd6SAntoine Tenart	tristate "Marvell CP110 comphy driver"
58d0438bd6SAntoine Tenart	depends on ARCH_MVEBU || COMPILE_TEST
59d0438bd6SAntoine Tenart	depends on OF
60d0438bd6SAntoine Tenart	select GENERIC_PHY
61d0438bd6SAntoine Tenart	help
62d0438bd6SAntoine Tenart	  This driver allows to control the comphy, an hardware block providing
63d0438bd6SAntoine Tenart	  shared serdes PHYs on Marvell Armada 7k/8k (in the CP110). Its serdes
64d0438bd6SAntoine Tenart	  lanes can be used by various controllers (Ethernet, sata, usb,
65d0438bd6SAntoine Tenart	  PCIe...).
66d0438bd6SAntoine Tenart
670b56e9a7SVivek Gautamconfig PHY_MVEBU_SATA
680b56e9a7SVivek Gautam	def_bool y
690b56e9a7SVivek Gautam	depends on ARCH_DOVE || MACH_DOVE || MACH_KIRKWOOD
700b56e9a7SVivek Gautam	depends on OF
710b56e9a7SVivek Gautam	select GENERIC_PHY
720b56e9a7SVivek Gautam
730b56e9a7SVivek Gautamconfig PHY_PXA_28NM_HSIC
740b56e9a7SVivek Gautam	tristate "Marvell USB HSIC 28nm PHY Driver"
750b56e9a7SVivek Gautam	depends on HAS_IOMEM
760b56e9a7SVivek Gautam	select GENERIC_PHY
770b56e9a7SVivek Gautam	help
780b56e9a7SVivek Gautam	  Enable this to support Marvell USB HSIC PHY driver for Marvell
790b56e9a7SVivek Gautam	  SoC. This driver will do the PHY initialization and shutdown.
800b56e9a7SVivek Gautam	  The PHY driver will be used by Marvell ehci driver.
810b56e9a7SVivek Gautam
820b56e9a7SVivek Gautam	  To compile this driver as a module, choose M here.
830b56e9a7SVivek Gautam
840b56e9a7SVivek Gautamconfig PHY_PXA_28NM_USB2
850b56e9a7SVivek Gautam	tristate "Marvell USB 2.0 28nm PHY Driver"
860b56e9a7SVivek Gautam	depends on HAS_IOMEM
870b56e9a7SVivek Gautam	select GENERIC_PHY
880b56e9a7SVivek Gautam	help
890b56e9a7SVivek Gautam	  Enable this to support Marvell USB 2.0 PHY driver for Marvell
900b56e9a7SVivek Gautam	  SoC. This driver will do the PHY initialization and shutdown.
910b56e9a7SVivek Gautam	  The PHY driver will be used by Marvell udc/ehci/otg driver.
920b56e9a7SVivek Gautam
930b56e9a7SVivek Gautam	  To compile this driver as a module, choose M here.
94644930cbSLubomir Rintel
95644930cbSLubomir Rintelconfig PHY_PXA_USB
96644930cbSLubomir Rintel	tristate "Marvell PXA USB PHY Driver"
97644930cbSLubomir Rintel	depends on ARCH_PXA || ARCH_MMP
98644930cbSLubomir Rintel	select GENERIC_PHY
99644930cbSLubomir Rintel	help
100644930cbSLubomir Rintel	  Enable this to support Marvell PXA USB PHY driver for Marvell
101644930cbSLubomir Rintel	  SoC. This driver will do the PHY initialization and shutdown.
102644930cbSLubomir Rintel	  The PHY driver will be used by Marvell udc/ehci/otg driver.
103644930cbSLubomir Rintel
104644930cbSLubomir Rintel	  To compile this driver as a module, choose M here.
105