Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp2388994imm; Thu, 27 Sep 2018 12:00:45 -0700 (PDT) X-Google-Smtp-Source: ACcGV60EAhbX1NF7sM6mUN2qp21LcR0ziEFngX2bDjXaBYydnA7h52KcAXmNolrWBnnv+zEneeBm X-Received: by 2002:a17:902:d715:: with SMTP id w21-v6mr12188424ply.143.1538074845152; Thu, 27 Sep 2018 12:00:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538074845; cv=none; d=google.com; s=arc-20160816; b=ANV2vKlyTm000vqKyubLDFX8c2cFlcn0CdYrOWPuaiaaNH4T9gxZURwiAGbaqQ8MXN R4IOIYqr7xg5+RNmxWOJznRWsOR3XsD6YdZAHwjs8pVxSCdX8xjKw4YoNKHJW3vpkrJI 3tt9uNTkBTv1idayq1UkS5yBpgKV/a+ZGrmWDFc1HS5+LNpM2nIPWdVT85U/GGrSl+92 Pomcx0f3oNr0aiFtNzLBh6Ol52MZRwqQXUHKvHciv+hUbvImMVW7gYQW29LYjfjvwdUq 7suB22BPbjqIYW2IhqtVaNXZRKzZUDs5iRr3AR6WcDA9tU+9LfzjnrfSi+LDgjhCLm0W Fp4Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=05F9Jxk6N7hR49jNWtj/OQvJWH5h6X95KO/1U8GKvjU=; b=KGPeRNc2V6fNzBGeLWxWIbQutCwt3MuWQ0rco7k4dRSruKpyVs7k/8i7aAzLI9PVUL LyjMFkjDBQB6/ryrvNkKxAlAgJiFCgL/RBSZMVuc8b0xTEpr2MsWQy/hVIHydAOYUZdD Gd1GeT2HocT3sF/4C9H3pAmXIAD+30i/MEg5k0aX8CnFoNzoZ2wG57x+JWy6Bl5fhAJy YleBRYj4gG4/AeS+U4ZvUsInxLNFTwPiubBJogPrejcIr3MZ1ZMoR1aPM++kQ1BlmEwy Z+gBMziTTA5eLhtqwn2PvDtWWITWSBQ1H0lC/QVKyU9s04Y/bZX4zP1eudbzyVJLTfXP TFtA== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h9-v6si2616445plt.258.2018.09.27.12.00.28; Thu, 27 Sep 2018 12:00:45 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728746AbeI1BT0 (ORCPT + 99 others); Thu, 27 Sep 2018 21:19:26 -0400 Received: from mail-oi1-f193.google.com ([209.85.167.193]:38217 "EHLO mail-oi1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727320AbeI1BTZ (ORCPT ); Thu, 27 Sep 2018 21:19:25 -0400 Received: by mail-oi1-f193.google.com with SMTP id u197-v6so3140457oif.5; Thu, 27 Sep 2018 11:59:44 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=05F9Jxk6N7hR49jNWtj/OQvJWH5h6X95KO/1U8GKvjU=; b=JJHFJcl7CT3fxc0ybWSYFa/NVI4uLweUM+5Gxx1sF1o6es4+uCoaG1/jURcUp2XbbZ dlBohha5oZdBI2MGquA2NyRTUK84HQp+dsIVmwpzRztvbzjByAGDRIPaNfkPGXjEm04X vqg32n6pqHd2C2hVaT7f4AYNoB0XwnLPYCcEeIFPgS0Lf3sk4oswpDKhegcqqs0MtJqA dHW0r5cWdQ+oWGtunZdLQZ6DbaVzNz5GYtIvnIpzvflovJA+NuH11+QG6mgtt9asRi6y hQQ6vAScR8+ef2Pk/ULaj6+oZGk0+yHHTVMD4POZ42kFCjsc4bqO7Rogsgy7i9SFxOV6 uJIw== X-Gm-Message-State: ABuFfohq5pU+cfVqSRnx6eRRXlKFLh7MJyLtfJ0QejPy0imcSbtl1oBx vqF5lgxc4Z6trhaRk5UhMg== X-Received: by 2002:aca:7c2:: with SMTP id 185-v6mr3552523oih.31.1538074784370; Thu, 27 Sep 2018 11:59:44 -0700 (PDT) Received: from localhost (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.gmail.com with ESMTPSA id z33-v6sm1075427otz.71.2018.09.27.11.59.43 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 27 Sep 2018 11:59:43 -0700 (PDT) Date: Thu, 27 Sep 2018 13:59:43 -0500 From: Rob Herring To: Scott Branden Cc: Florian Fainelli , Srinath Mannam , 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 Subject: Re: [PATCH v4 1/3] dt-bindings: thermal: Add binding document for SR thermal Message-ID: <20180927185943.GA31385@bogus> References: <1538062603-7490-1-git-send-email-srinath.mannam@broadcom.com> <1538062603-7490-2-git-send-email-srinath.mannam@broadcom.com> <20180927172758.GA17761@bogus> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Sep 27, 2018 at 11:00:33AM -0700, Scott Branden wrote: > > > 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? Perhaps. I wouldn't call it going back to your original, but rather defining a complete binding. Of course, if you don't need different trip points, then again that is just unnecessary bloat. But I can't argue whether you do or don't. Rob