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