Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp2332440imm; Thu, 27 Sep 2018 11:02:09 -0700 (PDT) X-Google-Smtp-Source: ACcGV62l/E/kU3qUzrM/zge1KGgJYgPOfhXrkXao6i+Gvcn+viYA76L3PPfmDqq8aAZF1gtzgWuU X-Received: by 2002:a17:902:7246:: with SMTP id c6-v6mr12433806pll.304.1538071329879; Thu, 27 Sep 2018 11:02:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538071329; cv=none; d=google.com; s=arc-20160816; b=Pk/1qnkVe9s6kNOVH1J6A//c3DNI6V0k3D776+EC2uUC2564L/uaE+AjTj+X8do0kn N4BCeVWga/ZMbB+5zv4O8U42Z32tqkCjMyY2zp5y/yyrod6TOEQFSvREjpjGFWoU82yR mgwTE4wxvXtmcgm/8yucr5I7bwZnSBYOZYLYMJMpog2b7tdJlPLE03LHI4/s1OSyqSlT KhhWxMjeIG62pdlpteJdsigLPtGRI7ZQkZT68uCSI2+MOH64XwZNk1ky5xO7dZkEHYCy RJCDsH26cZLNPB1PRDEU7ekZN2LelHpsY9JyG5rdYZn0+S/J6QC3Y4DiqCMC2MgZwzGh 7YtQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=n3ktsnD+yok69VnSyFU16j3H/ZpzQu/cKDfNwOD/jjk=; b=L8+1F1S1wcxpjs8m2wGUYDPJwhMht6Dh7LfCpO8Zm5jcyV95Bdq0NTFlqHbH306AQC Hhh7z0sOQLIcoehexjGT3AReBd7cED9hbLdYSV0P/DRO0n2iqgHn643r+AJ6qcbvQsoO Ekbff0F5Srysw/71+/sfUbOVZsW6sKArXaRS1s/z8YNDl3WT8xrFEL/nGNZK01a0MEMK rYLkk7xIgl4JKe3WRffsK5hK2en5llb62Ihjdw28wQ7/rzQjr21EN2frxu/Aoese0/OP x3BuYg8CCAS+ylRISeNW8mk3dItDmWVzqyurLO+GeRqQUs14u/EneD4k12Oo2LfibZ0O 8PKg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@broadcom.com header.s=google header.b=L5dA4XKH; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h185-v6si2370259pge.275.2018.09.27.11.01.38; Thu, 27 Sep 2018 11:02:09 -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=@broadcom.com header.s=google header.b=L5dA4XKH; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728768AbeI1AUf (ORCPT + 99 others); Thu, 27 Sep 2018 20:20:35 -0400 Received: from mail-ed1-f67.google.com ([209.85.208.67]:41385 "EHLO mail-ed1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727621AbeI1AUe (ORCPT ); Thu, 27 Sep 2018 20:20:34 -0400 Received: by mail-ed1-f67.google.com with SMTP id f38-v6so5853822edd.8 for ; Thu, 27 Sep 2018 11:01:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding:content-language; bh=n3ktsnD+yok69VnSyFU16j3H/ZpzQu/cKDfNwOD/jjk=; b=L5dA4XKHOBofkJGfn7HJJ0rWi9hwX9VEEFFI7x4t3uOi/2od+dyrKXvcNcTEHfU4lM 9uwJINri+LNat5XPBR8nycrwDOoQYypcGV3OWnoCPCRWSJymvP69Jy3V0ohpotVOfMZs 3J5okCT4UPjVmr9XXMd8s6LomVUuujkfYwepo= 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:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=n3ktsnD+yok69VnSyFU16j3H/ZpzQu/cKDfNwOD/jjk=; b=f8ZKvcxFtAN3Mp5PzEyrCZs5mxyBiYwvq3TAeg0zmZKVniI4MIHFY2btt1Q1MGPy6Y Dpx7XcD/Anj1KBYzv0NJcgUkcfk5S0ArM/+tdntxCD6nBeFFiPpJRvdKqCE8dT+kI4SG sEnrCBhbPSvFQyflcBXDgM/07koaNOSRXdOqT9p9FUYMmA1/acgl7bMz0nLhnlMhbtBv SePx2xn8kN8P3IG4yyeh2VbbM3STo2d97WC2GAq05ea25IiQG5VI8ktzmTiMybtvRON3 kITzPMLGYpNlsg8S6Q0UfVNme1Gc2VzJ0SIhyCofL8zH1KhsUCV1f7EihfbrEHr/mEaY 0MVw== X-Gm-Message-State: ABuFfogf3cDfxH/eNVV8iaJULENsVemTCvh0GK87jVB8maTho6MfYM4l j5Uz6FbJp0upDoNC/MAlmjQWKw== X-Received: by 2002:a50:aed4:: with SMTP id f20-v6mr19231643edd.271.1538071266964; Thu, 27 Sep 2018 11:01:06 -0700 (PDT) Received: from [10.136.13.65] ([192.19.228.250]) by smtp.gmail.com with ESMTPSA id k5-v6sm209554eja.44.2018.09.27.11.01.02 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 27 Sep 2018 11:01:05 -0700 (PDT) Subject: Re: [PATCH v4 1/3] dt-bindings: thermal: Add binding document for SR thermal To: Florian Fainelli , 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: Scott Branden Message-ID: Date: Thu, 27 Sep 2018 11:00:33 -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: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 18-09-27 10:31 AM, Florian Fainelli wrote: > 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. Which may be a good reason to go back to our original bindings which were generic and had each sensor in its own node? >>> + >>> +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 >>> >