1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only 28aa9ebccSVladimir Olteanconfig NET_DSA_SJA1105 38aa9ebccSVladimir Olteantristate "NXP SJA1105 Ethernet switch family support" 48aa9ebccSVladimir Oltean depends on NET_DSA && SPI 5227d07a0SVladimir Oltean select NET_DSA_TAG_SJA1105 6*3ad1d171SVladimir Oltean select PCS_XPCS 78aa9ebccSVladimir Oltean select PACKING 88aa9ebccSVladimir Oltean select CRC32 98aa9ebccSVladimir Oltean help 108aa9ebccSVladimir Oltean This is the driver for the NXP SJA1105 automotive Ethernet switch 118aa9ebccSVladimir Oltean family. These are 5-port devices and are managed over an SPI 128aa9ebccSVladimir Oltean interface. Probing is handled based on OF bindings and so is the 131fd4a173SVladimir Oltean linkage to PHYLINK. The driver supports the following revisions: 148aa9ebccSVladimir Oltean - SJA1105E (Gen. 1, No TT-Ethernet) 158aa9ebccSVladimir Oltean - SJA1105T (Gen. 1, TT-Ethernet) 168aa9ebccSVladimir Oltean - SJA1105P (Gen. 2, No SGMII, No TT-Ethernet) 178aa9ebccSVladimir Oltean - SJA1105Q (Gen. 2, No SGMII, TT-Ethernet) 188aa9ebccSVladimir Oltean - SJA1105R (Gen. 2, SGMII, No TT-Ethernet) 198aa9ebccSVladimir Oltean - SJA1105S (Gen. 2, SGMII, TT-Ethernet) 20bb77f36aSVladimir Oltean 21bb77f36aSVladimir Olteanconfig NET_DSA_SJA1105_PTP 2278fe8a28SArnd Bergmann bool "Support for the PTP clock on the NXP SJA1105 Ethernet switch" 23bb77f36aSVladimir Oltean depends on NET_DSA_SJA1105 24b6d49cabSClay McClure depends on PTP_1588_CLOCK 25bb77f36aSVladimir Oltean help 26bb77f36aSVladimir Oltean This enables support for timestamping and PTP clock manipulations in 27bb77f36aSVladimir Oltean the SJA1105 DSA driver. 28317ab5b8SVladimir Oltean 29317ab5b8SVladimir Olteanconfig NET_DSA_SJA1105_TAS 30317ab5b8SVladimir Oltean bool "Support for the Time-Aware Scheduler on NXP SJA1105" 315d294fc4SArnd Bergmann depends on NET_DSA_SJA1105 && NET_SCH_TAPRIO 325d294fc4SArnd Bergmann depends on NET_SCH_TAPRIO=y || NET_DSA_SJA1105=m 3386db36a3SVladimir Oltean depends on NET_DSA_SJA1105_PTP 34317ab5b8SVladimir Oltean help 35317ab5b8SVladimir Oltean This enables support for the TTEthernet-based egress scheduling 36317ab5b8SVladimir Oltean engine in the SJA1105 DSA driver, which is controlled using a 37317ab5b8SVladimir Oltean hardware offload of the tc-tqprio qdisc. 38dfacc5a2SVladimir Oltean 39dfacc5a2SVladimir Olteanconfig NET_DSA_SJA1105_VL 40dfacc5a2SVladimir Oltean bool "Support for Virtual Links on NXP SJA1105" 41dfacc5a2SVladimir Oltean depends on NET_DSA_SJA1105_TAS 42dfacc5a2SVladimir Oltean help 43dfacc5a2SVladimir Oltean This enables support for flow classification using capable devices 44dfacc5a2SVladimir Oltean (SJA1105T, SJA1105Q, SJA1105S). The following actions are supported: 45dfacc5a2SVladimir Oltean - redirect, trap, drop 46dfacc5a2SVladimir Oltean - time-based ingress policing, via the tc-gate action 47