From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3B8F233DED9 for ; Thu, 19 Feb 2026 14:24:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771511067; cv=none; b=cGuZOicjlYXao95IPC4W5wZHumpRu5av8RctcTV96op/BVdFOdkj1NiY36Ppi3XPkqohQSW541UbaGnJcaVZCbtRI5DiJFsuyZxfuYBotns7bMvYCqZs74nLpCkfHffNtp6IbQQwLgwqCZ2kK/YYrUJvr9fti+pUDcDw6NFIs3E= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771511067; c=relaxed/simple; bh=7oPBKguAKyH7WnMj3zdgXhOmQH1jfpd6i6zeMQM7eGk=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=vARjYQFNJuZ9sCrM1WSjR69LIqmAQet5cu8BwNtYHeZQCta6BjYMV0g0lkuPJBzuYp3+115lVM18lOdQs8juLcqEHZ5zmfrXNi+pEtTQsEX+0qAi0I0qGbDD0EnaXMTy6KLXx8ek1qnikBwHuk/+cqMThookby/3VNYk8fmGIzk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=glH1ee8R; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="glH1ee8R" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 122A5C4CEF7; Thu, 19 Feb 2026 14:24:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1771511066; bh=7oPBKguAKyH7WnMj3zdgXhOmQH1jfpd6i6zeMQM7eGk=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=glH1ee8RqzXB1DQJh32KiJyLc+s26IdbZverfg8BW7s+K1NoXVOAqa4G9oSrlQ9lG 7NMpowVpSd6nb+Cdnf1p04eJ3SCu2Y8eNSrULezXdvgChdgeUEVI1mR0Qr1l+PDDJg 2WzSpid1p8Hh9zUe8Fo++t+gI6huGAAzMuHTQHMHSWZmD8O8r8lJ96TumrcMClpU8x daf+80Go2dCZwq+aTEaVRSz774Pk7X0vcpxpRCMO8FuswHnJsTXFPcT6Bl1Vmzp5cW JPPSMwLgK/kQyX2x/nUmtAJ8QUOJGRerueG2otWOXOJJztOcwSSDhe7lz1nS7KFk6n 1tcsw2AMR3yrw== From: Linus Walleij Date: Thu, 19 Feb 2026 15:24:18 +0100 Subject: [PATCH net v3 2/5] net: dsa: microchip: Add fallback Micrel compatibles Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20260219-ks8995-fixups-v3-2-a7fc63fe1916@kernel.org> References: <20260219-ks8995-fixups-v3-0-a7fc63fe1916@kernel.org> In-Reply-To: <20260219-ks8995-fixups-v3-0-a7fc63fe1916@kernel.org> To: Andrew Lunn , Vladimir Oltean , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Woojung Huh Cc: UNGLinuxDriver@microchip.com, netdev@vger.kernel.org, Linus Walleij X-Mailer: b4 0.14.3 Because of forking paths when Micrel was acquire by Microchip, two devices also exist with the micrel,* prefix bindings. Ass these to the KSZ SPI driver so users can use the more capable driver. Signed-off-by: Linus Walleij --- drivers/net/dsa/microchip/ksz_spi.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/drivers/net/dsa/microchip/ksz_spi.c b/drivers/net/dsa/microchip/ksz_spi.c index d8001734b057..e3bb1ccf2331 100644 --- a/drivers/net/dsa/microchip/ksz_spi.c +++ b/drivers/net/dsa/microchip/ksz_spi.c @@ -312,6 +312,21 @@ static const struct of_device_id ksz_dt_ids[] = { .compatible = "microchip,lan9646", .data = &ksz_switch_chips[LAN9646] }, + /* + * Legacy Micrel bindings. In 2015 Microchip acquired + * Micrel which is the originator of the KSZ series, and + * devices branded for Micrel already existed, as well as + * some device tree bindings. These two products are identical + * to the same Microchip products. + */ + { + .compatible = "micrel,ksz8864", + .data = &ksz_switch_chips[KSZ8864] + }, + { + .compatible = "micrel,ksz8795", + .data = &ksz_switch_chips[KSZ8795] + }, {}, }; MODULE_DEVICE_TABLE(of, ksz_dt_ids); -- 2.53.0