blob: 68c3086af9af810bf4c268c078482c5b20b74a2b [file] [log] [blame]
Thomas Gleixnerec8f24b2019-05-19 13:07:45 +01001# SPDX-License-Identifier: GPL-2.0-only
Vladimir Oltean8aa9ebc2019-05-02 23:23:30 +03002config NET_DSA_SJA1105
3tristate "NXP SJA1105 Ethernet switch family support"
4 depends on NET_DSA && SPI
Vladimir Oltean227d07a2019-05-05 13:19:27 +03005 select NET_DSA_TAG_SJA1105
Vladimir Oltean8aa9ebc2019-05-02 23:23:30 +03006 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
Vladimir Oltean1fd4a172019-06-08 16:03:42 +030012 linkage to PHYLINK. The driver supports the following revisions:
Vladimir Oltean8aa9ebc2019-05-02 23:23:30 +030013 - 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)
Vladimir Olteanbb77f362019-06-08 15:04:34 +030019
20config NET_DSA_SJA1105_PTP
Arnd Bergmann78fe8a22019-06-17 15:14:10 +020021 bool "Support for the PTP clock on the NXP SJA1105 Ethernet switch"
Vladimir Olteanbb77f362019-06-08 15:04:34 +030022 depends on NET_DSA_SJA1105
Clay McClureb6d49ca2020-04-29 00:59:00 -070023 depends on PTP_1588_CLOCK
Vladimir Olteanbb77f362019-06-08 15:04:34 +030024 help
25 This enables support for timestamping and PTP clock manipulations in
26 the SJA1105 DSA driver.
Vladimir Oltean317ab5b2019-09-15 05:00:02 +030027
28config NET_DSA_SJA1105_TAS
29 bool "Support for the Time-Aware Scheduler on NXP SJA1105"
Arnd Bergmann5d294fc2019-10-25 09:26:35 +020030 depends on NET_DSA_SJA1105 && NET_SCH_TAPRIO
31 depends on NET_SCH_TAPRIO=y || NET_DSA_SJA1105=m
Vladimir Oltean86db36a2019-11-12 02:11:54 +020032 depends on NET_DSA_SJA1105_PTP
Vladimir Oltean317ab5b2019-09-15 05:00:02 +030033 help
34 This enables support for the TTEthernet-based egress scheduling
35 engine in the SJA1105 DSA driver, which is controlled using a
36 hardware offload of the tc-tqprio qdisc.