Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp2180660imm; Thu, 27 Sep 2018 08:38:38 -0700 (PDT) X-Google-Smtp-Source: ACcGV613QqcASBF8Pbr9p0lU/PYqLDBplWd20EmVBHAlpa+M3yQZfr7n1USsJabmtISNaaRQ6Hq3 X-Received: by 2002:a63:5f03:: with SMTP id t3-v6mr10940513pgb.68.1538062718639; Thu, 27 Sep 2018 08:38:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538062718; cv=none; d=google.com; s=arc-20160816; b=r1o3NwykRNzQ3nMCZM1IzqIny7jZs3/XLYqCr4Y73mKmNKXJat5u5LJvRAZLxPnhad aUnE5TVLtRPewm5i8lLxCQjsou4ocRjvrmS42wZiusbI0A3h+m8RbNk+E9tbdjLW6vC7 CXDOyo15GAFUN1Q+gOr/Dl57X/utBgyNprNF2JZBFfZdzzkWEp0ydzXnMQ7hTYT1Z+VN oaKPRMNaEsQWr2Qx3NabWrEiRhmXQkWH9iOK8ZAizjHOOeTTtboHLuqEc61Lq7DcqXCI i48TacIAtjdqLgq8Ls5nLzHqGrzVHE0XVkqhBMwwzLpnIhUZP4M3Tw8asmQ6ASfWbWun M4Qw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=UTK2DT4Pd72/8VL2AD/vc7sQ9SeINmjisiHWs3Fn9uM=; b=eSySPYlgENWdvsemG7huzikRnL1YNRDnvyZjrv41WjiPWvPz1HTNwE0DuKaJOHm60f M4jRXI8DIfBPFkFQFN/R8CjBr1cVKQNxGLIzvBnYQZ3unXEmy0n9jcntOdZi3aJywaOw T8t4eMlH0Oh9/4CZFfM4L8wBMS6UVV8s93xCjzVcYc8zTrfpiBuEn9PJEcTLSyXX6fOa uMVcfdvQIBW3VUC/D1E0+eAmcB5WuL2IvPylwCTXRXE2tz+VNKFdoPkiGCfKOUOFa9qv n45Px2j+TIa9KkfQ+OSr/poLQ61S2pIfZ/hSIO44l0n5yO+tRHRzmwk73PX5eOHbXPqR bO+g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@broadcom.com header.s=google header.b=D7Bt4B6q; 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 h9-v6si2344210pfh.240.2018.09.27.08.38.17; Thu, 27 Sep 2018 08:38:38 -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=D7Bt4B6q; 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 S1727767AbeI0V4y (ORCPT + 99 others); Thu, 27 Sep 2018 17:56:54 -0400 Received: from mail-wr1-f67.google.com ([209.85.221.67]:40923 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727282AbeI0V4x (ORCPT ); Thu, 27 Sep 2018 17:56:53 -0400 Received: by mail-wr1-f67.google.com with SMTP id y8-v6so3130708wrh.7 for ; Thu, 27 Sep 2018 08:38:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=UTK2DT4Pd72/8VL2AD/vc7sQ9SeINmjisiHWs3Fn9uM=; b=D7Bt4B6qnQ+6dBXfv4w9qdLKwxM7Ctz0jnV8w1G48f9d1PorFSVOCjyfKgY6YVbi0A FgIu+rXlJBol0WNGuGQ7FQsnbM/IP22b8/N/m41jC1irNNHh1QyML9VbKhXgxnYj5pmW ZIHkIR44LeMg6T7sAwZFV+JS3hSbdDyRktR7w= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=UTK2DT4Pd72/8VL2AD/vc7sQ9SeINmjisiHWs3Fn9uM=; b=mGUwZYPBsknvDaawsCtArNvC3lwErSrCuprH323EsHyhyx8zq18Q0MAITxVcr5wCLj Lnv4He+XRcOpYk9clhoiPTyNcV2E/JfWvrID0mjgj0Is3d4lOgtkNCzQnAUmvKAI7Wtk IFQIW+YXuVTc3WQw+kvDEVuhtAh/GJ7hG41K5VFzN8WYdVWskaH1IxS5ASiZZGfEAFIi S4SQMQic9AXuEpi4rorly1mYHoV0LHrV5ENyHU74McN4+EitD5mcrB6B3p3pPcdrfiq+ 66UNBMoJGWCB+O797hoJAdWXlE7OR14n/p5FxOkMFw9HR7F57VHLqkOskFYVDzII6YWb ir3g== X-Gm-Message-State: ABuFfogy52e4tyh5FrF+8A1b0dPoP5u+NG9G8HAbHs0Qx69A6ayV4sYd rZl7F2DW/nDioEJSvOehzeNGpQ== X-Received: by 2002:a05:6000:1187:: with SMTP id g7mr9560452wrx.173.1538062683206; Thu, 27 Sep 2018 08:38:03 -0700 (PDT) Received: from mannams-OptiPlex-7010.dhcp.broadcom.net ([192.19.234.250]) by smtp.gmail.com with ESMTPSA id p11-v6sm2520033wrd.74.2018.09.27.08.37.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 27 Sep 2018 08:38:02 -0700 (PDT) From: Srinath Mannam To: daniel.lezcano@linaro.org, Zhang Rui , Eduardo Valentin , Rob Herring , Mark Rutland Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com, Pramod Kumar , Srinath Mannam Subject: [PATCH v4 1/3] dt-bindings: thermal: Add binding document for SR thermal Date: Thu, 27 Sep 2018 21:06:41 +0530 Message-Id: <1538062603-7490-2-git-send-email-srinath.mannam@broadcom.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1538062603-7490-1-git-send-email-srinath.mannam@broadcom.com> References: <1538062603-7490-1-git-send-email-srinath.mannam@broadcom.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. + +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