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 5*e5f31552SArnd Bergmann depends on PTP_1588_CLOCK_OPTIONAL 6227d07a0SVladimir Oltean select NET_DSA_TAG_SJA1105 73ad1d171SVladimir Oltean select PCS_XPCS 88aa9ebccSVladimir Oltean select PACKING 98aa9ebccSVladimir Oltean select CRC32 108aa9ebccSVladimir Oltean help 1175e99470SVladimir Oltean This is the driver for the NXP SJA1105 (5-port) and SJA1110 (10-port) 1275e99470SVladimir Oltean automotive Ethernet switch family. These are managed over an SPI 138aa9ebccSVladimir Oltean interface. Probing is handled based on OF bindings and so is the 141fd4a173SVladimir Oltean linkage to PHYLINK. The driver supports the following revisions: 158aa9ebccSVladimir Oltean - SJA1105E (Gen. 1, No TT-Ethernet) 168aa9ebccSVladimir Oltean - SJA1105T (Gen. 1, TT-Ethernet) 178aa9ebccSVladimir Oltean - SJA1105P (Gen. 2, No SGMII, No TT-Ethernet) 188aa9ebccSVladimir Oltean - SJA1105Q (Gen. 2, No SGMII, TT-Ethernet) 198aa9ebccSVladimir Oltean - SJA1105R (Gen. 2, SGMII, No TT-Ethernet) 208aa9ebccSVladimir Oltean - SJA1105S (Gen. 2, SGMII, TT-Ethernet) 2175e99470SVladimir Oltean - SJA1110A (Gen. 3, SGMII, TT-Ethernet, 100base-TX PHY, 10 ports) 2275e99470SVladimir Oltean - SJA1110B (Gen. 3, SGMII, TT-Ethernet, 100base-TX PHY, 9 ports) 2375e99470SVladimir Oltean - SJA1110C (Gen. 3, SGMII, TT-Ethernet, 100base-TX PHY, 7 ports) 2475e99470SVladimir Oltean - SJA1110D (Gen. 3, SGMII, TT-Ethernet, no 100base-TX PHY, 7 ports) 25bb77f36aSVladimir Oltean 26bb77f36aSVladimir Olteanconfig NET_DSA_SJA1105_PTP 2778fe8a28SArnd Bergmann bool "Support for the PTP clock on the NXP SJA1105 Ethernet switch" 28bb77f36aSVladimir Oltean depends on NET_DSA_SJA1105 29b6d49cabSClay McClure depends on PTP_1588_CLOCK 30bb77f36aSVladimir Oltean help 31bb77f36aSVladimir Oltean This enables support for timestamping and PTP clock manipulations in 32bb77f36aSVladimir Oltean the SJA1105 DSA driver. 33317ab5b8SVladimir Oltean 34317ab5b8SVladimir Olteanconfig NET_DSA_SJA1105_TAS 35317ab5b8SVladimir Oltean bool "Support for the Time-Aware Scheduler on NXP SJA1105" 365d294fc4SArnd Bergmann depends on NET_DSA_SJA1105 && NET_SCH_TAPRIO 375d294fc4SArnd Bergmann depends on NET_SCH_TAPRIO=y || NET_DSA_SJA1105=m 3886db36a3SVladimir Oltean depends on NET_DSA_SJA1105_PTP 39317ab5b8SVladimir Oltean help 40317ab5b8SVladimir Oltean This enables support for the TTEthernet-based egress scheduling 41317ab5b8SVladimir Oltean engine in the SJA1105 DSA driver, which is controlled using a 42317ab5b8SVladimir Oltean hardware offload of the tc-tqprio qdisc. 43dfacc5a2SVladimir Oltean 44dfacc5a2SVladimir Olteanconfig NET_DSA_SJA1105_VL 45dfacc5a2SVladimir Oltean bool "Support for Virtual Links on NXP SJA1105" 46dfacc5a2SVladimir Oltean depends on NET_DSA_SJA1105_TAS 47dfacc5a2SVladimir Oltean help 48dfacc5a2SVladimir Oltean This enables support for flow classification using capable devices 49dfacc5a2SVladimir Oltean (SJA1105T, SJA1105Q, SJA1105S). The following actions are supported: 50dfacc5a2SVladimir Oltean - redirect, trap, drop 51dfacc5a2SVladimir Oltean - time-based ingress policing, via the tc-gate action 52