Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp2007030imm; Thu, 9 Aug 2018 05:56:52 -0700 (PDT) X-Google-Smtp-Source: AA+uWPwLKTnBhsfWv5ZnIg1p3A7fQPYuzzdM0RN8DpHGCCXr/uhb9gTf/S33KZvY3lzVclAmENRl X-Received: by 2002:a62:768f:: with SMTP id r137-v6mr2310306pfc.250.1533819412126; Thu, 09 Aug 2018 05:56:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533819412; cv=none; d=google.com; s=arc-20160816; b=z9coFkVRR42dFAUKvAR3bqpyknA7AT1wjfMByoidN2wZugb7Ze3dZZehCE0nCe8lr+ Vaa+jQI/ZYd3CvctBKyJg6c/PknQAci5WlT40caUd9ckZSYq844jSAIWodRjjiZmbTrH 0dj/hEpgaJT+0H83wzeqJvW/qnWShcA0fu+ij+/yKDi5kENGxOjn2ywsmgh5AnKGY8yO 6ot/2XufdkrDUQGIBCJ1izL7ShzGD8R6TSARrp6AcAqRYe0N37ZKnrPgHMhNXbnE1ZqF mOPh7Kw2aN20E7GPdLLZ7HC1dG7S9wWPczZFqWtsqB2RAS2Bw9yhdlhXWDRg9Gh2G7tt Wwbg== 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=hrgHFPYoEpKqd3f/g1YAai5EWYLaffRXvvbW0KMIBAg=; b=Eu2+YZfDFwOh2oOv7nQkBeM5dsnFeQSXmH+RclDp71bNOjfo1eEMLJGVKog+nvYZyK PbL+AxZ1yez1w87B96mgjBdWCM6ZDYeKmDTolMavOAXMG2TypOg+8hRxQn9GtIAFNM3d CWTO78o26CmbIG111n3aziX+myX2go75PD6ilb9yjvdbzfQYEC4md6R8eVzm0GCIuWMV SnClPBQXmZOdDw4Ua1eNjNO1NEJXOmS04EBtaMop8fDe48q/ss1zGwrwMlHcePUOfBzo M73/wFwCC0ZyzTU5ctK+KZu57S/GoonqaZy37qW4pEXsIdAlOwvnH/0N1hQGs4TeAqMC T9sg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@broadcom.com header.s=google header.b=hFLesbDP; 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 t13-v6si8204147pfc.194.2018.08.09.05.56.37; Thu, 09 Aug 2018 05:56:52 -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=hFLesbDP; 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 S1732168AbeHIPUO (ORCPT + 99 others); Thu, 9 Aug 2018 11:20:14 -0400 Received: from mail-qt0-f195.google.com ([209.85.216.195]:34357 "EHLO mail-qt0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732071AbeHIPUN (ORCPT ); Thu, 9 Aug 2018 11:20:13 -0400 Received: by mail-qt0-f195.google.com with SMTP id m13-v6so6343887qth.1 for ; Thu, 09 Aug 2018 05:55:26 -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=hrgHFPYoEpKqd3f/g1YAai5EWYLaffRXvvbW0KMIBAg=; b=hFLesbDPdSXHKgPwlrRRUEx1/BgINBV5GbKQ8nuHpHl/so8CtQxdDSbGyGt9ocwyN8 h8eg2b1COodaDT88OvczolyqlkHyBjnmQYPF3HB4Bctn5P+mifycjb0c9dblgNAKAU0l IHCmro4RbTkDR4yJEp97YasdaAySOVpogxvYc= 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=hrgHFPYoEpKqd3f/g1YAai5EWYLaffRXvvbW0KMIBAg=; b=Vwhua1AAVgisFDiZCbvedh+zAy3saQsp4KeDth2/OespxA6noGbosE3l9VeoOeFVwJ QsRgvCQQkDfJBK+95njHNRuJi805+/S6YFDEgyuPAcjylgEkhjWTC4h3zAiY6Sz1N47I yCMagzNPyKGgWA9pLET3WngH14bmhsWhQxXY6VjvGhfl460lKsPpnwGkmJVtin7N1eUH PI5U0gnZkrcLJ4g0Q3Zb52gnRt41gq4DRXm7D/ihsibXcVUSniPKk3fLoRK3UbChrMy4 cjDCDsJ5af2znv6flSD+0kVs1wvsTvv01iwlTXxd9HXmSF5AtBcbiZGjcz4mqFFbHVNu wqzw== X-Gm-Message-State: AOUpUlE/vz/Myo8DCDSM7JNNvzIGnUWQ1uzig1ZBSv3abPuS+0dGeeQX ZIKN57yMRuHll7JbLtz2srCPBw== X-Received: by 2002:ac8:365b:: with SMTP id n27-v6mr1851524qtb.141.1533819326039; Thu, 09 Aug 2018 05:55:26 -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.22 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 09 Aug 2018 05:55:25 -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 2/3] arm64: dts: stingray: Add Stingray Thermal DT support. Date: Thu, 9 Aug 2018 18:24:58 +0530 Message-Id: <1533819299-3401-3-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 DT nodes for thermal zones memory base address to read temperature. Signed-off-by: Pramod Kumar Signed-off-by: Srinath Mannam Reviewed-by: Ray Jui Reviewed-by: Scott Branden --- arch/arm64/boot/dts/broadcom/stingray/stingray.dtsi | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/arch/arm64/boot/dts/broadcom/stingray/stingray.dtsi b/arch/arm64/boot/dts/broadcom/stingray/stingray.dtsi index b203152..eeccf94 100644 --- a/arch/arm64/boot/dts/broadcom/stingray/stingray.dtsi +++ b/arch/arm64/boot/dts/broadcom/stingray/stingray.dtsi @@ -593,4 +593,17 @@ status = "disabled"; }; }; + + tmons { + compatible = "simple-bus"; + #address-cells = <1>; + #size-cells = <1>; + ranges = <0x0 0x0 0x8f100000 0x100>; + + tmon: thermal@0 { + compatible = "brcm,sr-thermal"; + reg = <0x0 0x40>; + brcm,tmon-mask = <0x3f>; + }; + }; }; -- 2.7.4