Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/477528/?format=api
{ "id": 477528, "url": "http://patchwork.ozlabs.org/api/patches/477528/?format=api", "web_url": "http://patchwork.ozlabs.org/project/netdev/patch/1432863742-18427-8-git-send-email-mathieu@codeaurora.org/", "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": "<1432863742-18427-8-git-send-email-mathieu@codeaurora.org>", "list_archive_url": null, "date": "2015-05-29T01:42:22", "name": "[7/7] Documentation: devicetree: add ar8xxx binding", "commit_ref": null, "pull_url": null, "state": "changes-requested", "archived": true, "hash": "60462b0c8f0d8d60271a62cbf3767714ec350faf", "submitter": { "id": 65737, "url": "http://patchwork.ozlabs.org/api/people/65737/?format=api", "name": "Mathieu Olivari", "email": "mathieu@codeaurora.org" }, "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/1432863742-18427-8-git-send-email-mathieu@codeaurora.org/mbox/", "series": [], "comments": "http://patchwork.ozlabs.org/api/patches/477528/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/477528/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<netdev-owner@vger.kernel.org>", "X-Original-To": "patchwork-incoming@ozlabs.org", "Delivered-To": "patchwork-incoming@ozlabs.org", "Received": [ "from vger.kernel.org (vger.kernel.org [209.132.180.67])\n\tby ozlabs.org (Postfix) with ESMTP id D17D0140E1E\n\tfor <patchwork-incoming@ozlabs.org>;\n\tFri, 29 May 2015 11:44:52 +1000 (AEST)", "(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S1754984AbbE2Bmu (ORCPT <rfc822;patchwork-incoming@ozlabs.org>);\n\tThu, 28 May 2015 21:42:50 -0400", "from smtp.codeaurora.org ([198.145.29.96]:37494 \"EHLO\n\tsmtp.codeaurora.org\" rhost-flags-OK-OK-OK-OK) by vger.kernel.org\n\twith ESMTP id S1754759AbbE2Bmf (ORCPT\n\t<rfc822;netdev@vger.kernel.org>); Thu, 28 May 2015 21:42:35 -0400", "from smtp.codeaurora.org (localhost [127.0.0.1])\n\tby smtp.codeaurora.org (Postfix) with ESMTP id 0B930140DBF;\n\tFri, 29 May 2015 01:42:35 +0000 (UTC)", "by smtp.codeaurora.org (Postfix, from userid 486)\n\tid ECBFC140DC6; Fri, 29 May 2015 01:42:34 +0000 (UTC)", "from mathieu-linux.qualcomm.com (qf-scl1nat.qualcomm.com\n\t[207.114.132.30])\n\t(using TLSv1.2 with cipher AES128-SHA256 (128/128 bits))\n\t(No client certificate requested)\n\t(Authenticated sender: mathieu@smtp.codeaurora.org)\n\tby smtp.codeaurora.org (Postfix) with ESMTPSA id 1E320140DBF;\n\tFri, 29 May 2015 01:42:34 +0000 (UTC)" ], "X-Spam-Checker-Version": "SpamAssassin 3.3.1 (2010-03-16) on\n\tpdx-caf-smtp.dmz.codeaurora.org", "X-Spam-Level": "", "X-Spam-Status": "No, score=-2.9 required=2.0 tests=ALL_TRUSTED,BAYES_00\n\tautolearn=ham version=3.3.1", "From": "Mathieu Olivari <mathieu@codeaurora.org>", "To": "robh+dt@kernel.org, pawel.moll@arm.com, mark.rutland@arm.com,\n\tijc+devicetree@hellion.org.uk, galak@codeaurora.org,\n\tdavem@davemloft.net, mathieu@codeaurora.org, andrew@lunn.ch,\n\tf.fainelli@gmail.com, linux@roeck-us.net, gang.chen.5i5j@gmail.com,\n\tjiri@resnulli.us, leitec@staticky.com, fabf@skynet.be,\n\talexander.h.duyck@intel.com, pavel.nakonechny@skitlab.ru,\n\tjoe@perches.com, sfeldma@gmail.com, nbd@openwrt.org, juhosg@openwrt.org", "Cc": "devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,\n\tnetdev@vger.kernel.org", "Subject": "[PATCH 7/7] Documentation: devicetree: add ar8xxx binding", "Date": "Thu, 28 May 2015 18:42:22 -0700", "Message-Id": "<1432863742-18427-8-git-send-email-mathieu@codeaurora.org>", "X-Mailer": "git-send-email 2.1.4", "In-Reply-To": "<1432863742-18427-1-git-send-email-mathieu@codeaurora.org>", "References": "<1432863742-18427-1-git-send-email-mathieu@codeaurora.org>", "X-Virus-Scanned": "ClamAV using ClamSMTP", "Sender": "netdev-owner@vger.kernel.org", "Precedence": "bulk", "List-ID": "<netdev.vger.kernel.org>", "X-Mailing-List": "netdev@vger.kernel.org" }, "content": "Add device-tree binding for ar8xxx switch families.\n\nSigned-off-by: Mathieu Olivari <mathieu@codeaurora.org>\n---\n .../devicetree/bindings/net/dsa/qca-ar8xxx.txt | 70 ++++++++++++++++++++++\n 1 file changed, 70 insertions(+)\n create mode 100644 Documentation/devicetree/bindings/net/dsa/qca-ar8xxx.txt", "diff": "diff --git a/Documentation/devicetree/bindings/net/dsa/qca-ar8xxx.txt b/Documentation/devicetree/bindings/net/dsa/qca-ar8xxx.txt\nnew file mode 100644\nindex 0000000..f4fd3f1\n--- /dev/null\n+++ b/Documentation/devicetree/bindings/net/dsa/qca-ar8xxx.txt\n@@ -0,0 +1,70 @@\n+* Qualcomm Atheros AR8xxx switch family\n+\n+Required properties:\n+\n+- compatible: should be \"qca,ar8xxx\"\n+- dsa,mii-bus: phandle to the MDIO bus controller, see dsa/dsa.txt\n+- dsa,ethernet: phandle to the CPU network interface controller, see dsa/dsa.txt\n+- #size-cells: must be 0\n+- #address-cells: must be 2, see dsa/dsa.txt\n+\n+Subnodes:\n+\n+The integrated switch subnode should be specified according to the binding\n+described in dsa/dsa.txt.\n+\n+Optional properties:\n+\n+- qca,port6-phy-mode: if specified, the driver will configure Port 6 in the\n+ given phy-mode. See Documentation/devicetree/bindings/net/ethernet.txt for\n+ the list of valid phy-mode.\n+\n+- qca,port6-phy-id: if specified, the driver will connect Port 6 to the PHY\n+ given as a parameter. In this case, Port6 and the corresponding PHY will be\n+ isolated from the rest of the switch. From a system perspective, they will\n+ act as a regular PHY.\n+\n+Example:\n+\n+\tdsa@0 {\n+\t\tcompatible = \"qca,ar8xxx\";\n+\t\t#address-cells = <2>;\n+\t\t#size-cells = <0>;\n+\n+\t\tdsa,ethernet = <ðernet0>;\n+\t\tdsa,mii-bus = <&mii_bus0>;\n+\n+\t\tswitch@0 {\n+\t\t\t#address-cells = <1>;\n+\t\t\t#size-cells = <0>;\n+\t\t\treg = <0 0>;\t/* MDIO address 0, switch 0 in tree */\n+\n+\t\t\tqca,port6-phy-mode = \"sgmii\";\n+\t\t\tqca,port6-phy-id = <4>;\n+\n+\t\t\tport@0 {\n+\t\t\t\treg = <11>;\n+\t\t\t\tlabel = \"cpu\";\n+\t\t\t};\n+\n+\t\t\tport@1 {\n+\t\t\t\treg = <0>;\n+\t\t\t\tlabel = \"lan1\";\n+\t\t\t};\n+\n+\t\t\tport@2 {\n+\t\t\t\treg = <1>;\n+\t\t\t\tlabel = \"lan2\";\n+\t\t\t};\n+\n+\t\t\tport@3 {\n+\t\t\t\treg = <2>;\n+\t\t\t\tlabel = \"lan3\";\n+\t\t\t};\n+\n+\t\t\tport@4 {\n+\t\t\t\treg = <3>;\n+\t\t\t\tlabel = \"lan4\";\n+\t\t\t};\n+\t\t};\n+\t};\n", "prefixes": [ "7/7" ] }