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