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 63ad1d171SVladimir Oltean select PCS_XPCS 78aa9ebccSVladimir Oltean select PACKING 88aa9ebccSVladimir Oltean select CRC32 98aa9ebccSVladimir Oltean help 10*75e99470SVladimir Oltean This is the driver for the NXP SJA1105 (5-port) and SJA1110 (10-port) 11*75e99470SVladimir Oltean automotive Ethernet switch family. These 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) 20*75e99470SVladimir Oltean - SJA1110A (Gen. 3, SGMII, TT-Ethernet, 100base-TX PHY, 10 ports) 21*75e99470SVladimir Oltean - SJA1110B (Gen. 3, SGMII, TT-Ethernet, 100base-TX PHY, 9 ports) 22*75e99470SVladimir Oltean - SJA1110C (Gen. 3, SGMII, TT-Ethernet, 100base-TX PHY, 7 ports) 23*75e99470SVladimir Oltean - SJA1110D (Gen. 3, SGMII, TT-Ethernet, no 100base-TX PHY, 7 ports) 24bb77f36aSVladimir Oltean 25bb77f36aSVladimir Olteanconfig NET_DSA_SJA1105_PTP 2678fe8a28SArnd Bergmann bool "Support for the PTP clock on the NXP SJA1105 Ethernet switch" 27bb77f36aSVladimir Oltean depends on NET_DSA_SJA1105 28b6d49cabSClay McClure depends on PTP_1588_CLOCK 29bb77f36aSVladimir Oltean help 30bb77f36aSVladimir Oltean This enables support for timestamping and PTP clock manipulations in 31bb77f36aSVladimir Oltean the SJA1105 DSA driver. 32317ab5b8SVladimir Oltean 33317ab5b8SVladimir Olteanconfig NET_DSA_SJA1105_TAS 34317ab5b8SVladimir Oltean bool "Support for the Time-Aware Scheduler on NXP SJA1105" 355d294fc4SArnd Bergmann depends on NET_DSA_SJA1105 && NET_SCH_TAPRIO 365d294fc4SArnd Bergmann depends on NET_SCH_TAPRIO=y || NET_DSA_SJA1105=m 3786db36a3SVladimir Oltean depends on NET_DSA_SJA1105_PTP 38317ab5b8SVladimir Oltean help 39317ab5b8SVladimir Oltean This enables support for the TTEthernet-based egress scheduling 40317ab5b8SVladimir Oltean engine in the SJA1105 DSA driver, which is controlled using a 41317ab5b8SVladimir Oltean hardware offload of the tc-tqprio qdisc. 42dfacc5a2SVladimir Oltean 43dfacc5a2SVladimir Olteanconfig NET_DSA_SJA1105_VL 44dfacc5a2SVladimir Oltean bool "Support for Virtual Links on NXP SJA1105" 45dfacc5a2SVladimir Oltean depends on NET_DSA_SJA1105_TAS 46dfacc5a2SVladimir Oltean help 47dfacc5a2SVladimir Oltean This enables support for flow classification using capable devices 48dfacc5a2SVladimir Oltean (SJA1105T, SJA1105Q, SJA1105S). The following actions are supported: 49dfacc5a2SVladimir Oltean - redirect, trap, drop 50dfacc5a2SVladimir Oltean - time-based ingress policing, via the tc-gate action 51