Linux Audio

Check our new training course

Loading...
v6.8
 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	depends on PTP_1588_CLOCK_OPTIONAL
 6	select NET_DSA_TAG_SJA1105
 7	select PCS_XPCS
 8	select PACKING
 9	select CRC32
10	help
11	  This is the driver for the NXP SJA1105 (5-port) and SJA1110 (10-port)
12	  automotive Ethernet switch family. These are managed over an SPI
13	  interface. Probing is handled based on OF bindings and so is the
14	  linkage to PHYLINK. The driver supports the following revisions:
15	    - SJA1105E (Gen. 1, No TT-Ethernet)
16	    - SJA1105T (Gen. 1, TT-Ethernet)
17	    - SJA1105P (Gen. 2, No SGMII, No TT-Ethernet)
18	    - SJA1105Q (Gen. 2, No SGMII, TT-Ethernet)
19	    - SJA1105R (Gen. 2, SGMII, No TT-Ethernet)
20	    - SJA1105S (Gen. 2, SGMII, TT-Ethernet)
21	    - SJA1110A (Gen. 3, SGMII, TT-Ethernet, 100base-TX PHY, 10 ports)
22	    - SJA1110B (Gen. 3, SGMII, TT-Ethernet, 100base-TX PHY, 9 ports)
23	    - SJA1110C (Gen. 3, SGMII, TT-Ethernet, 100base-TX PHY, 7 ports)
24	    - SJA1110D (Gen. 3, SGMII, TT-Ethernet, no 100base-TX PHY, 7 ports)
25
26config NET_DSA_SJA1105_PTP
27	bool "Support for the PTP clock on the NXP SJA1105 Ethernet switch"
28	depends on NET_DSA_SJA1105
29	depends on PTP_1588_CLOCK
30	help
31	  This enables support for timestamping and PTP clock manipulations in
32	  the SJA1105 DSA driver.
33
34config NET_DSA_SJA1105_TAS
35	bool "Support for the Time-Aware Scheduler on NXP SJA1105"
36	depends on NET_DSA_SJA1105 && NET_SCH_TAPRIO
37	depends on NET_SCH_TAPRIO=y || NET_DSA_SJA1105=m
38	depends on NET_DSA_SJA1105_PTP
39	help
40	  This enables support for the TTEthernet-based egress scheduling
41	  engine in the SJA1105 DSA driver, which is controlled using a
42	  hardware offload of the tc-tqprio qdisc.
43
44config NET_DSA_SJA1105_VL
45	bool "Support for Virtual Links on NXP SJA1105"
46	depends on NET_DSA_SJA1105_TAS
47	help
48	  This enables support for flow classification using capable devices
49	  (SJA1105T, SJA1105Q, SJA1105S). The following actions are supported:
50	  - redirect, trap, drop
51	  - time-based ingress policing, via the tc-gate action
v5.14.15
 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 PCS_XPCS
 7	select PACKING
 8	select CRC32
 9	help
10	  This is the driver for the NXP SJA1105 (5-port) and SJA1110 (10-port)
11	  automotive Ethernet switch family. These are managed over an SPI
12	  interface. Probing is handled based on OF bindings and so is the
13	  linkage to PHYLINK. The driver supports the following revisions:
14	    - SJA1105E (Gen. 1, No TT-Ethernet)
15	    - SJA1105T (Gen. 1, TT-Ethernet)
16	    - SJA1105P (Gen. 2, No SGMII, No TT-Ethernet)
17	    - SJA1105Q (Gen. 2, No SGMII, TT-Ethernet)
18	    - SJA1105R (Gen. 2, SGMII, No TT-Ethernet)
19	    - SJA1105S (Gen. 2, SGMII, TT-Ethernet)
20	    - SJA1110A (Gen. 3, SGMII, TT-Ethernet, 100base-TX PHY, 10 ports)
21	    - SJA1110B (Gen. 3, SGMII, TT-Ethernet, 100base-TX PHY, 9 ports)
22	    - SJA1110C (Gen. 3, SGMII, TT-Ethernet, 100base-TX PHY, 7 ports)
23	    - SJA1110D (Gen. 3, SGMII, TT-Ethernet, no 100base-TX PHY, 7 ports)
24
25config NET_DSA_SJA1105_PTP
26	bool "Support for the PTP clock on the NXP SJA1105 Ethernet switch"
27	depends on NET_DSA_SJA1105
28	depends on PTP_1588_CLOCK
29	help
30	  This enables support for timestamping and PTP clock manipulations in
31	  the SJA1105 DSA driver.
32
33config NET_DSA_SJA1105_TAS
34	bool "Support for the Time-Aware Scheduler on NXP SJA1105"
35	depends on NET_DSA_SJA1105 && NET_SCH_TAPRIO
36	depends on NET_SCH_TAPRIO=y || NET_DSA_SJA1105=m
37	depends on NET_DSA_SJA1105_PTP
38	help
39	  This enables support for the TTEthernet-based egress scheduling
40	  engine in the SJA1105 DSA driver, which is controlled using a
41	  hardware offload of the tc-tqprio qdisc.
42
43config NET_DSA_SJA1105_VL
44	bool "Support for Virtual Links on NXP SJA1105"
45	depends on NET_DSA_SJA1105_TAS
46	help
47	  This enables support for flow classification using capable devices
48	  (SJA1105T, SJA1105Q, SJA1105S). The following actions are supported:
49	  - redirect, trap, drop
50	  - time-based ingress policing, via the tc-gate action