^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) # SPDX-License-Identifier: GPL-2.0-only
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) config NET_DSA_SJA1105
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) tristate "NXP SJA1105 Ethernet switch family support"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) depends on NET_DSA && SPI
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) select NET_DSA_TAG_SJA1105
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) select PACKING
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) select CRC32
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) This is the driver for the NXP SJA1105 automotive Ethernet switch
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) family. These are 5-port devices and are managed over an SPI
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) interface. Probing is handled based on OF bindings and so is the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) linkage to PHYLINK. The driver supports the following revisions:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) - SJA1105E (Gen. 1, No TT-Ethernet)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) - SJA1105T (Gen. 1, TT-Ethernet)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) - SJA1105P (Gen. 2, No SGMII, No TT-Ethernet)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) - SJA1105Q (Gen. 2, No SGMII, TT-Ethernet)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) - SJA1105R (Gen. 2, SGMII, No TT-Ethernet)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) - SJA1105S (Gen. 2, SGMII, TT-Ethernet)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) config NET_DSA_SJA1105_PTP
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) bool "Support for the PTP clock on the NXP SJA1105 Ethernet switch"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) depends on NET_DSA_SJA1105
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) depends on PTP_1588_CLOCK
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) This enables support for timestamping and PTP clock manipulations in
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) the SJA1105 DSA driver.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) config NET_DSA_SJA1105_TAS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) bool "Support for the Time-Aware Scheduler on NXP SJA1105"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) depends on NET_DSA_SJA1105 && NET_SCH_TAPRIO
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) depends on NET_SCH_TAPRIO=y || NET_DSA_SJA1105=m
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) depends on NET_DSA_SJA1105_PTP
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) This enables support for the TTEthernet-based egress scheduling
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) engine in the SJA1105 DSA driver, which is controlled using a
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) hardware offload of the tc-tqprio qdisc.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) config NET_DSA_SJA1105_VL
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) bool "Support for Virtual Links on NXP SJA1105"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40) depends on NET_DSA_SJA1105_TAS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42) This enables support for flow classification using capable devices
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43) (SJA1105T, SJA1105Q, SJA1105S). The following actions are supported:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44) - redirect, trap, drop
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 45) - time-based ingress policing, via the tc-gate action