xref: /OK3568_Linux_fs/kernel/drivers/phy/marvell/Kconfig (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun# SPDX-License-Identifier: GPL-2.0-only
2*4882a593Smuzhiyun#
3*4882a593Smuzhiyun# Phy drivers for Marvell platforms
4*4882a593Smuzhiyun#
5*4882a593Smuzhiyunconfig ARMADA375_USBCLUSTER_PHY
6*4882a593Smuzhiyun	bool "Armada 375 USB cluster PHY support" if COMPILE_TEST
7*4882a593Smuzhiyun	default y if MACH_ARMADA_375
8*4882a593Smuzhiyun	depends on OF && HAS_IOMEM
9*4882a593Smuzhiyun	select GENERIC_PHY
10*4882a593Smuzhiyun
11*4882a593Smuzhiyunconfig PHY_BERLIN_SATA
12*4882a593Smuzhiyun	tristate "Marvell Berlin SATA PHY driver"
13*4882a593Smuzhiyun	depends on ARCH_BERLIN || COMPILE_TEST
14*4882a593Smuzhiyun	depends on OF && HAS_IOMEM
15*4882a593Smuzhiyun	select GENERIC_PHY
16*4882a593Smuzhiyun	help
17*4882a593Smuzhiyun	  Enable this to support the SATA PHY on Marvell Berlin SoCs.
18*4882a593Smuzhiyun
19*4882a593Smuzhiyunconfig PHY_BERLIN_USB
20*4882a593Smuzhiyun	tristate "Marvell Berlin USB PHY Driver"
21*4882a593Smuzhiyun	depends on ARCH_BERLIN || COMPILE_TEST
22*4882a593Smuzhiyun	depends on OF && HAS_IOMEM && RESET_CONTROLLER
23*4882a593Smuzhiyun	select GENERIC_PHY
24*4882a593Smuzhiyun	help
25*4882a593Smuzhiyun	  Enable this to support the USB PHY on Marvell Berlin SoCs.
26*4882a593Smuzhiyun
27*4882a593Smuzhiyunconfig PHY_MVEBU_A3700_COMPHY
28*4882a593Smuzhiyun	tristate "Marvell A3700 comphy driver"
29*4882a593Smuzhiyun	depends on ARCH_MVEBU || COMPILE_TEST
30*4882a593Smuzhiyun	depends on OF
31*4882a593Smuzhiyun	depends on HAVE_ARM_SMCCC
32*4882a593Smuzhiyun	default y
33*4882a593Smuzhiyun	select GENERIC_PHY
34*4882a593Smuzhiyun	help
35*4882a593Smuzhiyun	  This driver allows to control the comphy, a hardware block providing
36*4882a593Smuzhiyun	  shared serdes PHYs on Marvell Armada 3700. Its serdes lanes can be
37*4882a593Smuzhiyun	  used by various controllers: Ethernet, SATA, USB3, PCIe.
38*4882a593Smuzhiyun
39*4882a593Smuzhiyunconfig PHY_MVEBU_A3700_UTMI
40*4882a593Smuzhiyun	tristate "Marvell A3700 UTMI driver"
41*4882a593Smuzhiyun	depends on ARCH_MVEBU || COMPILE_TEST
42*4882a593Smuzhiyun	depends on OF
43*4882a593Smuzhiyun	default y
44*4882a593Smuzhiyun	select GENERIC_PHY
45*4882a593Smuzhiyun	help
46*4882a593Smuzhiyun	  Enable this to support Marvell A3700 UTMI PHY driver.
47*4882a593Smuzhiyun
48*4882a593Smuzhiyunconfig PHY_MVEBU_A38X_COMPHY
49*4882a593Smuzhiyun	tristate "Marvell Armada 38x comphy driver"
50*4882a593Smuzhiyun	depends on ARCH_MVEBU || COMPILE_TEST
51*4882a593Smuzhiyun	depends on OF
52*4882a593Smuzhiyun	select GENERIC_PHY
53*4882a593Smuzhiyun	help
54*4882a593Smuzhiyun	  This driver allows to control the comphy, an hardware block providing
55*4882a593Smuzhiyun	  shared serdes PHYs on Marvell Armada 38x. Its serdes lanes can be
56*4882a593Smuzhiyun	  used by various controllers (Ethernet, sata, usb, PCIe...).
57*4882a593Smuzhiyun
58*4882a593Smuzhiyunconfig PHY_MVEBU_CP110_COMPHY
59*4882a593Smuzhiyun	tristate "Marvell CP110 comphy driver"
60*4882a593Smuzhiyun	depends on ARCH_MVEBU || COMPILE_TEST
61*4882a593Smuzhiyun	depends on OF
62*4882a593Smuzhiyun	depends on HAVE_ARM_SMCCC
63*4882a593Smuzhiyun	select GENERIC_PHY
64*4882a593Smuzhiyun	help
65*4882a593Smuzhiyun	  This driver allows to control the comphy, an hardware block providing
66*4882a593Smuzhiyun	  shared serdes PHYs on Marvell Armada 7k/8k (in the CP110). Its serdes
67*4882a593Smuzhiyun	  lanes can be used by various controllers (Ethernet, sata, usb,
68*4882a593Smuzhiyun	  PCIe...).
69*4882a593Smuzhiyun
70*4882a593Smuzhiyunconfig PHY_MVEBU_SATA
71*4882a593Smuzhiyun	def_bool y
72*4882a593Smuzhiyun	depends on ARCH_DOVE || MACH_DOVE || MACH_KIRKWOOD
73*4882a593Smuzhiyun	depends on OF
74*4882a593Smuzhiyun	select GENERIC_PHY
75*4882a593Smuzhiyun
76*4882a593Smuzhiyunconfig PHY_PXA_28NM_HSIC
77*4882a593Smuzhiyun	tristate "Marvell USB HSIC 28nm PHY Driver"
78*4882a593Smuzhiyun	depends on HAS_IOMEM
79*4882a593Smuzhiyun	select GENERIC_PHY
80*4882a593Smuzhiyun	help
81*4882a593Smuzhiyun	  Enable this to support Marvell USB HSIC PHY driver for Marvell
82*4882a593Smuzhiyun	  SoC. This driver will do the PHY initialization and shutdown.
83*4882a593Smuzhiyun	  The PHY driver will be used by Marvell ehci driver.
84*4882a593Smuzhiyun
85*4882a593Smuzhiyun	  To compile this driver as a module, choose M here.
86*4882a593Smuzhiyun
87*4882a593Smuzhiyunconfig PHY_PXA_28NM_USB2
88*4882a593Smuzhiyun	tristate "Marvell USB 2.0 28nm PHY Driver"
89*4882a593Smuzhiyun	depends on HAS_IOMEM
90*4882a593Smuzhiyun	select GENERIC_PHY
91*4882a593Smuzhiyun	help
92*4882a593Smuzhiyun	  Enable this to support Marvell USB 2.0 PHY driver for Marvell
93*4882a593Smuzhiyun	  SoC. This driver will do the PHY initialization and shutdown.
94*4882a593Smuzhiyun	  The PHY driver will be used by Marvell udc/ehci/otg driver.
95*4882a593Smuzhiyun
96*4882a593Smuzhiyun	  To compile this driver as a module, choose M here.
97*4882a593Smuzhiyun
98*4882a593Smuzhiyunconfig PHY_PXA_USB
99*4882a593Smuzhiyun	tristate "Marvell PXA USB PHY Driver"
100*4882a593Smuzhiyun	depends on ARCH_PXA || ARCH_MMP || COMPILE_TEST
101*4882a593Smuzhiyun	select GENERIC_PHY
102*4882a593Smuzhiyun	help
103*4882a593Smuzhiyun	  Enable this to support Marvell PXA USB PHY driver for Marvell
104*4882a593Smuzhiyun	  SoC. This driver will do the PHY initialization and shutdown.
105*4882a593Smuzhiyun	  The PHY driver will be used by Marvell udc/ehci/otg driver.
106*4882a593Smuzhiyun
107*4882a593Smuzhiyun	  To compile this driver as a module, choose M here.
108*4882a593Smuzhiyun
109*4882a593Smuzhiyunconfig PHY_MMP3_USB
110*4882a593Smuzhiyun	tristate "Marvell MMP3 USB PHY Driver"
111*4882a593Smuzhiyun	depends on MACH_MMP3_DT || COMPILE_TEST
112*4882a593Smuzhiyun	select GENERIC_PHY
113*4882a593Smuzhiyun	help
114*4882a593Smuzhiyun	  Enable this to support Marvell MMP3 USB PHY driver for Marvell
115*4882a593Smuzhiyun	  SoC. This driver will do the PHY initialization and shutdown.
116*4882a593Smuzhiyun	  The PHY driver will be used by Marvell udc/ehci/otg driver.
117*4882a593Smuzhiyun
118*4882a593Smuzhiyun	  To compile this driver as a module, choose M here.
119