xref: /openbmc/linux/drivers/net/dsa/mv88e6xxx/Kconfig (revision 4eb5928d)
1# SPDX-License-Identifier: GPL-2.0-only
2config NET_DSA_MV88E6XXX
3	tristate "Marvell 88E6xxx Ethernet switch fabric support"
4	depends on NET_DSA
5	select IRQ_DOMAIN
6	select NET_DSA_TAG_EDSA
7	select NET_DSA_TAG_DSA
8	help
9	  This driver adds support for most of the Marvell 88E6xxx models of
10	  Ethernet switch chips, except 88E6060.
11
12config NET_DSA_MV88E6XXX_GLOBAL2
13	bool "Switch Global 2 Registers support"
14	default y
15	depends on NET_DSA_MV88E6XXX
16	help
17	  This registers set at internal SMI address 0x1C provides extended
18	  features like EEPROM interface, trunking, cross-chip setup, etc.
19
20	  It is required on most chips. If the chip you compile the support for
21	  doesn't have such registers set, say N here. In doubt, say Y.
22
23config NET_DSA_MV88E6XXX_PTP
24	bool "PTP support for Marvell 88E6xxx"
25	default n
26	depends on NET_DSA_MV88E6XXX_GLOBAL2
27	depends on PTP_1588_CLOCK
28	imply NETWORK_PHY_TIMESTAMPING
29	help
30	  Say Y to enable PTP hardware timestamping on Marvell 88E6xxx switch
31	  chips that support it.
32