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