xref: /openbmc/linux/drivers/phy/marvell/Kconfig (revision 183bf091)
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
66cb17707SGeert Uytterhoeven	bool "Armada 375 USB cluster PHY support" if COMPILE_TEST
76cb17707SGeert Uytterhoeven	default y if MACH_ARMADA_375
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
702fc989f7SKonstantin Porotchkinconfig PHY_MVEBU_CP110_UTMI
712fc989f7SKonstantin Porotchkin	tristate "Marvell CP110 UTMI driver"
722fc989f7SKonstantin Porotchkin	depends on ARCH_MVEBU || COMPILE_TEST
73*183bf091SRandy Dunlap	depends on OF && USB_COMMON
742fc989f7SKonstantin Porotchkin	select GENERIC_PHY
752fc989f7SKonstantin Porotchkin	help
762fc989f7SKonstantin Porotchkin	  Enable this to support Marvell CP110 UTMI PHY driver.
772fc989f7SKonstantin Porotchkin
780b56e9a7SVivek Gautamconfig PHY_MVEBU_SATA
790b56e9a7SVivek Gautam	def_bool y
800b56e9a7SVivek Gautam	depends on ARCH_DOVE || MACH_DOVE || MACH_KIRKWOOD
810b56e9a7SVivek Gautam	depends on OF
820b56e9a7SVivek Gautam	select GENERIC_PHY
830b56e9a7SVivek Gautam
840b56e9a7SVivek Gautamconfig PHY_PXA_28NM_HSIC
850b56e9a7SVivek Gautam	tristate "Marvell USB HSIC 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 HSIC 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 ehci driver.
920b56e9a7SVivek Gautam
930b56e9a7SVivek Gautam	  To compile this driver as a module, choose M here.
940b56e9a7SVivek Gautam
950b56e9a7SVivek Gautamconfig PHY_PXA_28NM_USB2
960b56e9a7SVivek Gautam	tristate "Marvell USB 2.0 28nm PHY Driver"
970b56e9a7SVivek Gautam	depends on HAS_IOMEM
980b56e9a7SVivek Gautam	select GENERIC_PHY
990b56e9a7SVivek Gautam	help
1000b56e9a7SVivek Gautam	  Enable this to support Marvell USB 2.0 PHY driver for Marvell
1010b56e9a7SVivek Gautam	  SoC. This driver will do the PHY initialization and shutdown.
1020b56e9a7SVivek Gautam	  The PHY driver will be used by Marvell udc/ehci/otg driver.
1030b56e9a7SVivek Gautam
1040b56e9a7SVivek Gautam	  To compile this driver as a module, choose M here.
105644930cbSLubomir Rintel
106644930cbSLubomir Rintelconfig PHY_PXA_USB
107644930cbSLubomir Rintel	tristate "Marvell PXA USB PHY Driver"
108203b7ee1SKrzysztof Kozlowski	depends on ARCH_PXA || ARCH_MMP || COMPILE_TEST
109644930cbSLubomir Rintel	select GENERIC_PHY
110644930cbSLubomir Rintel	help
111644930cbSLubomir Rintel	  Enable this to support Marvell PXA USB PHY driver for Marvell
112644930cbSLubomir Rintel	  SoC. This driver will do the PHY initialization and shutdown.
113644930cbSLubomir Rintel	  The PHY driver will be used by Marvell udc/ehci/otg driver.
114644930cbSLubomir Rintel
115644930cbSLubomir Rintel	  To compile this driver as a module, choose M here.
11608f13e7cSLubomir Rintel
11708f13e7cSLubomir Rintelconfig PHY_MMP3_USB
11808f13e7cSLubomir Rintel	tristate "Marvell MMP3 USB PHY Driver"
11908f13e7cSLubomir Rintel	depends on MACH_MMP3_DT || COMPILE_TEST
12008f13e7cSLubomir Rintel	select GENERIC_PHY
12108f13e7cSLubomir Rintel	help
12208f13e7cSLubomir Rintel	  Enable this to support Marvell MMP3 USB PHY driver for Marvell
12308f13e7cSLubomir Rintel	  SoC. This driver will do the PHY initialization and shutdown.
12408f13e7cSLubomir Rintel	  The PHY driver will be used by Marvell udc/ehci/otg driver.
12508f13e7cSLubomir Rintel
12608f13e7cSLubomir Rintel	  To compile this driver as a module, choose M here.
1270347c692SLubomir Rintel
1280347c692SLubomir Rintelconfig PHY_MMP3_HSIC
1290347c692SLubomir Rintel	tristate "Marvell MMP3 USB HSIC PHY Driver"
1300347c692SLubomir Rintel	depends on MACH_MMP3_DT || COMPILE_TEST
1310347c692SLubomir Rintel	select GENERIC_PHY
1320347c692SLubomir Rintel	help
1330347c692SLubomir Rintel	  Enable this to support Marvell MMP3 USB HSIC PHY driver for
1340347c692SLubomir Rintel	  Marvell MMP3 SoC. This driver will be used my the Marvell EHCI
1350347c692SLubomir Rintel	  driver to initialize the interface to internal USB HSIC
1360347c692SLubomir Rintel	  components on MMP3-based boards.
1370347c692SLubomir Rintel
1380347c692SLubomir Rintel	  To compile this driver as a module, choose M here.
139