From patchwork Tue Jan 30 08:34:18 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philippe Schenker X-Patchwork-Id: 193882 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:2087:b0:106:209c:c626 with SMTP id gs7csp1077436dyb; Tue, 30 Jan 2024 00:35:10 -0800 (PST) X-Google-Smtp-Source: AGHT+IFaGA4dRw5B4y8AtIfQRMlzhgDKdOe5ROMBiFKyGN1vnuZumq+DBztuk59Zz1FqVLsS9aEA X-Received: by 2002:a05:6402:7d5:b0:55f:4464:d044 with SMTP id u21-20020a05640207d500b0055f4464d044mr549765edy.6.1706603710110; Tue, 30 Jan 2024 00:35:10 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706603710; cv=pass; d=google.com; s=arc-20160816; b=fCava/VRQGanY4vOaOcvXESq/4Af787UrmFhuiO1J4nWDuabwVbez+e3Z1ayiSPNSc bvxalzp9+6vkP4lQPGNnMma/HIRjHRICWgVzifc/MGw1nk0npTc9zczUtESiyONiDjgi eobRRp3aOmpwZIfNUbXPGR1WfPAPuaHqS4h0uyn77NSxJqmUNRwllOEMb7zgZV4T4snm S6zpcOGz143SIY57IJ79/1os7ZhL5/vcBHK97qsKHswzkYgrqLUnwdHkFZV08NSOEMYU 1VCR6VhzCxhSUUGGlwuA59EAgrKJYbseFeHNtUl3USJNAzIRxq/WaIE9f+Fr8Hez5Vy0 jIlA== 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=NBSrYs9mV1uROZ5qBbT4ltcOHg9hRUi6TvQDaCDTfF4=; fh=Bhqa3bqQ2O2hfchieulQeZN7AaPpL61pGldGc2yp7nM=; b=uGhBGhYiu5/CqmFSrC1pxJDNgOoOfLsTw931f78ilL7VaKSdUA8yZTo9VH1CU2CgzZ S84pjNaYAUIr8UXWxJHybaIa9Keq5L5YyBCwuoSpyS+Pm31EZEf72FoUTGwsmQll6l8E N3m9r1p53Bkxs7u2TzGTCYc6Dp8MowiRRE0G2knyS7FQ+4AL9dkB2LetKPneezEwmQJS qokx5hfW3J8dW4SeGriMawmVLlJzJAe6X1OMRUqD322gl4p37aihiV0Vnof/50ymVxOj dW9UCffSsQ2dF/B0LPMkhHGl3kT2OCDLzxvKCYtkm/vuBH0nK1oLKnChwFJqQcMK0dMH HnwA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@pschenker.ch header.s=20220412 header.b="P/qiTMd0"; 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-44141-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-44141-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=pschenker.ch Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id c12-20020a50d64c000000b0055cc324ec7csi4526448edj.353.2024.01.30.00.35.09 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Jan 2024 00:35:10 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-44141-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@pschenker.ch header.s=20220412 header.b="P/qiTMd0"; 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-44141-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-44141-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 am.mirrors.kernel.org (Postfix) with ESMTPS id A9A711F299CF for ; Tue, 30 Jan 2024 08:35:09 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2A40E58108; Tue, 30 Jan 2024 08:34:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=pschenker.ch header.i=@pschenker.ch header.b="P/qiTMd0" Received: from smtp-190a.mail.infomaniak.ch (smtp-190a.mail.infomaniak.ch [185.125.25.10]) (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 73C5D5647A for ; Tue, 30 Jan 2024 08:34:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.125.25.10 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706603676; cv=none; b=mg/sasibiz7VnxfNg433vOhnos6rgr4keRCRIqW4yEmxi1Cn08Pce7SD4Wxj5PJIRgYxhBUicfCoxIvgI9xPnRj6S1i3+LL1ziUvV3+3OPnGuKaFPkSbwS5MTTIx7rTOc9NUvF61Q7W5Cab6Wu85aK52E8CeSuDI1uzZ+ky/Ums= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706603676; c=relaxed/simple; bh=b7D0N4YKP47U9+x1vEpEBNEqcBI+X3ofjmaQzmp+nqU=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=pn8WRviGZZ4QCxNzff2vEHgxwIOsih3MyPerNxF5UczfgjjIFAr9T6Biy9/FLXYmgTCe3auWdXdQlYwtX/Vt5qMWqP3kKS1N9gohkMW/gNUqZwAD9ZAUWTVKBdJyQgEd9I0F89MvOhjU44AopuJhbHEmINPfzAGtpdq8TolFEOw= 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=P/qiTMd0; arc=none smtp.client-ip=185.125.25.10 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-3-0000.mail.infomaniak.ch (unknown [10.4.36.107]) by smtp-3-3000.mail.infomaniak.ch (Postfix) with ESMTPS id 4TPJPC2LQwzMqFgL; Tue, 30 Jan 2024 09:34:23 +0100 (CET) Received: from unknown by smtp-3-0000.mail.infomaniak.ch (Postfix) with ESMTPA id 4TPJPB2D8TzDMG; Tue, 30 Jan 2024 09:34:22 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=pschenker.ch; s=20220412; t=1706603663; bh=b7D0N4YKP47U9+x1vEpEBNEqcBI+X3ofjmaQzmp+nqU=; h=From:To:Cc:Subject:Date:From; b=P/qiTMd0OHXoyQwMDg8Npj7xT+/KBznigjnFa3HVjXwlHQfWrVWZY2vzW+hAld8NB uDEkfkhUph4/fGD8Y1msnw6r+8vTqWKts/LdoF7B8Ts7hG8QZe8B0oy/jbmlGerJlb nZPzzJfWABw+rAGwEvvbvQbOFdjUcrKSWzUlb1Tk= From: Philippe Schenker To: netdev@vger.kernel.org Cc: Paolo Abeni , linux-kernel@vger.kernel.org, Marek Vasut , Vladimir Oltean , Woojung Huh , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Andrew Lunn , UNGLinuxDriver@microchip.com, devicetree@vger.kernel.org, "David S . Miller" , Florian Fainelli , stefan.portmann@impulsing.ch, Eric Dumazet , Jakub Kicinski , Philippe Schenker , Conor Dooley Subject: [PATCH net-next v3 1/2] dt-bindings: net: dsa: Add KSZ8567 switch support Date: Tue, 30 Jan 2024 09:34:18 +0100 Message-Id: <20240130083419.135763-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: 1789503692047437442 X-GMAIL-MSGID: 1789503692047437442 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 Reviewed-by: Andrew Lunn Reviewed-by: Florian Fainelli --- (no changes since v2) Changes in v2: - Describe in commit message why this is necessary - Add Conor's Acked-by. Thanks! 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: