xref: /openbmc/linux/drivers/phy/marvell/Kconfig (revision 203b7ee1)
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"
13203b7ee1SKrzysztof Kozlowski	depends on ARCH_BERLIN || COMPILE_TEST
14203b7ee1SKrzysztof Kozlowski	depends on OF && HAS_IOMEM
150b56e9a7SVivek Gautam	select GENERIC_PHY
160b56e9a7SVivek Gautam	help
170b56e9a7SVivek Gautam	  Enable this to support the SATA PHY on Marvell Berlin SoCs.
180b56e9a7SVivek Gautam
190b56e9a7SVivek Gautamconfig PHY_BERLIN_USB
200b56e9a7SVivek Gautam	tristate "Marvell Berlin USB PHY Driver"
21203b7ee1SKrzysztof Kozlowski	depends on ARCH_BERLIN || COMPILE_TEST
22203b7ee1SKrzysztof Kozlowski	depends on OF && HAS_IOMEM && RESET_CONTROLLER
230b56e9a7SVivek Gautam	select GENERIC_PHY
240b56e9a7SVivek Gautam	help
250b56e9a7SVivek Gautam	  Enable this to support the USB PHY on Marvell Berlin SoCs.
260b56e9a7SVivek Gautam
279695375aSMiquel Raynalconfig PHY_MVEBU_A3700_COMPHY
289695375aSMiquel Raynal	tristate "Marvell A3700 comphy driver"
299695375aSMiquel Raynal	depends on ARCH_MVEBU || COMPILE_TEST
309695375aSMiquel Raynal	depends on OF
319695375aSMiquel Raynal	depends on HAVE_ARM_SMCCC
329695375aSMiquel Raynal	default y
339695375aSMiquel Raynal	select GENERIC_PHY
349695375aSMiquel Raynal	help
359695375aSMiquel Raynal	  This driver allows to control the comphy, a hardware block providing
369695375aSMiquel Raynal	  shared serdes PHYs on Marvell Armada 3700. Its serdes lanes can be
379695375aSMiquel Raynal	  used by various controllers: Ethernet, SATA, USB3, PCIe.
389695375aSMiquel Raynal
39cc8b7a0aSMiquel Raynalconfig PHY_MVEBU_A3700_UTMI
40cc8b7a0aSMiquel Raynal	tristate "Marvell A3700 UTMI driver"
41cc8b7a0aSMiquel Raynal	depends on ARCH_MVEBU || COMPILE_TEST
42cc8b7a0aSMiquel Raynal	depends on OF
43cc8b7a0aSMiquel Raynal	default y
44cc8b7a0aSMiquel Raynal	select GENERIC_PHY
45cc8b7a0aSMiquel Raynal	help
46cc8b7a0aSMiquel Raynal	  Enable this to support Marvell A3700 UTMI PHY driver.
47cc8b7a0aSMiquel Raynal
4814dc100bSRussell Kingconfig PHY_MVEBU_A38X_COMPHY
4914dc100bSRussell King	tristate "Marvell Armada 38x comphy driver"
5014dc100bSRussell King	depends on ARCH_MVEBU || COMPILE_TEST
5114dc100bSRussell King	depends on OF
5214dc100bSRussell King	select GENERIC_PHY
5314dc100bSRussell King	help
5414dc100bSRussell King	  This driver allows to control the comphy, an hardware block providing
5514dc100bSRussell King	  shared serdes PHYs on Marvell Armada 38x. Its serdes lanes can be
5614dc100bSRussell King	  used by various controllers (Ethernet, sata, usb, PCIe...).
5714dc100bSRussell King
58d0438bd6SAntoine Tenartconfig PHY_MVEBU_CP110_COMPHY
59d0438bd6SAntoine Tenart	tristate "Marvell CP110 comphy driver"
60d0438bd6SAntoine Tenart	depends on ARCH_MVEBU || COMPILE_TEST
61d0438bd6SAntoine Tenart	depends on OF
62eb6a1fcbSGrzegorz Jaszczyk	depends on HAVE_ARM_SMCCC
63d0438bd6SAntoine Tenart	select GENERIC_PHY
64d0438bd6SAntoine Tenart	help
65d0438bd6SAntoine Tenart	  This driver allows to control the comphy, an hardware block providing
66d0438bd6SAntoine Tenart	  shared serdes PHYs on Marvell Armada 7k/8k (in the CP110). Its serdes
67d0438bd6SAntoine Tenart	  lanes can be used by various controllers (Ethernet, sata, usb,
68d0438bd6SAntoine Tenart	  PCIe...).
69d0438bd6SAntoine Tenart
700b56e9a7SVivek Gautamconfig PHY_MVEBU_SATA
710b56e9a7SVivek Gautam	def_bool y
720b56e9a7SVivek Gautam	depends on ARCH_DOVE || MACH_DOVE || MACH_KIRKWOOD
730b56e9a7SVivek Gautam	depends on OF
740b56e9a7SVivek Gautam	select GENERIC_PHY
750b56e9a7SVivek Gautam
760b56e9a7SVivek Gautamconfig PHY_PXA_28NM_HSIC
770b56e9a7SVivek Gautam	tristate "Marvell USB HSIC 28nm PHY Driver"
780b56e9a7SVivek Gautam	depends on HAS_IOMEM
790b56e9a7SVivek Gautam	select GENERIC_PHY
800b56e9a7SVivek Gautam	help
810b56e9a7SVivek Gautam	  Enable this to support Marvell USB HSIC PHY driver for Marvell
820b56e9a7SVivek Gautam	  SoC. This driver will do the PHY initialization and shutdown.
830b56e9a7SVivek Gautam	  The PHY driver will be used by Marvell ehci driver.
840b56e9a7SVivek Gautam
850b56e9a7SVivek Gautam	  To compile this driver as a module, choose M here.
860b56e9a7SVivek Gautam
870b56e9a7SVivek Gautamconfig PHY_PXA_28NM_USB2
880b56e9a7SVivek Gautam	tristate "Marvell USB 2.0 28nm PHY Driver"
890b56e9a7SVivek Gautam	depends on HAS_IOMEM
900b56e9a7SVivek Gautam	select GENERIC_PHY
910b56e9a7SVivek Gautam	help
920b56e9a7SVivek Gautam	  Enable this to support Marvell USB 2.0 PHY driver for Marvell
930b56e9a7SVivek Gautam	  SoC. This driver will do the PHY initialization and shutdown.
940b56e9a7SVivek Gautam	  The PHY driver will be used by Marvell udc/ehci/otg driver.
950b56e9a7SVivek Gautam
960b56e9a7SVivek Gautam	  To compile this driver as a module, choose M here.
97644930cbSLubomir Rintel
98644930cbSLubomir Rintelconfig PHY_PXA_USB
99644930cbSLubomir Rintel	tristate "Marvell PXA USB PHY Driver"
100203b7ee1SKrzysztof Kozlowski	depends on ARCH_PXA || ARCH_MMP || COMPILE_TEST
101644930cbSLubomir Rintel	select GENERIC_PHY
102644930cbSLubomir Rintel	help
103644930cbSLubomir Rintel	  Enable this to support Marvell PXA USB PHY driver for Marvell
104644930cbSLubomir Rintel	  SoC. This driver will do the PHY initialization and shutdown.
105644930cbSLubomir Rintel	  The PHY driver will be used by Marvell udc/ehci/otg driver.
106644930cbSLubomir Rintel
107644930cbSLubomir Rintel	  To compile this driver as a module, choose M here.
10808f13e7cSLubomir Rintel
10908f13e7cSLubomir Rintelconfig PHY_MMP3_USB
11008f13e7cSLubomir Rintel	tristate "Marvell MMP3 USB PHY Driver"
11108f13e7cSLubomir Rintel	depends on MACH_MMP3_DT || COMPILE_TEST
11208f13e7cSLubomir Rintel	select GENERIC_PHY
11308f13e7cSLubomir Rintel	help
11408f13e7cSLubomir Rintel	  Enable this to support Marvell MMP3 USB PHY driver for Marvell
11508f13e7cSLubomir Rintel	  SoC. This driver will do the PHY initialization and shutdown.
11608f13e7cSLubomir Rintel	  The PHY driver will be used by Marvell udc/ehci/otg driver.
11708f13e7cSLubomir Rintel
11808f13e7cSLubomir Rintel	  To compile this driver as a module, choose M here.
119