From patchwork Mon Jul 2 12:44:09 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Kucheria X-Patchwork-Id: 140747 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp3952984ljj; Mon, 2 Jul 2018 05:45:30 -0700 (PDT) X-Google-Smtp-Source: ADUXVKK2bE/dGbqgOcWDzy311TZ5olmIWUN94DeaRe7bpyNAoJQlWPF+n/tyaLdEYWYsmiQLSXV/ X-Received: by 2002:a17:902:28c8:: with SMTP id f66-v6mr25957553plb.60.1530535530132; Mon, 02 Jul 2018 05:45:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530535530; cv=none; d=google.com; s=arc-20160816; b=MG4vGYZFYWZG//Xu7mx55n+NIy7JxBdCKDKcSn9TlI4sUuTM2YYDeNzrijgeVLyeQZ e6t8KW6xukMlRM9aFADuCbYLDv4boFxuorD78Pyx4tgXsKScvTjHSPVpdcojNsPHw6n/ fgv6oRatA1smdLJrVOOYtPtiqaU8MFmHJz3FUYFEFv+6Gq23JMH/zeZUyOQX47JCQN9p kvvFugl054UvOPFUUIdWC9T+cq81fRXGhbreDIcAUKWk6ngDjifoLmkrPwL8toJgm6td 1huEgJtaDjNUBstQ9y3Lhv1d5BILj7GYzQFitHNgQH4kFRQxD0cYXaB/GGKMHm/BnHuM cGfQ== 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=I/Cu+imGJLbvwzue17C4MFRuKRC0pB6hIVYE9HwvMj0=; b=UBkymG4XQ0CN8YxHLYWd1Vf5PoBzyIkhf4wGlVae5vKps3M4dzb1nOSePLNYvHTJpp dtglcd1j1FR/eygsiOmeXhm83XrJ6b834AKxvJlh/6xxQ4yZdadEMMYJbBjyTlhHmeOl aRPFmkkN6BzM1zcEIRbVSMUL7Pe13l+ZmeGSo4Uw1AJ8/NMjBjoilx6q7/XxL/VeYU2t vwJhpzd3jZT4Uo1dVd2L2wvI42rlh1prq+z0TTHi/GyZOiIAVmGLQ6VhWTIeWwQNszwu +6aoLdP0A12dilozKq5kUoKmgwk+IP4xnxeURkbBgq55OahkGiBqJjTpGZx2cA2RM+4u na2A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=kBzC830o; 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 v22-v6si16000134plo.123.2018.07.02.05.45.29; Mon, 02 Jul 2018 05:45:30 -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=kBzC830o; 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 S1752862AbeGBMp1 (ORCPT + 31 others); Mon, 2 Jul 2018 08:45:27 -0400 Received: from mail-pf0-f194.google.com ([209.85.192.194]:44491 "EHLO mail-pf0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753116AbeGBMpF (ORCPT ); Mon, 2 Jul 2018 08:45:05 -0400 Received: by mail-pf0-f194.google.com with SMTP id j3-v6so7471929pfh.11 for ; Mon, 02 Jul 2018 05:45:05 -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=I/Cu+imGJLbvwzue17C4MFRuKRC0pB6hIVYE9HwvMj0=; b=kBzC830oj0qVC2xX3J/qCCnpjKYz5m/boYyHTlcwF+sOgnTwLztXfOsiqE/OroEto6 fI6vPzQeagWSuNOP90KRPZdZBw4QS+CBFZERNpdg+AExGZSTlcUDc+U8esnuHSnBuAgD V1IFIMdiKZzZrh1zx88+WSGXOu0sxAcMjagGE= 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=I/Cu+imGJLbvwzue17C4MFRuKRC0pB6hIVYE9HwvMj0=; b=OSi9W3quRSaX3HJrqf27kzxi/icHxq3y/eRpiZ/ouegathClUQURwqViMotL/ecBbV h92ibBwt9OyfBcBQ+/Z+kk6dza3+J9KIcOgt3JQR9dJyDpwcYWqfb6W+8kYHJNtR43nh LhcnvXKrYzKCoVN8ruXjCjR9kDqmprDS21IP4bM480X9WtBf8vsQEjEIwpdvUsShw0WN 59Sefa1Im+OYAj7MK8kWvz4YA0Z/6ItkqZ6ELKNC626PgZnBPW+Q9QKZv3YSQHbwGmi/ GYiSvFLfPThWwWeCcxGfrEjccJlCJnUtwX10c6eJE0ubmYuC3/TlKbCPmeJQi37YIgDk 6PLg== X-Gm-Message-State: APt69E3rjHGxWAZU9HGiiYAuAh6bzxLRDaaeoGwGuv478ty9emqMw0pB lOBzBDJ9Wj7DomfhyCZJTyUyWX5VXYM= X-Received: by 2002:a62:d544:: with SMTP id d65-v6mr4700264pfg.107.1530535505155; Mon, 02 Jul 2018 05:45:05 -0700 (PDT) Received: from localhost ([49.248.63.129]) by smtp.gmail.com with ESMTPSA id n5-v6sm31790071pgd.7.2018.07.02.05.45.04 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 02 Jul 2018 05:45:04 -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, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH v4 6/6] arm64: dts: sdm845: Add tsens nodes Date: Mon, 2 Jul 2018 18:14:09 +0530 Message-Id: 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..edf8505 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.4.0", "qcom,tsens-v2"; + reg = <0xc263000 0x1ff>, /* TM */ + <0xc222000 0x1ff>; /* SROT */ + #qcom,sensors = <13>; + #thermal-sensor-cells = <1>; + }; + + tsens1: tsens@c223000 { + compatible = "qcom,tsens-v2.4.0", "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>,