From patchwork Wed Aug 21 14:45:44 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: 11107165 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 B123614DE for ; Wed, 21 Aug 2019 14:46:21 +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 867BB206BA for ; Wed, 21 Aug 2019 14:46:21 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="ZpH4k3dk"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=vdorst.com header.i=@vdorst.com header.b="E9uTpccz" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 867BB206BA 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-arm-kernel-bounces+patchwork-linux-arm=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=buJWbLOD9fSjtppNDP/RxyiRA9+/BnSzld9tXPQFPNQ=; b=ZpH4k3dkLHX4lQ yF+PfLf+SCm5csZbfjMOm9m5QQuaMK9o50f1+h1s+G0GXeflTBywANI/ZrvG6yKXyI0Hy2aciOfOe RQF/Sz2W+d7Yi9OS73fO2+DJXaMI1gCXv781ykwBwtd97zPPP1XWCsrIJf7217+Bk4Mk6NebP/5Ap gVuNjyEtFHSsbJuuqJo4xkj5/6pI5CSXKhCMs48feS08YB/jt3/svGzUz+GdZT7gUD4w3cLckb19K MaigdfR28zdFVijpUq2GCML33ZKVxQ+p6pXxju89GGhwg4PkxSP/q+Eg+soLejaeAMzw5EKsux/AE 09dh/E8IweDcUu7JSv6A==; 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 1i0RsS-00085l-Nq; Wed, 21 Aug 2019 14:46:20 +0000 Received: from mx.0dd.nl ([5.2.79.48]) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1i0Rs4-0007kz-C0; Wed, 21 Aug 2019 14:45:58 +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 8F4CD5FB50; Wed, 21 Aug 2019 16:45:55 +0200 (CEST) Authentication-Results: mx.0dd.nl; dkim=pass (2048-bit key) header.d=vdorst.com header.i=@vdorst.com header.b="E9uTpccz"; dkim-atps=neutral Received: from pc-rene.vdorst.com (pc-rene.vdorst.com [192.168.2.125]) by mail.vdorst.com (Postfix) with ESMTPA id 5C1FA1D8290C; Wed, 21 Aug 2019 16:45:55 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 mail.vdorst.com 5C1FA1D8290C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vdorst.com; s=default; t=1566398755; bh=0kUa5Ungc7V6E1VFo+fYEYf+NT1SqygGndKdc6r86I4=; h=From:To:Cc:Subject:Date:From; b=E9uTpcczXg7cXVtzCEz8w79LhJCZuxEZSeYDhgxEZG+UKATbL1KNKHo9D4Qb7IR1k fNQHFH9OLGJMRp/z+DXzHLmxP+hZBGEfVgq5Xk2vtOnPhxeaNEqlirnMi2S8RhGqkw G2ig+n6Omaxn6l6x35EQcxNVlUTl7+Kx3kTBLuwjqBqP+gMvwFFGnUuZkYiq4+nxa9 klgKKAX9LEjaqDQHqoilX6HDQRKcNklHzHOwnWiN57uloC1MsGarJ8wYaxEGmjDayU 0lukPqULmqZRaHM7x6byj1vGiB7FJBT2V4wndidMQVfC5ZPWQ4M97pwuc4SLcbIr8b /CyhDaoa+uVKw== 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 v2 0/3] net: dsa: mt7530: Convert to PHYLINK and add support for port 5 Date: Wed, 21 Aug 2019 16:45:44 +0200 Message-Id: <20190821144547.15113-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-20190821_074556_867199_68C647D6 X-CRM114-Status: UNSURE ( 8.48 ) 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_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_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-BeenThere: linux-arm-kernel@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, =?utf-8?q?Ren=C3=A9_van_Dorst?= , linux-mediatek@lists.infradead.org, John Crispin , linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=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. 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 | 218 ++++++++++ drivers/net/dsa/mt7530.c | 371 +++++++++++++++--- drivers/net/dsa/mt7530.h | 61 ++- 3 files changed, 577 insertions(+), 73 deletions(-) Acked-by: Russell King