Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp3676525imm; Mon, 18 Jun 2018 02:05:10 -0700 (PDT) X-Google-Smtp-Source: ADUXVKIvCzpKlsyCtrRj9bkQ1x62nR03a0/in88bmJe1wAW1SZS94Xovc0npj/z80KkBpEXKv+82 X-Received: by 2002:a17:902:6b04:: with SMTP id o4-v6mr13366583plk.101.1529312710743; Mon, 18 Jun 2018 02:05:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529312710; cv=none; d=google.com; s=arc-20160816; b=fMYPAJY9wkNGM3GkdDIf9MkdIqGvXcla9/MoD11GXuVvcq3r1MUISf7p2aYvVE1rg1 yQqKWwj2zohMv5VpFRyGcae/zGWD+JSC4cegkv6xrlmZ/HLW4U4BQkYSWz9k0PLTVMyi skr1tqWgYZli5tnG9w3GcM+olaNd8D0zDBianR18zKmRcBP/0mMuEcSYyWL/Nd87+an5 v0JVTEnVc+reJCfw/znE2geFCvfzJp9/2w0NxP7Z2hWQC5IbF8Yjld05B3gXbnjpjXhx tLmYiqzwLvFXp6cMcy4UakTwKCGTabibzH8TnTVkHqAiCfxi5S+4Mo19niPO+8nPm4XL rPMA== 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=hAYiQ6G8NiWHDPO3cC7e5+hWviqQw+vUyAIMc0IIjE1OyKohuLFrsJZ4hy0RpRJoOU pp233B1O8PIBy6hfG+Sp5h0UEjcB62eGTanRX6lV2biWOFb4OaJvJd9Yh0w2pCeFItZs O3fKWELhMOiuDZQTJQDU3czugOswzzy8D7Vu4UdI4Rl+YaMB/2rsUZOc65cDRy5es7Pd PoGMpz0SInI3gjoTXh/90+bK5gUJF1VkCGr3eWwlesfseHQIGFiAO4IhuewKxfW/i4ID Oxmjp5ZcNGXQJb7mGLpa1k9VV+0J8NXYHJkV/ESWZ7c7SuHjx8jHWram/NxhH0MCbjCS Ul3g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@broadcom.com header.s=google header.b=W4s9Y0RS; 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 r12-v6si14198650pfj.331.2018.06.18.02.04.57; Mon, 18 Jun 2018 02:05:10 -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=W4s9Y0RS; 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 S966912AbeFRJEW (ORCPT + 99 others); Mon, 18 Jun 2018 05:04:22 -0400 Received: from mail-wm0-f65.google.com ([74.125.82.65]:55759 "EHLO mail-wm0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S967275AbeFRIcQ (ORCPT ); Mon, 18 Jun 2018 04:32:16 -0400 Received: by mail-wm0-f65.google.com with SMTP id v16-v6so12567804wmh.5 for ; Mon, 18 Jun 2018 01:32:15 -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=W4s9Y0RSFgpS/bYZeHAKNR4M+fSKfReTtE6tSI5nw/+OCjUacyYYyKtAcuzPP2z4qY QfcEfAp3uvxfKFbASHfVD05nfyXczCkmJ+orMry8A/Hr4IecFruK27Rzlhg4sbrwF48/ zUBrFtJOgCvo6C9xM4gPsTVKWPZTrcYPFx7wU= 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=EYP8dtOGbENPs3U4xT688UcIsoXI5Fzq+e+iR4AOT9/ujmuBEuIFiX9tWhEeSki1s2 DophCKEijFOcK3xw/brSw0ZHLPMnZmq1ynYgd8VS5DUvbm84snAxONeFXiu2Ovvf9s56 WJSJW7mjanUjoJAhg79kypOBW3NWgvjUScoRrW7LYTG8sd/0JIlDZnId09ZuL9OnaUQF BUdS2BesSgo/0JOKwcxRGBU4uTdoUC/FpwoiiscUjitc+MTPWJAsaY+5dcZqFkpfBWym Qp1Yu+U79CwwU0PHAa+mdOvqv0p/J3lNzpOq6XgXLPF+MOqKPuxKC8KVJTUyu3gQrxaP H/cg== X-Gm-Message-State: APt69E1WOqQESDdBOLQ6k2vMoUB3QDRtp8RFnipxiSBQKcQ5Jamq6y36 CUFqIdpVyyF62uB3CIYQHtwoYw== X-Received: by 2002:a50:a844:: with SMTP id j62-v6mr10338249edc.210.1529310735071; Mon, 18 Jun 2018 01:32:15 -0700 (PDT) Received: from mannams-OptiPlex-7010.dhcp.broadcom.net ([192.19.234.250]) by smtp.gmail.com with ESMTPSA id r10-v6sm6261992edo.77.2018.06.18.01.32.10 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 18 Jun 2018 01:32:14 -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 v2 2/3] arm64: dts: stingray: Add Stingray Thermal DT support. Date: Mon, 18 Jun 2018 14:01:18 +0530 Message-Id: <1529310679-13482-3-git-send-email-srinath.mannam@broadcom.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1529310679-13482-1-git-send-email-srinath.mannam@broadcom.com> References: <1529310679-13482-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