Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp1994436imm; Sun, 27 May 2018 22:43:19 -0700 (PDT) X-Google-Smtp-Source: ADUXVKK32PiQKEu/fMP9362tSceie90bVqjkGvUXCGyMtPK3k9h6ofIHvGaZkMZlEuVxXqpsgGKh X-Received: by 2002:a63:bf49:: with SMTP id i9-v6mr5305977pgo.342.1527486199288; Sun, 27 May 2018 22:43:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527486199; cv=none; d=google.com; s=arc-20160816; b=fOHal4LUWv75VgAO/U8r4x0W3Pd0m8RGCZxwiT9dT1XjC34fZqbga2TvWv20doqVkI 7ynEfwh3N2Q1/7ucBLqUgiLgPjaHn/doRR3McwEpp5mMwfxl7I/spFUpaN1PrwKGAVSM GY431g4bt2G0yRAcEcpPkT7KJaxyzxjohlOAR8A4y3VYXI+EhLRkb/2F9kcGXqBdgv+x Rs+fCoT7ORj/LRGHlPFl6YLLYbfRslzZzrO7JEcexhkkFP/4f1yEtEPU2bu8zbGrA4DU KmJr35f4nTVPFqUSopmpbutXZypbLVHCkd+xubN/may0CcmiThcA5Eg/qkKcZNpkqN4u C8xA== 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=Irc22/bvfU1TrQYW/Xpkl9MXBBBmeXF/9pb1lAv2h68=; b=ntxV6+9ZiBFCiqq8PYM0tocz4xFzw/0z6eV02BkEjHXqrbQk65HrFQYNRWigcYhLZD nBz/M3RDALPVAK6vd3TiRM02bNnHz7Uo2p4IT6cu5JQyxGkJamuH6aRclG6aSDtTh6rp Zc83kyNSkVKuII+6zH9C+l63BYXg/RZPWYVrLftG+PV/otkGwV345Yf4i3Nv4zCVe3M2 R9PL/bKXQqv8djNxM0ZMHXhyxbINP+iEVAYO+YelC7Wdz4vwheAensh/3XEDglRaDxzh YZTE80z+5JI+RN1QbDyyH+z77A17+YkuwjsuxPzeoVtcn4iCm758LIucuGy+5AZ++X5z NH6A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@broadcom.com header.s=google header.b=HqXhT3Cx; 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 h5-v6si4538640pgn.660.2018.05.27.22.42.34; Sun, 27 May 2018 22:43:19 -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=HqXhT3Cx; 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 S1753390AbeE1Fl4 (ORCPT + 99 others); Mon, 28 May 2018 01:41:56 -0400 Received: from mail-qk0-f196.google.com ([209.85.220.196]:38797 "EHLO mail-qk0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753327AbeE1Flv (ORCPT ); Mon, 28 May 2018 01:41:51 -0400 Received: by mail-qk0-f196.google.com with SMTP id c23-v6so8381903qkb.5 for ; Sun, 27 May 2018 22:41:51 -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=Irc22/bvfU1TrQYW/Xpkl9MXBBBmeXF/9pb1lAv2h68=; b=HqXhT3CxiG+qnVUp1DkHedODFBiWOpOTl2f8JNvzomF5uZu60EeABzAQQmUQAMbrEU 9VDnEb77r5FDVkXi4elNNjpiAV10bbqBTyAHB/UMEoMxfh/tVG+i3JmKDrIdlHDB2bGz yToXCjLsnaeDSITFvd7JpCwdXUPb+3/aEbbFE= 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=Irc22/bvfU1TrQYW/Xpkl9MXBBBmeXF/9pb1lAv2h68=; b=PxrdEFPrFYM0gEbqH9GiRe5lV/HMST5R+TQKrO6ML0+xTC/81+r/jTrwZfGtXQaxCI A+/jMSBfmGgRLnXnjCh7xQ95E+M58D+ZT4FbqKw6K2OJAtgnXt/Zg1FgFhjd5urnPt9I reWHIU/e3QBdyyX2F8SsxivngoZssbkMV2d7Q3FRlHqgUad48BYQR3DWxxDwSTp1df7H ciNBHl9LYMB/27st2GaWymFs0SFDQz4KO8AGut1uckQ/6n18UGGkq4F3ZxNxvSK+UAYE bMMkiyokPKKK1XqyC2nTB/908boQSGfulD1bPcLoj4fBe6IWY84z7YL+wEKz0TJme6hS tKXQ== X-Gm-Message-State: ALKqPwc/H3vmZaCwHhnwLavsIjPxOQ+mfY03AqppKYKAnqDOzvLLOVgC syPNAdQEmc3IlYWuJtWuY0csng== X-Received: by 2002:a37:9907:: with SMTP id b7-v6mr9895372qke.307.1527486110137; Sun, 27 May 2018 22:41:50 -0700 (PDT) Received: from mannams-OptiPlex-7010.dhcp.broadcom.net ([192.19.234.250]) by smtp.gmail.com with ESMTPSA id m70-v6sm2543580qkl.72.2018.05.27.22.41.46 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 27 May 2018 22:41:49 -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 Subject: [PATCH 2/3] arm64: dts: stingray: Add Stingray Thermal DT support. Date: Mon, 28 May 2018 11:11:23 +0530 Message-Id: <1527486084-4636-3-git-send-email-srinath.mannam@broadcom.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1527486084-4636-1-git-send-email-srinath.mannam@broadcom.com> References: <1527486084-4636-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 DT nodes for thermal zones memory base address to read temperature. Signed-off-by: Pramod Kumar Reviewed-by: Ray Jui Reviewed-by: Scott Branden Reviewed-by: Srinath Mannam --- .../arm64/boot/dts/broadcom/stingray/stingray.dtsi | 37 ++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/arch/arm64/boot/dts/broadcom/stingray/stingray.dtsi b/arch/arm64/boot/dts/broadcom/stingray/stingray.dtsi index 99aaff0..db1cc67 100644 --- a/arch/arm64/boot/dts/broadcom/stingray/stingray.dtsi +++ b/arch/arm64/boot/dts/broadcom/stingray/stingray.dtsi @@ -593,4 +593,41 @@ status = "disabled"; }; }; + + tmons { + compatible = "simple-bus"; + #address-cells = <1>; + #size-cells = <1>; + ranges = <0x0 0x0 0x8f100000 0x100>; + + tmon_ihost0: thermal@0 { + compatible = "brcm,sr-thermal"; + reg = <0x0 0x4>; + }; + + tmon_ihost1: thermal@4 { + compatible = "brcm,sr-thermal"; + reg = <0x4 0x4>; + }; + + tmon_ihost2: thermal@8 { + compatible = "brcm,sr-thermal"; + reg = <0x8 0x4>; + }; + + tmon_ihost3: thermal@c { + compatible = "brcm,sr-thermal"; + reg = <0xc 0x4>; + }; + + tmon_crmu: thermal@10 { + compatible = "brcm,sr-thermal"; + reg = <0x10 0x4>; + }; + + tmon_nitro: thermal@14 { + compatible = "brcm,sr-thermal"; + reg = <0x14 0x4>; + }; + }; }; -- 2.7.4