xref: /openbmc/linux/drivers/phy/marvell/Kconfig (revision b830f94f)
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	select GENERIC_PHY
61	help
62	  This driver allows to control the comphy, an hardware block providing
63	  shared serdes PHYs on Marvell Armada 7k/8k (in the CP110). Its serdes
64	  lanes can be used by various controllers (Ethernet, sata, usb,
65	  PCIe...).
66
67config PHY_MVEBU_SATA
68	def_bool y
69	depends on ARCH_DOVE || MACH_DOVE || MACH_KIRKWOOD
70	depends on OF
71	select GENERIC_PHY
72
73config PHY_PXA_28NM_HSIC
74	tristate "Marvell USB HSIC 28nm PHY Driver"
75	depends on HAS_IOMEM
76	select GENERIC_PHY
77	help
78	  Enable this to support Marvell USB HSIC PHY driver for Marvell
79	  SoC. This driver will do the PHY initialization and shutdown.
80	  The PHY driver will be used by Marvell ehci driver.
81
82	  To compile this driver as a module, choose M here.
83
84config PHY_PXA_28NM_USB2
85	tristate "Marvell USB 2.0 28nm PHY Driver"
86	depends on HAS_IOMEM
87	select GENERIC_PHY
88	help
89	  Enable this to support Marvell USB 2.0 PHY driver for Marvell
90	  SoC. This driver will do the PHY initialization and shutdown.
91	  The PHY driver will be used by Marvell udc/ehci/otg driver.
92
93	  To compile this driver as a module, choose M here.
94
95config PHY_PXA_USB
96	tristate "Marvell PXA USB PHY Driver"
97	depends on ARCH_PXA || ARCH_MMP
98	select GENERIC_PHY
99	help
100	  Enable this to support Marvell PXA USB 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