1 # SPDX-License-Identifier: GPL-2.0-only
3 tristate "NXP SJA1105 Ethernet switch family support"
4 depends on NET_DSA && SPI
5 select NET_DSA_TAG_SJA1105
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)
20 config NET_DSA_SJA1105_PTP
21 bool "Support for the PTP clock on the NXP SJA1105 Ethernet switch"
22 depends on NET_DSA_SJA1105
24 This enables support for timestamping and PTP clock manipulations in
25 the SJA1105 DSA driver.
27 config NET_DSA_SJA1105_TAS
28 bool "Support for the Time-Aware Scheduler on NXP SJA1105"
29 depends on NET_DSA_SJA1105 && NET_SCH_TAPRIO
30 depends on NET_SCH_TAPRIO=y || NET_DSA_SJA1105=m
31 depends on NET_DSA_SJA1105_PTP
33 This enables support for the TTEthernet-based egress scheduling
34 engine in the SJA1105 DSA driver, which is controlled using a
35 hardware offload of the tc-tqprio qdisc.