Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp813253imm; Thu, 31 May 2018 09:49:18 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKlqGBl2iyZVjAL9n3MkZh3ggH5zSE2bXX9jYpitGhiJe4su+8SOWOUcVlm7JOFO5q0UJLP X-Received: by 2002:a63:7c0b:: with SMTP id x11-v6mr6043887pgc.384.1527785358843; Thu, 31 May 2018 09:49:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527785358; cv=none; d=google.com; s=arc-20160816; b=m2iZ/aE9x3iBurHIkAT2YkZerKrJSN/hm9I2Qw/P9ggl1QJOwIoKBRw9+q/8CJOcE0 eMpyaOSIt66rThYhgbtZwfj3a8n2tyaks0UggX2GMAk4ARfEgUhKfPidh1YAQpE+VHvV BEfEWnLYaVfwOy8wkFwdStoLhQJ8+wfQnJse1h8X0t886afwpYkkyLvmD6oc4qM07bP+ 2YcwdriE7Hr2Qk50jUdXxL82RzVL5ughHIUu42JPF8e4znEip8Mgmjm+XIzXWZib7ZC8 wlWYU9ikHjZuGzP23rNMEQ6nJ4QqegZJ1Urfkqm/Mxws6TjXETWzglUg4bJrXFoVuK/Z N9EQ== 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:arc-authentication-results; bh=NjTMDm//8koyTSjzJHRHjBYhKI0gMoKdVE3gpobvUVg=; b=ibedthDw6/OIfy7pObu9/lbHp//V55i42TFRjSb8wdLZp5KwdbDMwDqHLFI7gvbQ3T 47JDwYGOif0hv95/xpSzTPOwnkxJdYly8w2cxSvm9imTHSgKIV21UbsE3h01x8s39V2S ezW3DmKPHolFdM6FqzHiGZbhu/jyWlzPseATO0eAPLJNrCT1izyiCcaQ88qZFgNIKJLB FpwRpL504u4C+UmHnjC0TVXyazdI4DrLsqnbafNJYVv+kKiKC6O2+QoKUy0AzWd6SIkO why23ANM59wNt3ID7TnqQHjpPwk3B4ieq9KFgVnITydFOyh0kGGDg5p7edoigTYVJpK5 hu9w== 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 f39-v6si36836672plb.572.2018.05.31.09.49.04; Thu, 31 May 2018 09:49:18 -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 S1755638AbeEaQs1 (ORCPT + 99 others); Thu, 31 May 2018 12:48:27 -0400 Received: from mail-pf0-f196.google.com ([209.85.192.196]:45934 "EHLO mail-pf0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755506AbeEaQsX (ORCPT ); Thu, 31 May 2018 12:48:23 -0400 Received: by mail-pf0-f196.google.com with SMTP id c10-v6so11053566pfi.12; Thu, 31 May 2018 09:48:23 -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=NjTMDm//8koyTSjzJHRHjBYhKI0gMoKdVE3gpobvUVg=; b=Qj2OKzloZxW8VcscIvVPNZLdcdD9oQzCElbx3/GR5fwn7wBvgBDJIZ+iJtA0YyLgmI GyyAXvhmPvtco/7eHEe0WyOpEWNuRfO5dwWtKSi2lOVp0JRXFX6PxerhlV3ZjxlKhWt6 np9uwsJGo7b4WQk+M/dZlOPAVHb5+nG3Y0XGMgqwGOfY9XjxZuQxEoPExfJ0nmPPH4YI lUIIncDiA+yZ7BSFeKZTh1DyeLK9ItUL5NT7djcZ6zqsdpjHox6XHpdY/zhuWyz2ZyOy 22UxunKdkM9Ehtjfk4W5/rpDr6erSt1sWqpRsZ1KEThxesLy5EA20YvlKYf31WByv2Xg KNIQ== X-Gm-Message-State: ALKqPwd0jWZZRUPKvmmHqNWjjFK7sdMcqDanwydHPZxtsfJbOCFhiJng D+j3Z0PVAONMsSxGu06pTA== X-Received: by 2002:a63:6b43:: with SMTP id g64-v6mr6077120pgc.337.1527785303060; Thu, 31 May 2018 09:48:23 -0700 (PDT) Received: from localhost (24-223-123-72.static.usa-companies.net. [24.223.123.72]) by smtp.gmail.com with ESMTPSA id 65-v6sm75410981pgj.22.2018.05.31.09.48.21 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 31 May 2018 09:48:22 -0700 (PDT) Date: Thu, 31 May 2018 11:48:20 -0500 From: Rob Herring To: Srinath Mannam Cc: 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 1/3] dt-bindings: thermal: Add binding document for SR thermal Message-ID: <20180531164820.GA23074@rob-hp-laptop> References: <1527486084-4636-1-git-send-email-srinath.mannam@broadcom.com> <1527486084-4636-2-git-send-email-srinath.mannam@broadcom.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1527486084-4636-2-git-send-email-srinath.mannam@broadcom.com> 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 Mon, May 28, 2018 at 11:11:22AM +0530, Srinath Mannam wrote: > From: Pramod Kumar > > Add binding document for supported thermal implementation > in Stingray. > > Signed-off-by: Pramod Kumar > Reviewed-by: Ray Jui > Reviewed-by: Scott Branden > Reviewed-by: Srinath Mannam > --- > .../bindings/thermal/brcm,sr-thermal.txt | 45 ++++++++++++++++++++++ > 1 file changed, 45 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..33f9e11 > --- /dev/null > +++ b/Documentation/devicetree/bindings/thermal/brcm,sr-thermal.txt > @@ -0,0 +1,45 @@ > +* 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. What type of memory is this? > + > +Example: > + tmons { > + compatible = "simple-bus"; > + #address-cells = <1>; > + #size-cells = <1>; > + ranges; > + > + tmon_ihost0: thermal@8f100000 { > + compatible = "brcm,sr-thermal"; > + reg = <0x8f100000 0x4>; > + }; Convince me that you need a node per register. This can all be accomplished with a single node and either a single reg entry or a series of reg entries. > + > + tmon_ihost1: thermal@8f100004 { > + compatible = "brcm,sr-thermal"; > + reg = <0x8f100004 0x4>; > + }; > + > + tmon_ihost2: thermal@8f100008 { > + compatible = "brcm,sr-thermal"; > + reg = <0x8f100008 0x4>; > + }; > + > + tmon_ihost3: thermal@8f10000c { > + compatible = "brcm,sr-thermal"; > + reg = <0x8f10000c 0x4>; > + }; > + > + tmon_crmu: thermal@8f100010 { > + compatible = "brcm,sr-thermal"; > + reg = <0x8f100010 0x4>; > + }; > + > + tmon_nitro: thermal@8f100014 { > + compatible = "brcm,sr-thermal"; > + reg = <0x8f100014 0x4>; > + }; > + }; > -- > 2.7.4 >