xref: /linux/drivers/net/dsa/mv88e6xxx/Kconfig (revision cdd30ebb1b9f36159d66f088b61aee264e649d7a)
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_PTP
13	bool "PTP support for Marvell 88E6xxx"
14	default n
15	depends on (NET_DSA_MV88E6XXX = y && PTP_1588_CLOCK = y) || \
16	           (NET_DSA_MV88E6XXX = m && PTP_1588_CLOCK)
17	help
18	  Say Y to enable PTP hardware timestamping on Marvell 88E6xxx switch
19	  chips that support it.
20
21config NET_DSA_MV88E6XXX_LEDS
22	bool "LED support for Marvell 88E6xxx"
23	default y
24	depends on NET_DSA_MV88E6XXX
25	depends on LEDS_CLASS=y || LEDS_CLASS=NET_DSA_MV88E6XXX
26	depends on LEDS_TRIGGERS
27	help
28	  This enabled support for controlling the LEDs attached to the
29	  Marvell 88E6xxx switch chips.
30