Thread (35 messages) 35 messages, 7 authors, 2026-08-11

Re: [PATCH net-next v2 13/14] net: stmmac: tc956x: add TC956x/QPS615 support

flat view

From: Maxime Chevallier <maxime.chevallier@bootlin.com>
Date: 2026-06-05 16:06:13
Also in: bpf, linux-arm-kernel, linux-arm-msm, linux-devicetree, linux-gpio, lkml

Hi Alex,

On 6/5/26 03:00, Alex Elder wrote:
From: Daniel Thompson <redacted>

Toshiba TC956x is an Ethernet AVB/TSN bridge and is essentially a
small and highly-specialized SoC. TC956x includes an "eMAC" subsystem
that can be accessed, along with several other peripherals, via two
PCIe endpoint functions. There is a main driver for the endpoint that
decomposes things and creates auxiliary bus devices to model the SoC.

The eMAC consists of a Designware XGMAC, XPCS and PMA. Each eMAC is
supported by an MSIGEN that bridges TC956x level interrupts to PCIe
MSIs.

Add a driver for the eMAC/MSIGEN combination.

Co-developed-by: Alex Elder <redacted>
Signed-off-by: Alex Elder <redacted>
Signed-off-by: Daniel Thompson <redacted>
---
[...]
quoted hunk ↗ jump to hunk
+static int tc956x_lookup_max_speed(phy_interface_t phy_interface)
+{
+	switch (phy_interface) {
+	case PHY_INTERFACE_MODE_SGMII:
The SGMII definition we use in the kernel is the Cisco SGMII de-facto
standard that only supports 10/100/1000M. Some vendors use flavours with
names such as HS-SGMII and such, that's basically SGMII clocked at 2.5G
with aneg disabled. It kinda becomes 2500BaseX then.

So all in all, we don't support 2500M on SGMII.
quoted hunk ↗ jump to hunk
+	case PHY_INTERFACE_MODE_2500BASEX:
+		return SPEED_2500;
+
+	default:
+		return -EOPNOTSUPP;
+	}
Maxime
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help