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 68aa9ebccSVladimir Oltean select PACKING 78aa9ebccSVladimir Oltean select CRC32 88aa9ebccSVladimir Oltean help 98aa9ebccSVladimir Oltean This is the driver for the NXP SJA1105 automotive Ethernet switch 108aa9ebccSVladimir Oltean family. These are 5-port devices and are managed over an SPI 118aa9ebccSVladimir Oltean interface. Probing is handled based on OF bindings and so is the 121fd4a173SVladimir Oltean linkage to PHYLINK. The driver supports the following revisions: 138aa9ebccSVladimir Oltean - SJA1105E (Gen. 1, No TT-Ethernet) 148aa9ebccSVladimir Oltean - SJA1105T (Gen. 1, TT-Ethernet) 158aa9ebccSVladimir Oltean - SJA1105P (Gen. 2, No SGMII, No TT-Ethernet) 168aa9ebccSVladimir Oltean - SJA1105Q (Gen. 2, No SGMII, TT-Ethernet) 178aa9ebccSVladimir Oltean - SJA1105R (Gen. 2, SGMII, No TT-Ethernet) 188aa9ebccSVladimir Oltean - SJA1105S (Gen. 2, SGMII, TT-Ethernet) 19bb77f36aSVladimir Oltean 20bb77f36aSVladimir Olteanconfig NET_DSA_SJA1105_PTP 2178fe8a28SArnd Bergmann bool "Support for the PTP clock on the NXP SJA1105 Ethernet switch" 22bb77f36aSVladimir Oltean depends on NET_DSA_SJA1105 23b6d49cabSClay McClure depends on PTP_1588_CLOCK 24bb77f36aSVladimir Oltean help 25bb77f36aSVladimir Oltean This enables support for timestamping and PTP clock manipulations in 26bb77f36aSVladimir Oltean the SJA1105 DSA driver. 27317ab5b8SVladimir Oltean 28317ab5b8SVladimir Olteanconfig NET_DSA_SJA1105_TAS 29317ab5b8SVladimir Oltean bool "Support for the Time-Aware Scheduler on NXP SJA1105" 305d294fc4SArnd Bergmann depends on NET_DSA_SJA1105 && NET_SCH_TAPRIO 315d294fc4SArnd Bergmann depends on NET_SCH_TAPRIO=y || NET_DSA_SJA1105=m 3286db36a3SVladimir Oltean depends on NET_DSA_SJA1105_PTP 33317ab5b8SVladimir Oltean help 34317ab5b8SVladimir Oltean This enables support for the TTEthernet-based egress scheduling 35317ab5b8SVladimir Oltean engine in the SJA1105 DSA driver, which is controlled using a 36317ab5b8SVladimir Oltean hardware offload of the tc-tqprio qdisc. 37*dfacc5a2SVladimir Oltean 38*dfacc5a2SVladimir Olteanconfig NET_DSA_SJA1105_VL 39*dfacc5a2SVladimir Oltean bool "Support for Virtual Links on NXP SJA1105" 40*dfacc5a2SVladimir Oltean depends on NET_DSA_SJA1105_TAS 41*dfacc5a2SVladimir Oltean help 42*dfacc5a2SVladimir Oltean This enables support for flow classification using capable devices 43*dfacc5a2SVladimir Oltean (SJA1105T, SJA1105Q, SJA1105S). The following actions are supported: 44*dfacc5a2SVladimir Oltean - redirect, trap, drop 45*dfacc5a2SVladimir Oltean - time-based ingress policing, via the tc-gate action 46