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