{"id":807175,"url":"http://patchwork.ozlabs.org/api/1.0/patches/807175/?format=json","project":{"id":37,"url":"http://patchwork.ozlabs.org/api/1.0/projects/37/?format=json","name":"Devicetree Bindings","link_name":"devicetree-bindings","list_id":"devicetree.vger.kernel.org","list_email":"devicetree@vger.kernel.org","web_url":"","scm_url":"","webscm_url":""},"msgid":"<1504032311-195988-2-git-send-email-vadimp@mellanox.com>","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/1.0/people/69757/?format=json","name":"Vadim Pasternak","email":"vadimp@mellanox.com"},"delegate":null,"mbox":"http://patchwork.ozlabs.org/project/devicetree-bindings/patch/1504032311-195988-2-git-send-email-vadimp@mellanox.com/mbox/","series":[{"id":409,"url":"http://patchwork.ozlabs.org/api/1.0/series/409/?format=json","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/409/mbox/"}],"check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/807175/checks/","tags":{},"headers":{"Return-Path":"<devicetree-owner@vger.kernel.org>","X-Original-To":"incoming-dt@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming-dt@bilbo.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=devicetree-owner@vger.kernel.org; receiver=<UNKNOWN>)","Received":["from vger.kernel.org (vger.kernel.org [209.132.180.67])\n\tby ozlabs.org (Postfix) with ESMTP id 3xhZMQ0fSGz9t3F\n\tfor <incoming-dt@patchwork.ozlabs.org>;\n\tWed, 30 Aug 2017 02:48:18 +1000 (AEST)","(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S1751759AbdH2QsM (ORCPT\n\t<rfc822;incoming-dt@patchwork.ozlabs.org>);\n\tTue, 29 Aug 2017 12:48:12 -0400","from mail-il-dmz.mellanox.com ([193.47.165.129]:34164 \"EHLO\n\tmellanox.co.il\" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org\n\twith ESMTP id S1751677AbdH2QsJ (ORCPT\n\t<rfc822; devicetree@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 mlxsw\n\tthermal 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":"devicetree-owner@vger.kernel.org","Precedence":"bulk","List-ID":"<devicetree.vger.kernel.org>","X-Mailing-List":"devicetree@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"]}