1# SPDX-License-Identifier: GPL-2.0-only 2config NET_DSA_SJA1105 3tristate "NXP SJA1105 Ethernet switch family support" 4 depends on NET_DSA && SPI 5 select NET_DSA_TAG_SJA1105 6 select PCS_XPCS 7 select PACKING 8 select CRC32 9 help 10 This is the driver for the NXP SJA1105 automotive Ethernet switch 11 family. These are 5-port devices and are managed over an SPI 12 interface. Probing is handled based on OF bindings and so is the 13 linkage to PHYLINK. The driver supports the following revisions: 14 - SJA1105E (Gen. 1, No TT-Ethernet) 15 - SJA1105T (Gen. 1, TT-Ethernet) 16 - SJA1105P (Gen. 2, No SGMII, No TT-Ethernet) 17 - SJA1105Q (Gen. 2, No SGMII, TT-Ethernet) 18 - SJA1105R (Gen. 2, SGMII, No TT-Ethernet) 19 - SJA1105S (Gen. 2, SGMII, TT-Ethernet) 20 21config NET_DSA_SJA1105_PTP 22 bool "Support for the PTP clock on the NXP SJA1105 Ethernet switch" 23 depends on NET_DSA_SJA1105 24 depends on PTP_1588_CLOCK 25 help 26 This enables support for timestamping and PTP clock manipulations in 27 the SJA1105 DSA driver. 28 29config NET_DSA_SJA1105_TAS 30 bool "Support for the Time-Aware Scheduler on NXP SJA1105" 31 depends on NET_DSA_SJA1105 && NET_SCH_TAPRIO 32 depends on NET_SCH_TAPRIO=y || NET_DSA_SJA1105=m 33 depends on NET_DSA_SJA1105_PTP 34 help 35 This enables support for the TTEthernet-based egress scheduling 36 engine in the SJA1105 DSA driver, which is controlled using a 37 hardware offload of the tc-tqprio qdisc. 38 39config NET_DSA_SJA1105_VL 40 bool "Support for Virtual Links on NXP SJA1105" 41 depends on NET_DSA_SJA1105_TAS 42 help 43 This enables support for flow classification using capable devices 44 (SJA1105T, SJA1105Q, SJA1105S). The following actions are supported: 45 - redirect, trap, drop 46 - time-based ingress policing, via the tc-gate action 47