From patchwork Thu Jun 14 10:43:16 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Kucheria X-Patchwork-Id: 138547 Delivered-To: patch@linaro.org Received: by 2002:a2e:970d:0:0:0:0:0 with SMTP id r13-v6csp1941247lji; Thu, 14 Jun 2018 03:44:39 -0700 (PDT) X-Google-Smtp-Source: ADUXVKLKMKyHCww8MnoVl/I57xLQBnGg/RD303kR4AWl5YE0tCTfu+Pa+UpgxXhYUXZtwk/+P7SR X-Received: by 2002:a17:902:b08a:: with SMTP id p10-v6mr2518736plr.0.1528973079147; Thu, 14 Jun 2018 03:44:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528973079; cv=none; d=google.com; s=arc-20160816; b=d7sTpT5oOjUOzGGFdfL4nrhWy0au8RDQ9Khm+xcB9kV2LibIdCTx0ti7yBlnqzeu1B HYsrHjzAtbi21qVMDQe3yW2qYFMgvElASa/y6Ly50Db7hPFbRD+hcg6c+ABgmCTaXiql 3cEG62LVAP07nGZyDjr+nxl/icF+iMUt3TpgLpU8+0NLLyY7SynToeSw1a9KJq7HCWbf Inz1fKdkIAggVpWxtglsLZhnEjavtRlWXiMOnZ7MmUZWh7bdGeoYDg1juZCLaFJEqWVz MSTxZ5Qy919bdOH5Ns8RPw6uS9pewEDk/E1XlFCwkG9TXFc+m1QrcLYPSeW7pSfHxchj XCuQ== 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:references :in-reply-to:message-id:date:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=IdYsJPMEv4nuycJs7YJd5jalqQSPROp1IR5aOtwfvBY=; b=Mmcw6m4E0MI0vgEgduaT7SdgFhMMMnZx4UCvQ0UQzYuuSM4TdTPwA/DjNtvYUojTwt w1CPtBkkmOunhcKp2/yhVJ9C+v9KUT2Ks07Gi7k+8YkONGreOyuArQtvYEYeX6rjQIN/ z3l3vkXx52xPHE7aItrhuQYYnO3FTUjz/t0QEk84nBVVgRo9DKZyqo50CUkxURa6PyJs mpXrcNlh/3Rlixq4KeoXEGjCRStMLr/RAT8OsffDw+ZskQhPd/nbx35pkWl4z6z7igU8 LNTXMix1s/U8ORKVSUeMKlr54Cucz0OHTBYVNtveF4oED0x95ltbcyLUy+Bk1apVgYez 5LaQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=DNNqEQEl; 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=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q130-v6si4328095pgq.526.2018.06.14.03.44.38; Thu, 14 Jun 2018 03:44:39 -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=@linaro.org header.s=google header.b=DNNqEQEl; 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=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935994AbeFNKog (ORCPT + 30 others); Thu, 14 Jun 2018 06:44:36 -0400 Received: from mail-lf0-f66.google.com ([209.85.215.66]:38715 "EHLO mail-lf0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S935675AbeFNKoU (ORCPT ); Thu, 14 Jun 2018 06:44:20 -0400 Received: by mail-lf0-f66.google.com with SMTP id i83-v6so8670359lfh.5 for ; Thu, 14 Jun 2018 03:44:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :in-reply-to:references; bh=IdYsJPMEv4nuycJs7YJd5jalqQSPROp1IR5aOtwfvBY=; b=DNNqEQElx/o/FooOuj/KOGS343kpzBhxS//J1XqxLMibkMX3qzeC2TPfg3egF1pB4p 7x46NgwySjceY/F5/i+5ABu1s+gxVo/UflwsLdK7qBb8e3Xe+q4/74QHQMBAV9cjdeVy chCktPDFQtA/wYCLzL2oRbpWNoYBpD/5v7iMI= 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:in-reply-to:references; bh=IdYsJPMEv4nuycJs7YJd5jalqQSPROp1IR5aOtwfvBY=; b=B/eHiA08jEldWBY1i9B8kenURxNASyyIA9z+9IuwT+ZztoX3KIqfPrsIrwH+EX3JZx ZSMwdSFGaEVDPv1Y1gnD/bNnsSvXn+2KW0L4QJc5b+Pwma2r84renILynGXZ/kpRiKSS 7b9gkPBPljM8HnRXTludxGjJjPlHjQU7W+f49skFCJ+ZRl++Nz/yK2IUFl3BfYZlgylz VyXxuD6Yxx/08w5U8GqvsyHEWT8UXTY3xwoSHqNkzpr0caXk3rEDljmy5vbgcFgQZhdu ZJCjnkRtfzscbTUDYQa1p1iRu86l6vu3fxsD9ACk9a2nXDOWIgCztjyE7DzmHWlQpm5M 1sWw== X-Gm-Message-State: APt69E0CB3PgM+Pzn8KTuOkYE9SBoZKvi8dUmC8hlhN60silNeUPOUG/ hq5NWA7f9yiw2vu1mvL+tAn+gBPsfqw= X-Received: by 2002:a2e:5047:: with SMTP id v7-v6mr1475075ljd.122.1528973058659; Thu, 14 Jun 2018 03:44:18 -0700 (PDT) Received: from localhost (85-76-96-172-nat.elisa-mobile.fi. [85.76.96.172]) by smtp.gmail.com with ESMTPSA id u85-v6sm1022465lfi.5.2018.06.14.03.44.17 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 14 Jun 2018 03:44:17 -0700 (PDT) From: Amit Kucheria To: linux-kernel@vger.kernel.org Cc: rnayak@codeaurora.org, linux-arm-msm@vger.kernel.org, bjorn.andersson@linaro.org, edubezval@gmail.com, smohanad@codeaurora.org, vivek.gautam@codeaurora.org, andy.gross@linaro.org, David Brown , Rob Herring , Mark Rutland , Catalin Marinas , Will Deacon , linux-soc@vger.kernel.org (open list:ARM/QUALCOMM SUPPORT), devicetree@vger.kernel.org (open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS), linux-arm-kernel@lists.infradead.org (moderated list:ARM64 PORT (AARCH64 ARCHITECTURE)) Subject: [PATCH v3 6/6] arm64: dts: sdm845: Add tsens nodes Date: Thu, 14 Jun 2018 13:43:16 +0300 Message-Id: <448cdc793c6ac83ab6d0ba2a6bef00036ad20801.1528972165.git.amit.kucheria@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: References: In-Reply-To: References: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SDM845 has two tsens blocks, one with 13 sensors and the other with 8 sensors. Signed-off-by: Amit Kucheria --- arch/arm64/boot/dts/qcom/sdm845.dtsi | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) -- 2.7.4 diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/dts/qcom/sdm845.dtsi index cdaabeb..7dd59b4 100644 --- a/arch/arm64/boot/dts/qcom/sdm845.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi @@ -221,6 +221,22 @@ #interrupt-cells = <2>; }; + tsens0: tsens@c222000 { + compatible = "qcom,tsens-v2"; + reg = <0xc263000 0x1ff>, /* TM */ + <0xc222000 0x1ff>; /* SROT */ + #qcom,sensors = <13>; + #thermal-sensor-cells = <1>; + }; + + tsens1: tsens@c223000 { + compatible = "qcom,tsens-v2"; + reg = <0xc265000 0x1ff>, /* TM */ + <0xc223000 0x1ff>; /* SROT */ + #qcom,sensors = <8>; + #thermal-sensor-cells = <1>; + }; + spmi_bus: spmi@c440000 { compatible = "qcom,spmi-pmic-arb"; reg = <0xc440000 0x1100>,