xref: /openbmc/linux/drivers/phy/marvell/Kconfig (revision f7e47677)
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 || 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_SATA
71	def_bool y
72	depends on ARCH_DOVE || MACH_DOVE || MACH_KIRKWOOD
73	depends on OF
74	select GENERIC_PHY
75
76config PHY_PXA_28NM_HSIC
77	tristate "Marvell USB HSIC 28nm PHY Driver"
78	depends on HAS_IOMEM
79	select GENERIC_PHY
80	help
81	  Enable this to support Marvell USB HSIC PHY driver for Marvell
82	  SoC. This driver will do the PHY initialization and shutdown.
83	  The PHY driver will be used by Marvell ehci driver.
84
85	  To compile this driver as a module, choose M here.
86
87config PHY_PXA_28NM_USB2
88	tristate "Marvell USB 2.0 28nm PHY Driver"
89	depends on HAS_IOMEM
90	select GENERIC_PHY
91	help
92	  Enable this to support Marvell USB 2.0 PHY driver for Marvell
93	  SoC. This driver will do the PHY initialization and shutdown.
94	  The PHY driver will be used by Marvell udc/ehci/otg driver.
95
96	  To compile this driver as a module, choose M here.
97
98config PHY_PXA_USB
99	tristate "Marvell PXA USB PHY Driver"
100	depends on ARCH_PXA || ARCH_MMP || COMPILE_TEST
101	select GENERIC_PHY
102	help
103	  Enable this to support Marvell PXA USB PHY driver for Marvell
104	  SoC. This driver will do the PHY initialization and shutdown.
105	  The PHY driver will be used by Marvell udc/ehci/otg driver.
106
107	  To compile this driver as a module, choose M here.
108
109config PHY_MMP3_USB
110	tristate "Marvell MMP3 USB PHY Driver"
111	depends on MACH_MMP3_DT || COMPILE_TEST
112	select GENERIC_PHY
113	help
114	  Enable this to support Marvell MMP3 USB PHY driver for Marvell
115	  SoC. This driver will do the PHY initialization and shutdown.
116	  The PHY driver will be used by Marvell udc/ehci/otg driver.
117
118	  To compile this driver as a module, choose M here.
119