Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/807174/?format=api
{ "id": 807174, "url": "http://patchwork.ozlabs.org/api/patches/807174/?format=api", "web_url": "http://patchwork.ozlabs.org/project/netdev/patch/1504032311-195988-2-git-send-email-vadimp@mellanox.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": "<1504032311-195988-2-git-send-email-vadimp@mellanox.com>", "list_archive_url": null, "date": "2017-08-29T18:45:10", "name": "[v1,1/2] dt-bindings: net: add binding documentation for mlxsw thermal control", "commit_ref": null, "pull_url": null, "state": "changes-requested", "archived": true, "hash": "d1faf9d481362116555ae78c636e77f43790deff", "submitter": { "id": 69757, "url": "http://patchwork.ozlabs.org/api/people/69757/?format=api", "name": "Vadim Pasternak", "email": "vadimp@mellanox.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/1504032311-195988-2-git-send-email-vadimp@mellanox.com/mbox/", "series": [ { "id": 408, "url": "http://patchwork.ozlabs.org/api/series/408/?format=api", "web_url": "http://patchwork.ozlabs.org/project/netdev/list/?series=408", "date": "2017-08-29T18:45:10", "name": "add support for the external thermal zone and cooling device binding for Mellanox network devices", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/408/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/807174/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/807174/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<netdev-owner@vger.kernel.org>", "X-Original-To": "patchwork-incoming@ozlabs.org", "Delivered-To": "patchwork-incoming@ozlabs.org", "Authentication-Results": "ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=vger.kernel.org\n\t(client-ip=209.132.180.67; helo=vger.kernel.org;\n\tenvelope-from=netdev-owner@vger.kernel.org;\n\treceiver=<UNKNOWN>)", "Received": [ "from vger.kernel.org (vger.kernel.org [209.132.180.67])\n\tby ozlabs.org (Postfix) with ESMTP id 3xhZMM05Xvz9t38\n\tfor <patchwork-incoming@ozlabs.org>;\n\tWed, 30 Aug 2017 02:48:15 +1000 (AEST)", "(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S1751773AbdH2QsM (ORCPT <rfc822;patchwork-incoming@ozlabs.org>);\n\tTue, 29 Aug 2017 12:48:12 -0400", "from mail-il-dmz.mellanox.com ([193.47.165.129]:34166 \"EHLO\n\tmellanox.co.il\" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org\n\twith ESMTP id S1751706AbdH2QsJ (ORCPT\n\t<rfc822;netdev@vger.kernel.org>); Tue, 29 Aug 2017 12:48:09 -0400", "from Internal Mail-Server by MTLPINE1 (envelope-from\n\tvadimp@mellanox.com)\n\twith ESMTPS (AES256-SHA encrypted); 29 Aug 2017 19:48:04 +0300", "from r-mgtswh-226.mtr.labs.mlnx. (r-mgtswh-226.mtr.labs.mlnx\n\t[10.209.1.51])\n\tby labmailer.mlnx (8.13.8/8.13.8) with ESMTP id v7TGm3G1030696;\n\tTue, 29 Aug 2017 19:48:04 +0300" ], "From": "Vadim Pasternak <vadimp@mellanox.com>", "To": "robh+dt@kernel.org, davem@davemloft.net", "Cc": "jiri@resnulli.us, ivecera@redhat.com, devicetree@vger.kernel.org,\n\tnetdev@vger.kernel.org, Vadim Pasternak <vadimp@mellanox.com>", "Subject": "[patch v1 1/2] dt-bindings: net: add binding documentation for\n\tmlxsw thermal control", "Date": "Tue, 29 Aug 2017 18:45:10 +0000", "Message-Id": "<1504032311-195988-2-git-send-email-vadimp@mellanox.com>", "X-Mailer": "git-send-email 2.1.4", "In-Reply-To": "<1504032311-195988-1-git-send-email-vadimp@mellanox.com>", "References": "<1504032311-195988-1-git-send-email-vadimp@mellanox.com>", "Sender": "netdev-owner@vger.kernel.org", "Precedence": "bulk", "List-ID": "<netdev.vger.kernel.org>", "X-Mailing-List": "netdev@vger.kernel.org" }, "content": "Add binding document for Mellanox switch devices.\n\nSigned-off-by: Vadim Pasternak <vadimp@mellanox.com>\n---\n .../devicetree/bindings/net/mellanox,mlxsw.txt | 46 ++++++++++++++++++++++\n 1 file changed, 46 insertions(+)\n create mode 100644 Documentation/devicetree/bindings/net/mellanox,mlxsw.txt", "diff": "diff --git a/Documentation/devicetree/bindings/net/mellanox,mlxsw.txt b/Documentation/devicetree/bindings/net/mellanox,mlxsw.txt\nnew file mode 100644\nindex 0000000..55de5ff\n--- /dev/null\n+++ b/Documentation/devicetree/bindings/net/mellanox,mlxsw.txt\n@@ -0,0 +1,46 @@\n+Mellanox Technologies Switch ASICs\n+\n+This file provides information, what the device node\n+for the Switch ASIC interface contains.\n+\n+Required properties:\n+- compatible\t\t: \"mellanox,mlxsw_minimal\"\n+- reg\t\t\t: The I2C address of the device.\n+\n+Optional properties:\n+- cooling-phandle\t: phandle of the cooling device, which is to be used\n+\t\t\t for the zone thermal control.\n+\t\t\t If absent, cooling device controlled internally by\n+\t\t\t the ASIC may be used.\n+\n+- trips\t\t\t: the nodes to describe a point in the temperature\n+\t\t\t domain with key temperatures at which cooling is\n+\t\t\t recommended. Each node must contain the next values:\n+\t\t\t - type: the trip type. Expected values are:\n+\t\t\t 0 - a trip point to enable active cooling;\n+\t\t\t 1 - a trip point to enable passive cooling;\n+\t\t\t 2 - a trip point to notify emergency;\n+\t\t\t - temperature: unsigned integer indicating the trip\n+\t\t\t temperature level in millicelsius;\n+\t\t\t - minimum cooling state allowed within the trip node;\n+\t\t\t - maximum cooling state allowed within the trip node;\n+\n+Example:\n+\tasic_thermal: mlxsw_minimal@48 {\n+\t\tcompatible = \"mlxsw_minimal\";\n+\t\treg = <0x48>;\n+\t\tstatus = \"disabled\";\n+\t\tcooling-phandle = <&cooling>;\n+\n+\t\ttrips {\n+\t\t\ttrip@0 {\n+\t\t\t\ttrip = <0 75000 0 0>;\n+\t\t\t};\n+\t\t\ttrip@1 {\n+\t\t\t\ttrip = <2 85000 1 5>;\n+\t\t\t};\n+\t\t\ttrip@3 {\n+\t\t\t\ttrip = <2 105000 5 5>;\n+\t\t\t};\n+\t\t};\n+\t};\n", "prefixes": [ "v1", "1/2" ] }