From patchwork Mon Sep 2 13:02:23 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Ren=C3=A9_van_Dorst?= X-Patchwork-Id: 11126649 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 7EB071398 for ; Mon, 2 Sep 2019 13:02:58 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 5C08C2168B for ; Mon, 2 Sep 2019 13:02:58 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="XkamEoqr"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=vdorst.com header.i=@vdorst.com header.b="sO1B5De6" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 5C08C2168B Authentication-Results: mail.kernel.org; dmarc=fail (p=reject dis=none) header.from=vdorst.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-mediatek-bounces+patchwork-linux-mediatek=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=hvzpoArULC0/PQRt5pG5lY5lLJ4XqC5nPNwiE1nXA+4=; b=XkamEoqrnooeyv UnbJhGIc8VB9SR6q5HSZS5oCBJvzyP+JClcdlzKYNgoY26fCzxBOqfGqFKef45vER3HXUV5TaqqVh pXMxuHemnGMgf5oZjxT/NI+K77daqQhlCSqzULHq2aTueIn5OOo3sXPsS9oafpSibEYmJr4vhZzMu eROOlpNeec2fIg4r69RSIJnFHUrTHBeFsABKtP76Ki2jXdx3lGJHvqQAkzlkh+Zqrx8Kyvze1l+eH Rxq74tnMawezDWPmBQCYFB2LukhU+J/hANN/4o2F8HXLRV6DBMAPEdHaasSzYQStE1szG51AT5xPd eh2Vf27eRuc41+HlP7fw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1i4lyz-0000MD-GG; Mon, 02 Sep 2019 13:02:57 +0000 Received: from mx.0dd.nl ([2a04:52c0:101:921::25]) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1i4lyk-00005F-4e; Mon, 02 Sep 2019 13:02:43 +0000 Received: from mail.vdorst.com (mail.vdorst.com [IPv6:fd01::250]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx.0dd.nl (Postfix) with ESMTPS id 6B3175FA49; Mon, 2 Sep 2019 15:02:35 +0200 (CEST) Authentication-Results: mx.0dd.nl; dkim=pass (2048-bit key; secure) header.d=vdorst.com header.i=@vdorst.com header.b="sO1B5De6"; dkim-atps=neutral Received: from pc-rene.vdorst.com (pc-rene.vdorst.com [192.168.2.232]) by mail.vdorst.com (Postfix) with ESMTPA id 288291DB4019; Mon, 2 Sep 2019 15:02:35 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 mail.vdorst.com 288291DB4019 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vdorst.com; s=default; t=1567429355; bh=Cu2l4plbvHJDGjWeI5n0FmhZk+4i5/ZcSrC/B/TwPy0=; h=From:To:Cc:Subject:Date:From; b=sO1B5De6OkKQ2VqYZrXXypkJiyHV2jaXuU3g7M3IMb6ld+qgE+TAPmi2B4J79VXC4 fMvzQdmYIpRQVtLfeXMD/59J10Tins4qCU9iaZ8xW6BAShu0IbxzCa8PNa9aZVAZoa C1zR/i/Wb7lMQXkxZaRJdeBrZkjwHxfqwwFl/iB11D/KQ6ow1+sGf9RqHAdxqb3jWB NyynqM+nsbLdPvxXIqD+IutcliAI4JlbR+qfRzer5GyiMlCedGB09tn97pFowvv3r0 fkOAtBEcQLy//FYVD6BaI3B35moxtglmtXwmk4cdOst2bHGso+U7tAzHjaMghfaHiH FD78PYuLlYWJw== From: =?utf-8?q?Ren=C3=A9_van_Dorst?= To: Sean Wang , Andrew Lunn , Vivien Didelot , Florian Fainelli , "David S . Miller" , Matthias Brugger Subject: [PATCH net-next v3 0/3] net: dsa: mt7530: Convert to PHYLINK and add support for port 5 Date: Mon, 2 Sep 2019 15:02:23 +0200 Message-Id: <20190902130226.26845-1-opensource@vdorst.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190902_060242_321564_F696F317 X-CRM114-Status: UNSURE ( 9.30 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Frank Wunderlich , netdev@vger.kernel.org, linux-mips@vger.kernel.org, Russell King , =?utf-8?q?Ren=C3=A9_van_Dorst?= , linux-mediatek@lists.infradead.org, John Crispin , linux-arm-kernel@lists.infradead.org Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+patchwork-linux-mediatek=patchwork.kernel.org@lists.infradead.org 1. net: dsa: mt7530: Convert to PHYLINK API This patch converts mt7530 to PHYLINK API. 2. dt-bindings: net: dsa: mt7530: Add support for port 5 3. net: dsa: mt7530: Add support for port 5 These 2 patches adding support for port 5 of the switch. v2->v3: * Removed 'status = "okay"' lines in patch #2 * Change a port 5 setup message in a debug message in patch #3 * Added ack-by and tested-by tags v1->v2: * Mostly phylink improvements after review. rfc -> v1: * Mostly phylink improvements after review. * Drop phy isolation patches. Adds no value for now. René van Dorst (3): net: dsa: mt7530: Convert to PHYLINK API dt-bindings: net: dsa: mt7530: Add support for port 5 net: dsa: mt7530: Add support for port 5 .../devicetree/bindings/net/dsa/mt7530.txt | 214 ++++++++++ drivers/net/dsa/mt7530.c | 371 +++++++++++++++--- drivers/net/dsa/mt7530.h | 61 ++- 3 files changed, 573 insertions(+), 73 deletions(-)