Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp2300140imm; Thu, 27 Sep 2018 10:29:00 -0700 (PDT) X-Google-Smtp-Source: ACcGV63aZzDbD7U9xuTcJqHYHnb611YRaZ5MtneaTLvWzgUXgmiH5q6xMFNce7Ip027mWsvTcefW X-Received: by 2002:a63:1d3:: with SMTP id 202-v6mr11347375pgb.136.1538069340698; Thu, 27 Sep 2018 10:29:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538069340; cv=none; d=google.com; s=arc-20160816; b=TkEpWyfvQO+Eb1HnnAjyGc9O4Ajk4H10Kuu9lK7a3JjHIBOqRvdFpAjYKjcpNByPLI XpuBSHJdAgfXLZM2DVZk64AogdR5AYb+CuAM+EFfSa1YZwXeJWok9PM3UcUPJtofDypS DA2BuKwNkgcEXxKSdhjRniVSzg+UVkdysYyfbbcjGyQ1wjJmvh2n4npgk9y347R/pdhx mzRcOD/v+XKNDPvvQfbsF+w14/aobIN6G36u9OgMq67xosc9RNfHzWrYqK+Fou8k/+ek Vpa1g24cNga1L5i2Aud70d8W2KdOL5C6yIW0Llp24mESmSxkz6NaG7M1NSRZ8ChKVi5N hz4g== 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=FYY3458sE/UBFJhUUUgVYbRPpyDuhfLmE2RJENc6+to=; b=KBeNdvhQ6Dz2d3H+daGQirOCSdHZhKnupsdgdMdqLLmDbqPsijLPm0oADDk/+/CwZr c7XkjG/9LmL+xUrgc2JmIx0o4bXzgsYYJnqn9aR/aMtPU07OK9ZqclRb2RQfRUH3sR5b FGUDUpznA3St5/zdNHmz2t7/vRMcUwdgwCuI3vRZG0VhCkhofmrJRqxZOonVaYKV2E2o caPjNYmux7eNvasKB7F433qF9L6zIuGrVkoTjIIHN+nbIhIli0rjQBqtPX8AzWWaqpws D6XiCGOkEy1qu3lQANjXbs2uQigOHWtbv/0FNmUlg4Og3ygJT7HJk8+1zVe/GRCk3aH/ bRXQ== 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 q2-v6si2532311plh.283.2018.09.27.10.28.40; Thu, 27 Sep 2018 10:29:00 -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 S1728195AbeI0XrT (ORCPT + 99 others); Thu, 27 Sep 2018 19:47:19 -0400 Received: from mail-ot1-f67.google.com ([209.85.210.67]:38525 "EHLO mail-ot1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727223AbeI0XrT (ORCPT ); Thu, 27 Sep 2018 19:47:19 -0400 Received: by mail-ot1-f67.google.com with SMTP id h15-v6so3357715otj.5; Thu, 27 Sep 2018 10:28:00 -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=FYY3458sE/UBFJhUUUgVYbRPpyDuhfLmE2RJENc6+to=; b=RiYddMpkKXbpIFOPQfciCCwUvx6ahnRhU2CcTO9XHciktLvXj9l+0+7/ClEgOy9GR+ VSqheIZ0gG0689FLdazip+cmfrQGCBS/OLw7M3JiMEBFd59Z3pjrFdMyi3jjTE1eF0bh hwft/0c0+ycjqukd+W+LYZTdypCDQSdkbLMEMIG6klo0u/Jx4Yu47e7BfWhmMdezjVvi ySrwUd7liyX1kemV4nCTDBXe8+8jqYeOUVsj0Po/jpVvkAdA7xX37/luI6wVlzHocbme wB/PUZdkvg6KB1OaDuBG2A4IdPEW6VSC2CB5SL0Gdn5wyUdMPTPKExj98PtenjIIxlwT tcRw== X-Gm-Message-State: ABuFfoh8QR4dVpt2gAcEOYRQBOqKzVQo7aegoa+YBY82DIrMX7nnYrey UhPVXpaUqV2boRwGD6L8gg== X-Received: by 2002:a9d:5b14:: with SMTP id x20-v6mr8083177oth.224.1538069279639; Thu, 27 Sep 2018 10:27:59 -0700 (PDT) Received: from localhost (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.gmail.com with ESMTPSA id m11-v6sm935909otc.18.2018.09.27.10.27.58 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 27 Sep 2018 10:27:59 -0700 (PDT) Date: Thu, 27 Sep 2018 12:27:58 -0500 From: Rob Herring To: 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 Subject: Re: [PATCH v4 1/3] dt-bindings: thermal: Add binding document for SR thermal Message-ID: <20180927172758.GA17761@bogus> References: <1538062603-7490-1-git-send-email-srinath.mannam@broadcom.com> <1538062603-7490-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: <1538062603-7490-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 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. > + > +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 >