Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp2006922imm; Thu, 9 Aug 2018 05:56:44 -0700 (PDT) X-Google-Smtp-Source: AA+uWPym8uIQFgzw7XUGwOh5TVIFbnbjOy6xly6sbPusisE5rGp8S18DYzSefTciHO0uD+Gl7IlR X-Received: by 2002:a17:902:14cb:: with SMTP id y11-v6mr1982405plg.317.1533819404413; Thu, 09 Aug 2018 05:56:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533819404; cv=none; d=google.com; s=arc-20160816; b=ie9IbwQrZnbBSWce13ZLZLG6Hrv/81EjN5GACElZYjwaE9RBGa7jI9a8WFr3Goa/rl Xf7aeuXhT/O5/nQcDh2p9Cqtcfm2eZXpsb3V/5KzaaRsIaZT22MTJwqE1KONjL8SsAYl fkN9mjM7aMp9yr+stFQqJEt3Zvk92bfM2SCQnUzbjQBB++Kuu/m2XvuHSPC+HfH1eK9N WN/TOpTCDCqum2NtXIKTqyouRt3OVkMw91Txue9Wo95bw7Pt5nHVT43Q9dfPZPUoGorx Yoxvnu2+i/HjS5U/rNYkIwECqELl/7ZlBNo9dqTSPl4bcFsDAuInfXgJLtQ91cGDleRp YAcQ== 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:arc-authentication-results; bh=FeTHl3nIWlmQhz0zBfBlt7yDqz1LnXB3sHmX2You0q4=; b=BFijy7Z0MCNjZ24HNdj8HoGeeCyN4Xo8OLLHw+vcvaxCMlKkqPj4Dkwmgb53yFqQJI mijVGPpg/FLjnK9H7KS2QsQVOmyJfzOGTIO7MFabNyl1oMet0Sb7P8Z1DxZw9R4rItMC lI7wkEhsfdk7jzKNeXNRiN/UAiB5WCVn8xfKUgEtu6LgnXwPsa74rusF3jZqUnbEzI4s EYRWNhzss5GUNpj4vhKw4qDqQqvfxmLLkAXDZSS3cpzp+7on17/7XcAcajuy6vq4J1sB Z9tY10sZbx1KMxhuBt56wyRytnNZbpmzNn9+zSTvcIOy4qAEQ3aHMHBbfst/2ajXGB7+ 9wpw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@broadcom.com header.s=google header.b=VptZ2CTj; 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 p9-v6si5314038pgn.164.2018.08.09.05.56.29; Thu, 09 Aug 2018 05:56:44 -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=VptZ2CTj; 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 S1732130AbeHIPUI (ORCPT + 99 others); Thu, 9 Aug 2018 11:20:08 -0400 Received: from mail-qt0-f194.google.com ([209.85.216.194]:44091 "EHLO mail-qt0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732007AbeHIPUI (ORCPT ); Thu, 9 Aug 2018 11:20:08 -0400 Received: by mail-qt0-f194.google.com with SMTP id b15-v6so6271218qtp.11 for ; Thu, 09 Aug 2018 05:55:20 -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=FeTHl3nIWlmQhz0zBfBlt7yDqz1LnXB3sHmX2You0q4=; b=VptZ2CTjEWMwR4dDsY+uoKceCNBQv/Q0wa+74hIKFCz2qKuuXTs3Ke0g5+iGrFG8+l bcGbaKCg9lbCdCSdd/NJv5TttheNFBFSh5AlJdJt+rAaypqpJVvSNplKzIFpStqklpYg 3pJluZffnnCRL+9N3mchR70GYsy3XpIcbVljM= 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=FeTHl3nIWlmQhz0zBfBlt7yDqz1LnXB3sHmX2You0q4=; b=sFhKbuR7yQM3eUizCkPPP1uApdGxm7nfuCrw1CnW8FqYXGQQChY/cKi05t8Pgskz0j kQjJxBzSlwp7gFxODIKtH1mkXko+VDZRXU0HF4UggZt3r4vgWJE4s2mD7mSMSWyer3rW 6B8SHBMANPu/CsmJ6O4Lc1r+vqS+be22+5mshwkoMWoJzgR4iElB8e9Yiaea6nu4ow8X UqQ1w8lsKsI3UJPHqav8Cz1IfF9Cug5my+trKf1MfqOdfVlYe59U47FFIRsja3FRFNrx 4KORayDi5u8MrNPzrUPwAIKK/xvcykdUNL9mr0GHZtEFR6kVNMetUyuJGCXsqVq7blvi 4s0A== X-Gm-Message-State: AOUpUlEPEGxDjGghSIfOTBBZUsv5ic3deX2gpvVbPyIS/lFahekNF3iG JIN7GTROSS/0KwZ7JYv98Wey7Q== X-Received: by 2002:ac8:3644:: with SMTP id n4-v6mr1807687qtb.323.1533819320312; Thu, 09 Aug 2018 05:55:20 -0700 (PDT) Received: from mannams-OptiPlex-7010.dhcp.broadcom.net ([192.19.234.250]) by smtp.gmail.com with ESMTPSA id q51-v6sm4933654qta.92.2018.08.09.05.55.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 09 Aug 2018 05:55:19 -0700 (PDT) From: Srinath Mannam To: 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 v3 1/3] dt-bindings: thermal: Add binding document for SR thermal Date: Thu, 9 Aug 2018 18:24:57 +0530 Message-Id: <1533819299-3401-2-git-send-email-srinath.mannam@broadcom.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1533819299-3401-1-git-send-email-srinath.mannam@broadcom.com> References: <1533819299-3401-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 | 23 ++++++++++++++++++++++ 1 file changed, 23 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..fc9e6d3 --- /dev/null +++ b/Documentation/devicetree/bindings/thermal/brcm,sr-thermal.txt @@ -0,0 +1,23 @@ +* 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. + +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>; + }; + }; -- 2.7.4