[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250128033226.70866-1-Tristram.Ha@microchip.com>
Date: Mon, 27 Jan 2025 19:32:24 -0800
From: <Tristram.Ha@...rochip.com>
To: Woojung Huh <woojung.huh@...rochip.com>, Andrew Lunn <andrew@...n.ch>,
Vladimir Oltean <olteanv@...il.com>, Heiner Kallweit <hkallweit1@...il.com>,
Russell King <linux@...linux.org.uk>, Maxime Chevallier
<maxime.chevallier@...tlin.com>
CC: "David S. Miller" <davem@...emloft.net>, Eric Dumazet
<edumazet@...gle.com>, Jakub Kicinski <kuba@...nel.org>, Paolo Abeni
<pabeni@...hat.com>, <UNGLinuxDriver@...rochip.com>,
<netdev@...r.kernel.org>, <linux-kernel@...r.kernel.org>, Tristram Ha
<tristram.ha@...rochip.com>
Subject: [PATCH RFC net-next 0/2] Add SGMII port support to KSZ9477 switch
From: Tristram Ha <tristram.ha@...rochip.com>
This patch is to add SGMII port support to KSZ9477 switch. It was
recommended to use the XPCS driver in the kernel as the SGMII
implementation uses Synopsys DesignWare IP. However, that driver does
not work for KSZ9477 in some cases, so it is necessary to modify that
driver.
As there is no way to know whether the new code breaks other
implementations a new field is added to differentiate the new KSZ9477
specific code. If in future the new code is tested to be compatible
then it can be updated.
Because of that it will require somebody to verify the new code in
different DesignWare implementations.
Tristram Ha (2):
net: pcs: xpcs: Add special code to operate in Microchip KSZ9477
switch
net: dsa: microchip: Add SGMII port support to KSZ9477 switch
drivers/net/dsa/microchip/ksz9477.c | 116 ++++++++++++++++++++++++-
drivers/net/dsa/microchip/ksz9477.h | 4 +-
drivers/net/dsa/microchip/ksz_common.c | 37 +++++++-
drivers/net/dsa/microchip/ksz_common.h | 23 ++++-
drivers/net/pcs/pcs-xpcs.c | 52 ++++++++++-
drivers/net/pcs/pcs-xpcs.h | 2 +
include/linux/pcs/pcs-xpcs.h | 6 ++
7 files changed, 231 insertions(+), 9 deletions(-)
--
2.34.1
Powered by blists - more mailing lists