Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/1206956/?format=api
{ "id": 1206956, "url": "http://patchwork.ozlabs.org/api/patches/1206956/?format=api", "web_url": "http://patchwork.ozlabs.org/project/netdev/patch/7f5a690281664a0fe47cfe7726f26d7f6211d015.1575914275.git.landen.chao@mediatek.com/", "project": { "id": 7, "url": "http://patchwork.ozlabs.org/api/projects/7/?format=api", "name": "Linux network development", "link_name": "netdev", "list_id": "netdev.vger.kernel.org", "list_email": "netdev@vger.kernel.org", "web_url": null, "scm_url": null, "webscm_url": null, "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<7f5a690281664a0fe47cfe7726f26d7f6211d015.1575914275.git.landen.chao@mediatek.com>", "list_archive_url": null, "date": "2019-12-10T08:14:41", "name": "[net-next,5/6] arm64: dts: mt7622: add mt7531 dsa to mt7622-rfb1 board", "commit_ref": null, "pull_url": null, "state": "changes-requested", "archived": false, "hash": "ca99bd079696c94c693c3a908e248baf5655b411", "submitter": { "id": 78098, "url": "http://patchwork.ozlabs.org/api/people/78098/?format=api", "name": "Landen Chao", "email": "landen.chao@mediatek.com" }, "delegate": { "id": 34, "url": "http://patchwork.ozlabs.org/api/users/34/?format=api", "username": "davem", "first_name": "David", "last_name": "Miller", "email": "davem@davemloft.net" }, "mbox": "http://patchwork.ozlabs.org/project/netdev/patch/7f5a690281664a0fe47cfe7726f26d7f6211d015.1575914275.git.landen.chao@mediatek.com/mbox/", "series": [ { "id": 147499, "url": "http://patchwork.ozlabs.org/api/series/147499/?format=api", "web_url": "http://patchwork.ozlabs.org/project/netdev/list/?series=147499", "date": "2019-12-10T08:14:36", "name": "net-next: dsa: mt7530: add support for MT7531", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/147499/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/1206956/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/1206956/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<netdev-owner@vger.kernel.org>", "X-Original-To": "patchwork-incoming-netdev@ozlabs.org", "Delivered-To": "patchwork-incoming-netdev@ozlabs.org", "Authentication-Results": [ "ozlabs.org; spf=none (no SPF record)\n\tsmtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67;\n\thelo=vger.kernel.org;\n\tenvelope-from=netdev-owner@vger.kernel.org;\n\treceiver=<UNKNOWN>)", "ozlabs.org; dmarc=pass (p=none dis=none)\n\theader.from=mediatek.com", "ozlabs.org; dkim=pass (1024-bit key;\n\tunprotected) header.d=mediatek.com header.i=@mediatek.com\n\theader.b=\"qh6EOuOd\"; dkim-atps=neutral" ], "Received": [ "from vger.kernel.org (vger.kernel.org [209.132.180.67])\n\tby ozlabs.org (Postfix) with ESMTP id 47XCXn5bb5z9sR7\n\tfor <patchwork-incoming-netdev@ozlabs.org>;\n\tTue, 10 Dec 2019 19:15:05 +1100 (AEDT)", "(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S1727231AbfLJIPE (ORCPT\n\t<rfc822;patchwork-incoming-netdev@ozlabs.org>);\n\tTue, 10 Dec 2019 03:15:04 -0500", "from mailgw02.mediatek.com ([210.61.82.184]:45567 \"EHLO\n\tmailgw02.mediatek.com\" rhost-flags-OK-FAIL-OK-FAIL) by\n\tvger.kernel.org with ESMTP id S1726777AbfLJIPD (ORCPT\n\t<rfc822;netdev@vger.kernel.org>); Tue, 10 Dec 2019 03:15:03 -0500", "from mtkcas07.mediatek.inc [(172.21.101.84)] by\n\tmailgw02.mediatek.com (envelope-from <landen.chao@mediatek.com>)\n\t(Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS)\n\twith ESMTP id 586429920; Tue, 10 Dec 2019 16:14:47 +0800", "from mtkcas08.mediatek.inc (172.21.101.126) by\n\tmtkmbs07n1.mediatek.inc (172.21.101.16) with Microsoft SMTP Server\n\t(TLS) id 15.0.1395.4; Tue, 10 Dec 2019 16:14:38 +0800", "from mtksdccf07.mediatek.inc (172.21.84.99) by\n\tmtkcas08.mediatek.inc\n\t(172.21.101.73) with Microsoft SMTP Server id 15.0.1395.4 via\n\tFrontend Transport; Tue, 10 Dec 2019 16:14:27 +0800" ], "X-UUID": [ "140df03a2b0a469f90bbe1f29d7db70a-20191210", "140df03a2b0a469f90bbe1f29d7db70a-20191210" ], "DKIM-Signature": "v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;\n\td=mediatek.com; s=dk; \n\th=Content-Transfer-Encoding:Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:CC:To:From;\n\tbh=ZHw1FyeA3BLUxG4FfGgyMIigBe1oxHthdz5KxHVSl40=; \n\tb=qh6EOuOdbkGBZjdq2zNNSy2AYr6DD/qRcMpGfdVU3+kdK3im10fGUzkO1XNTGiWEEjxO/iIRcxYLeFOZz9kmtiw1w3Ect93n/ZTMhKXieB5VfneB1bS3hZ8AVfmqNsFT7bXVmz5ox+N9RzPRoffqg6gdvLcxg2wKS9WWKrj809g=;", "From": "Landen Chao <landen.chao@mediatek.com>", "To": "<andrew@lunn.ch>, <f.fainelli@gmail.com>,\n\t<vivien.didelot@savoirfairelinux.com>, <matthias.bgg@gmail.com>,\n\t<robh+dt@kernel.org>, <mark.rutland@arm.com>", "CC": "<devicetree@vger.kernel.org>, <netdev@vger.kernel.org>,\n\t<linux-kernel@vger.kernel.org>,\n\t<linux-mediatek@lists.infradead.org>, <davem@davemloft.net>,\n\t<sean.wang@mediatek.com>, <opensource@vdorst.com>,\n\t<frank-w@public-files.de>, Landen Chao <landen.chao@mediatek.com>", "Subject": "[PATCH net-next 5/6] arm64: dts: mt7622: add mt7531 dsa to\n\tmt7622-rfb1 board", "Date": "Tue, 10 Dec 2019 16:14:41 +0800", "Message-ID": "<7f5a690281664a0fe47cfe7726f26d7f6211d015.1575914275.git.landen.chao@mediatek.com>", "X-Mailer": "git-send-email 2.18.0", "In-Reply-To": "<cover.1575914275.git.landen.chao@mediatek.com>", "References": "<cover.1575914275.git.landen.chao@mediatek.com>", "MIME-Version": "1.0", "Content-Type": "text/plain", "X-MTK": "N", "Content-Transfer-Encoding": "base64", "Sender": "netdev-owner@vger.kernel.org", "Precedence": "bulk", "List-ID": "<netdev.vger.kernel.org>", "X-Mailing-List": "netdev@vger.kernel.org" }, "content": "Add mt7531 dsa to mt7622-rfb1 board for 5 giga Ethernet ports support.\nmt7622 only supports 1 sgmii interface, so either gmac0 or gmac1 can be\nconfigured as sgmii interface. In this patch, change to connet mt7622\ngmac0 and mt7531 port6 through sgmii interface.\n\nSigned-off-by: Landen Chao <landen.chao@mediatek.com>\n---\n arch/arm64/boot/dts/mediatek/mt7622-rfb1.dts | 63 ++++++++++++++++++--\n 1 file changed, 57 insertions(+), 6 deletions(-)", "diff": "diff --git a/arch/arm64/boot/dts/mediatek/mt7622-rfb1.dts b/arch/arm64/boot/dts/mediatek/mt7622-rfb1.dts\r\nindex 3f783348c66a..e509b0c2fe79 100644\r\n--- a/arch/arm64/boot/dts/mediatek/mt7622-rfb1.dts\r\n+++ b/arch/arm64/boot/dts/mediatek/mt7622-rfb1.dts\r\n@@ -105,20 +105,71 @@\r\n \tpinctrl-0 = <ð_pins>;\r\n \tstatus = \"okay\";\r\n \r\n-\tgmac1: mac@1 {\r\n+\tgmac0: mac@0 {\r\n \t\tcompatible = \"mediatek,eth-mac\";\r\n-\t\treg = <1>;\r\n-\t\tphy-handle = <&phy5>;\r\n+\t\treg = <0>;\r\n+\t\tphy-mode = \"2500base-x\";\r\n+\r\n+\t\tfixed-link {\r\n+\t\t\tspeed = <2500>;\r\n+\t\t\tfull-duplex;\r\n+\t\t\tpause;\r\n+\t\t};\r\n \t};\r\n \r\n \tmdio-bus {\r\n \t\t#address-cells = <1>;\r\n \t\t#size-cells = <0>;\r\n \r\n-\t\tphy5: ethernet-phy@5 {\r\n-\t\t\treg = <5>;\r\n-\t\t\tphy-mode = \"sgmii\";\r\n+\t\tswitch@0 {\r\n+\t\t\tcompatible = \"mediatek,mt7531\";\r\n+\t\t\treg = <0>;\r\n+\t\t\treset-gpios = <&pio 54 0>;\r\n+\r\n+\t\t\tports {\r\n+\t\t\t\t#address-cells = <1>;\r\n+\t\t\t\t#size-cells = <0>;\r\n+\r\n+\t\t\t\tport@0 {\r\n+\t\t\t\t\treg = <0>;\r\n+\t\t\t\t\tlabel = \"lan0\";\r\n+\t\t\t\t};\r\n+\r\n+\t\t\t\tport@1 {\r\n+\t\t\t\t\treg = <1>;\r\n+\t\t\t\t\tlabel = \"lan1\";\r\n+\t\t\t\t};\r\n+\r\n+\t\t\t\tport@2 {\r\n+\t\t\t\t\treg = <2>;\r\n+\t\t\t\t\tlabel = \"lan2\";\r\n+\t\t\t\t};\r\n+\r\n+\t\t\t\tport@3 {\r\n+\t\t\t\t\treg = <3>;\r\n+\t\t\t\t\tlabel = \"lan3\";\r\n+\t\t\t\t};\r\n+\r\n+\t\t\t\tport@4 {\r\n+\t\t\t\t\treg = <4>;\r\n+\t\t\t\t\tlabel = \"wan\";\r\n+\t\t\t\t};\r\n+\r\n+\t\t\t\tport@6 {\r\n+\t\t\t\t\treg = <6>;\r\n+\t\t\t\t\tlabel = \"cpu\";\r\n+\t\t\t\t\tethernet = <&gmac0>;\r\n+\t\t\t\t\tphy-mode = \"2500base-x\";\r\n+\r\n+\t\t\t\t\tfixed-link {\r\n+\t\t\t\t\t\tspeed = <2500>;\r\n+\t\t\t\t\t\tfull-duplex;\r\n+\t\t\t\t\t\tpause;\r\n+\t\t\t\t\t};\r\n+\t\t\t\t};\r\n+\t\t\t};\r\n \t\t};\r\n+\r\n \t};\r\n };\r\n \r\n", "prefixes": [ "net-next", "5/6" ] }