xref: /openbmc/linux/drivers/net/dsa/sja1105/Kconfig (revision 4d66c56f)
1# SPDX-License-Identifier: GPL-2.0-only
2config NET_DSA_SJA1105
3tristate "NXP SJA1105 Ethernet switch family support"
4	depends on NET_DSA && SPI
5	select NET_DSA_TAG_SJA1105
6	select PACKING
7	select CRC32
8	help
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)
19
20config NET_DSA_SJA1105_PTP
21	bool "Support for the PTP clock on the NXP SJA1105 Ethernet switch"
22	depends on NET_DSA_SJA1105
23	help
24	  This enables support for timestamping and PTP clock manipulations in
25	  the SJA1105 DSA driver.
26
27config 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
32	help
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.
36