Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp2304943imm; Thu, 27 Sep 2018 10:33:44 -0700 (PDT) X-Google-Smtp-Source: ACcGV60LkDVsRerN9wAAGeA3zRoTWEG6WiA2t0Xa9/FT7oS8rhnCkpjm1N6ojqj9UlbExt+ioD+J X-Received: by 2002:a63:68c7:: with SMTP id d190-v6mr11253450pgc.135.1538069624880; Thu, 27 Sep 2018 10:33:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538069624; cv=none; d=google.com; s=arc-20160816; b=ASUya2d9FWxHKGEqmp4WRdv7LNmy1ddxP1kQNwsXh+ZUhF81SgpwWC9jYHLh2XPrVq vF/g+53ftS4mHQz9AOPDaPcjil7ozeXlEyntZyGCbKbMsbTPPrrq7YClL5afZltKL0xE sbf4wM9Dm5eIJ4G3Of9s/ZlVGiGa8aVGsk1OG4yKj8nc43Rf1aO8HNgBxvt3sMfxNHmB 0jQGE3wCu/9UBLEMT9w6LRR2oqFPP410SWmbHC6yuirtGxQFuKWYGLqTSEZ2lxEpG/BP vqjT+T36vuv6kfyq9weiphILCEfk0XPTCngaT0Wd6pBEbHnSWEtZjNxWv+1SEYHLwbQf T8YQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:autocrypt:openpgp:from:references:cc:to:subject :dkim-signature; bh=OMTtJMhxXR9NVbHNvWG7YYMqd9OA6DI+PT0LHupkNhw=; b=FIqSa0+pYHYZjG1ALmhi2/+Qkir90BkquJ5VO0xD+RLooSOS/6MWdOvOf3a7yG5YaP eoCGz+DzgafGeOzKS8+QLVUGJ0ojsnkZwWrQtaookj/kKf3z1QNqJ74sJc/8357JCQ7j 4UGpEqEYtxhLi5t3zMr00UmQ4bjQA8Sine+JwNVwLJK34pjV3aojVeTMoyZtMzVzT69N gFCyptfC8UaGbmy3rf6X8qL/p3D7qoECp6fkxgS+QSgmR26nVTNQUEKKbj2MN1yMHKUG GXqPFGjQTRC0p9oDDwYjJmHPf3UkP1aPfF7zsq09HVKrCRTVLAMkwrFfPgFKpstudfKK zRpQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=JxZvokNP; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d4-v6si2390599pgt.687.2018.09.27.10.33.20; Thu, 27 Sep 2018 10:33:44 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=JxZvokNP; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728411AbeI0Xus (ORCPT + 99 others); Thu, 27 Sep 2018 19:50:48 -0400 Received: from mail-ed1-f67.google.com ([209.85.208.67]:42309 "EHLO mail-ed1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727870AbeI0Xur (ORCPT ); Thu, 27 Sep 2018 19:50:47 -0400 Received: by mail-ed1-f67.google.com with SMTP id b20-v6so5772618edr.9; Thu, 27 Sep 2018 10:31:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:openpgp:autocrypt:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=OMTtJMhxXR9NVbHNvWG7YYMqd9OA6DI+PT0LHupkNhw=; b=JxZvokNP/OVJzO1q2mhoBHcLcPG00qrdxdkZInge0pTnSjdiIbI0ejtRGZGuW+ub/h aMAt0nr4gXVYVRdP2wGaxZuB2MIB2xm6NOT17Fv7SP39tPg1JAUU4s1zyHlcfY9A4fCm 4CT9sNRF9AudMsU8voTdhO2lGEPL0U34gIx5FkJQXNX1ZyBLrzG0nj1Y01XZu5xNoYCv ge4hTsdB3mPlEBhKMJG5fT2CDpKcIp+zvgl0f0eIwaMT5Bg8NXBQnu8OZcIqNJlFKou+ 1HBVJ/p2Q6ZaVS9h1k9cwtPdx73eh1uPtYx5iY+TV5YJbf5i1c5sUkWQdDPOlbvWXeDB 5sJg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:openpgp:autocrypt :message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=OMTtJMhxXR9NVbHNvWG7YYMqd9OA6DI+PT0LHupkNhw=; b=B4VmdIvvgxrEjGmPWM14IUxkj8oN0lAWQEkYsr8A+QtJyhrJG3p8U/1veXP9ehn7Ke AG5N1YnQ9/4FY3BIE7IAbY9elTStcbEg/Bglwegurtfgj4nsLb2jM0fIi6ONOVq73tg/ eTeZtQobpIBpSl192AI8729B4jT03yobLVjkPCrjkC5gW045s+ojg2tpqQh6/757MecH KxP5QuMXjIwllRLcls6kOGkS1HMvPdISiUnQmMKJ7fLDBzspzKztHPWQHGH3EAZkEiRr 5HH+LO+8EYWu6nF8/+5lZAiB5WcMVv5PjKyshB/LVor3F5qC2YkLzYYTS42BwkNZpDgu Op1w== X-Gm-Message-State: ABuFfoj9zw2lStDakb2BQybaf8y0BLFrJSVqSzt1gl02iU0d573Pdwd3 JbGgWXZo6sj3ELhVoms47TU= X-Received: by 2002:a17:906:6ad4:: with SMTP id q20-v6mr3086066ejs.235.1538069485481; Thu, 27 Sep 2018 10:31:25 -0700 (PDT) Received: from [10.67.50.87] ([192.19.223.250]) by smtp.googlemail.com with ESMTPSA id a16-v6sm191061ejv.65.2018.09.27.10.31.22 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 27 Sep 2018 10:31:24 -0700 (PDT) Subject: Re: [PATCH v4 1/3] dt-bindings: thermal: Add binding document for SR thermal To: Rob Herring , Srinath Mannam Cc: daniel.lezcano@linaro.org, Zhang Rui , Eduardo Valentin , Mark Rutland , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com, Pramod Kumar References: <1538062603-7490-1-git-send-email-srinath.mannam@broadcom.com> <1538062603-7490-2-git-send-email-srinath.mannam@broadcom.com> <20180927172758.GA17761@bogus> From: Florian Fainelli Openpgp: preference=signencrypt Autocrypt: addr=f.fainelli@gmail.com; prefer-encrypt=mutual; keydata= xsDiBEjPuBIRBACW9MxSJU9fvEOCTnRNqG/13rAGsj+vJqontvoDSNxRgmafP8d3nesnqPyR xGlkaOSDuu09rxuW+69Y2f1TzjFuGpBk4ysWOR85O2Nx8AJ6fYGCoeTbovrNlGT1M9obSFGQ X3IzRnWoqlfudjTO5TKoqkbOgpYqIo5n1QbEjCCwCwCg3DOH/4ug2AUUlcIT9/l3pGvoRJ0E AICDzi3l7pmC5IWn2n1mvP5247urtHFs/uusE827DDj3K8Upn2vYiOFMBhGsxAk6YKV6IP0d ZdWX6fqkJJlu9cSDvWtO1hXeHIfQIE/xcqvlRH783KrihLcsmnBqOiS6rJDO2x1eAgC8meAX SAgsrBhcgGl2Rl5gh/jkeA5ykwbxA/9u1eEuL70Qzt5APJmqVXR+kWvrqdBVPoUNy/tQ8mYc nzJJ63ng3tHhnwHXZOu8hL4nqwlYHRa9eeglXYhBqja4ZvIvCEqSmEukfivk+DlIgVoOAJbh qIWgvr3SIEuR6ayY3f5j0f2ejUMYlYYnKdiHXFlF9uXm1ELrb0YX4G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/gyyx3nbL/lVlHbxr4tb6YkhkO6shjXhQh7nQb33FjGO4P WU11Nr9i/qoV8QCo12MQEo244RRA6VMud06y/E449rWZFSTwGqb0FS0seTcYNvxt8PB2izX+ HZA8SL54j479ubxhfuoTu5nXdtFYFj5Lj5x34LKPx7MpgAmj0H7SDhpFWF2FzcC1bjiW9mjW HaKaX23Awt97AqQZXegbfkJwX2Y53ufq8Np3e1542lh3/mpiGSilCsaTahEGrHK+lIusl6mz Joil+u3k01ofvJMK0ZdzGUZ/aPMZ16LofjFA+MNxWrZFrkYmiGdv+LG45zSlZyIvzSiG2lKy kuVag+IijCIom78P9jRtB1q1Q5lwZp2TLAJlz92DmFwBg1hyFzwDADjZ2nrDxKUiybXIgZp9 aU2d++ptEGCVJOfEW4qpWCCLPbOT7XBr+g/4H3qWbs3j/cDDq7LuVYIe+wchy/iXEJaQVeTC y5arMQorqTFWlEOgRA8OP47L9knl9i4xuR0euV6DChDrguup2aJVU8JPBBgRAgAPAhsMBQJU X9LxBQkeXB3fAAoJEGFXmRW1Y3YOj4UAn3nrFLPZekMeqX5aD/aq/dsbXSfyAKC45Go0YyxV HGuUuzv+GKZ6nsysJw== Message-ID: Date: Thu, 27 Sep 2018 10:31:16 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <20180927172758.GA17761@bogus> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 09/27/2018 10:27 AM, Rob Herring wrote: > On Thu, Sep 27, 2018 at 09:06:41PM +0530, Srinath Mannam wrote: >> From: Pramod Kumar >> >> Add binding document for supported thermal implementation >> in Stingray. >> >> Signed-off-by: Pramod Kumar >> Signed-off-by: Srinath Mannam >> Reviewed-by: Ray Jui >> Reviewed-by: Scott Branden >> --- >> .../bindings/thermal/brcm,sr-thermal.txt | 25 ++++++++++++++++++++++ >> 1 file changed, 25 insertions(+) >> create mode 100644 Documentation/devicetree/bindings/thermal/brcm,sr-thermal.txt >> >> diff --git a/Documentation/devicetree/bindings/thermal/brcm,sr-thermal.txt b/Documentation/devicetree/bindings/thermal/brcm,sr-thermal.txt >> new file mode 100644 >> index 0000000..717617b >> --- /dev/null >> +++ b/Documentation/devicetree/bindings/thermal/brcm,sr-thermal.txt >> @@ -0,0 +1,25 @@ >> +* Broadcom Stingray Thermal >> + >> +This binding describes thermal sensors that is part of Stingray SoCs. >> + >> +Required properties: >> +- compatible : Must be "brcm,sr-thermal" >> +- reg : memory where tmon data will be available. >> +- brcm,tmon-mask: A one cell bit mask of valid TMON sources. >> + Each bit represents single TMON source. >> +- brcm,max-crit-temp: Maximum supported critical temperature. > > We already have a defined binding for setting trip points. Indeed, and if you have multiple TMONs, they would in premise possibly each have a different critical trip point. > >> + >> +Example: >> + tmons { >> + compatible = "simple-bus"; >> + #address-cells = <1>; >> + #size-cells = <1>; >> + ranges = <0x0 0x0 0x8f100000 0x100>; >> + >> + tmon: thermal@0 { >> + compatible = "brcm,sr-thermal"; >> + reg = <0 0x40>; >> + brcm,tmon-mask = <0x3f>; >> + brcm,max-crit-temp = <105000>; >> + }; >> + }; >> -- >> 2.7.4 >> -- Florian