From patchwork Thu Jan 25 08:05:03 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philippe Schenker X-Patchwork-Id: 191889 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:2553:b0:103:945f:af90 with SMTP id p19csp1489701dyi; Thu, 25 Jan 2024 00:12:04 -0800 (PST) X-Google-Smtp-Source: AGHT+IHaC1TmBP3d6GdXADPQFJNq6rUZTdo8T7Z37WZPOgW9eGMoWR8SIRdlCPmjKH8CSDDBIbpa X-Received: by 2002:a05:622a:1b92:b0:42a:4476:1202 with SMTP id bp18-20020a05622a1b9200b0042a44761202mr827630qtb.130.1706170324118; Thu, 25 Jan 2024 00:12:04 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706170324; cv=pass; d=google.com; s=arc-20160816; b=gSExe4Vmzm+vLWPTjBULcQZ0oqGssPFzziRmqaYTWAdhluO+a56H49bZGzR8u/8kmB psaA/xTSkzeKgV5OLFO/5Vrvdosy25LjoRRwg2dLGdz4GqlQ83FeBGHMKzp9qwIgiNHi jDtN8DFDm43mhwCtchA7GHFXOpTFqkmXT+YrUVYnWVvg6cmaOdwPDYYO4brgG5AEPKAN z4dQCF6589RFYWOjZRemWH0/nGL8IGBoTvsDrmwcKBA0gpmKL9hXVh97gv5KLZMyqx8y foIAqAbZzxNr8g+scftirn58nO4opSIi99n8lYSoxXqj7e2XiAwPfrrkqRfDKtUuLXaG ZoVA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=TysjR7G0qqocF7UQm7FTWjJMZJhcaN2GBx4RYzGrAp0=; fh=EzWJt3zYpRBlTX6Ro2yhHxYdcKkrYQnwcENOxwCSwHU=; b=KI625oCihVu1Sniwr/C5I+p7xmvBxz3F73/mKX2ibe2y5Lomn6Srv15xDgmBvEEJfF o2SLopHrdTjNFc9LPnoV2pOZDEcYDsUIN3zNWRyEEH+YFTDr47smtUeRfJDXccmA8wIS DnEFTIdEXs1PbqvQKSX8bzugvIIKFxotFxbxxAL4tGNnOvGiOGKAJPleiqa77wt+vBwv umSa1QEVJ65GRhzuAS0FHd6KfubWPPEtSq+Onh6d0eb6j7dXvNczBFnKGiYGOU6jCRCK wBvpsXsYkcdcQpGq79MzouGBj7c5y/fbQ9FMGSKR6uIsXiuYS0VTHD0JlFjg8bmAR0Uj JcVA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@pschenker.ch header.s=20220412 header.b=uVZvbgkF; arc=pass (i=1 spf=pass spfdomain=pschenker.ch dkim=pass dkdomain=pschenker.ch dmarc=pass fromdomain=pschenker.ch); spf=pass (google.com: domain of linux-kernel+bounces-38138-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-38138-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=pschenker.ch Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id y8-20020a05622a120800b0042a0991e599si12433454qtx.129.2024.01.25.00.12.04 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Jan 2024 00:12:04 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-38138-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@pschenker.ch header.s=20220412 header.b=uVZvbgkF; arc=pass (i=1 spf=pass spfdomain=pschenker.ch dkim=pass dkdomain=pschenker.ch dmarc=pass fromdomain=pschenker.ch); spf=pass (google.com: domain of linux-kernel+bounces-38138-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-38138-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=pschenker.ch Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id E2D6B1C20843 for ; Thu, 25 Jan 2024 08:12:03 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C5EA6175B6; Thu, 25 Jan 2024 08:11:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=pschenker.ch header.i=@pschenker.ch header.b="uVZvbgkF" Received: from smtp-bc0d.mail.infomaniak.ch (smtp-bc0d.mail.infomaniak.ch [45.157.188.13]) (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 AF907171A2 for ; Thu, 25 Jan 2024 08:11:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=45.157.188.13 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706170305; cv=none; b=ODEI0TxOCDXLbxKUZlWWPGmbDX1p72fWYWHL5hMuoA30jolh+ENZJ4esaMKsuFIUeTtR/OHnxnvonWkjnb/E7bBQeKrpLY1oVBp5WpDMQ86IIxzJGwqjrEHH0+dC6sgcQUQnIoJHftcjtcy6CLeCmeh+6JP6RaelKB6SaNd3/KA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706170305; c=relaxed/simple; bh=Wwr/9VY0CuvcH7ywePcK0l0TShBy0NXgTb8eojUbKq0=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=llXqT0+dBN5TXUxYonAsmSbcvGCgY9bm+wOx3e3Y/a30k5eHA9i6rCs/WtnTF4rRRr7vwX85E/PTZAqyOLsiJl8CLwE5tCMAo4UoXlMSNvWsXs2zC5eYMX65+iXRQkZ6zdgsyZ8iDdSXpcrFLnwzjkvFtjBmsH4aD01+MK6SaKw= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=pschenker.ch; spf=pass smtp.mailfrom=pschenker.ch; dkim=pass (1024-bit key) header.d=pschenker.ch header.i=@pschenker.ch header.b=uVZvbgkF; arc=none smtp.client-ip=45.157.188.13 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=pschenker.ch Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=pschenker.ch Received: from smtp-4-0001.mail.infomaniak.ch (smtp-4-0001.mail.infomaniak.ch [10.7.10.108]) by smtp-4-3000.mail.infomaniak.ch (Postfix) with ESMTPS id 4TLD0R2qpqzVH7; Thu, 25 Jan 2024 09:05:43 +0100 (CET) Received: from unknown by smtp-4-0001.mail.infomaniak.ch (Postfix) with ESMTPA id 4TLD0P73LMzny1; Thu, 25 Jan 2024 09:05:41 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=pschenker.ch; s=20220412; t=1706169943; bh=Wwr/9VY0CuvcH7ywePcK0l0TShBy0NXgTb8eojUbKq0=; h=From:To:Cc:Subject:Date:From; b=uVZvbgkFPM2U+jrm09GDGJPALEzxJtSZhEup77eEx1CuQCjnL/ixkXrZyU+8t1SPU WMfh3qyG5ZUBsRRj86M/x63r/atchTEeOhMyuylJdeUhK1mYqStoq9Uk3t/pXIWFwN cut8XDiSo8CIE97PLUgXD8XH/ZSpgJD4mw5w+ilI= From: Philippe Schenker To: netdev@vger.kernel.org Cc: Conor Dooley , devicetree@vger.kernel.org, Marek Vasut , Vladimir Oltean , Andrew Lunn , Jakub Kicinski , linux-kernel@vger.kernel.org, Rob Herring , Florian Fainelli , Woojung Huh , UNGLinuxDriver@microchip.com, Eric Dumazet , stefan.portmann@impulsing.ch, "David S . Miller" , Paolo Abeni , Krzysztof Kozlowski , Philippe Schenker , Conor Dooley Subject: [PATCH net-next v2 1/2] dt-bindings: net: dsa: Add KSZ8567 switch support Date: Thu, 25 Jan 2024 09:05:03 +0100 Message-Id: <20240125080504.62061-1-dev@pschenker.ch> X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Infomaniak-Routing: alpha X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1789049253863705007 X-GMAIL-MSGID: 1789049253863705007 From: Philippe Schenker This commit adds the dt-binding for KSZ8567, a robust 7-port Ethernet switch. The KSZ8567 features two RGMII/MII/RMII interfaces, each capable of gigabit speeds, complemented by five 10/100 Mbps MAC/PHYs. This binding is necessary to set specific capabilities for this switch chip that are necessary due to the ksz dsa driver only accepting specific chip ids. The KSZ8567 is very similar to KSZ9567 however only containing 100 Mbps phys on its downstream ports. Signed-off-by: Philippe Schenker Acked-by: Conor Dooley --- Changes in v2: - Describe in commit message why this is necessary Documentation/devicetree/bindings/net/dsa/microchip,ksz.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/net/dsa/microchip,ksz.yaml b/Documentation/devicetree/bindings/net/dsa/microchip,ksz.yaml index c963dc09e8e1..52acc15ebcbf 100644 --- a/Documentation/devicetree/bindings/net/dsa/microchip,ksz.yaml +++ b/Documentation/devicetree/bindings/net/dsa/microchip,ksz.yaml @@ -31,6 +31,7 @@ properties: - microchip,ksz9893 - microchip,ksz9563 - microchip,ksz8563 + - microchip,ksz8567 reset-gpios: description: