Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp438963imm; Mon, 9 Jul 2018 04:47:00 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdm/sA3okB3KhmRDzq7lRwxZJsZJeMBhDTlW7mG6wGW9hZlswd2JmKbZAqNzURrYoANIDnY X-Received: by 2002:a62:9c17:: with SMTP id f23-v6mr21084534pfe.209.1531136820463; Mon, 09 Jul 2018 04:47:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531136820; cv=none; d=google.com; s=arc-20160816; b=CVxCYNiM+DBTACPaZB8tDvE2V8y983BiDPqoI/XiIhALuu0wesb6AQxEIZayVr5xX6 m5oo1jNQjYrJTTV4vXvCbwRx1bsJwpczxz7hKIpH0SR45W5snow7HibtG3Ib4KUwdMF8 qoeENsVg7MYDFmPyEjwcAyPTuZO2Phv+AUq/HCpjLLVn9+MxP7U0HqUcjLSpG1xeGMna sTI7GXJD2igVdrEJgDsukWPdPLVaWIF7VqD+tnJse0qp1zDobPBSeLSJ4IcuiDYXfhab qeO9ea1A3WZ/Z566P7iqHFdEZe5U28ln2nUhbJ4JkcSLwynMna07aCWp/MrYskSYC2oy uuCQ== 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=Ta7IG6QU9uQXIMjNn801Ta4qAYhVBfB/2Z+Ht5f83MQ=; b=bO9zPCDOiGrTnKn1OEHhAiV9TEjL2jtWz/id2aMxZfOySZdlYn8kDtvIEGEaU0ncp1 Nx+VeASbHzmZbmNYWrEljuSxCPzACSaydgNelM8l0zo3XcXHsO8WeUs3JWCP0c89TL7m vGK9Oj06J56ayt29yOKQcKHrdctRXjMDeUHph9iWwiVbuHmoMvG+ag0jR5NgX19Y3Sev a+OZcCoDFUPN1NGBgVqYLvbk1CxFu9hfp61n3/kIzLQddziVwftPdFoE6r2f0m2MJRmI H00oWAoiyy1UCwRDIjouG3NsJ/bXxhUSt1fB24rrZdxmdAUj9d7c5L7O4M0XFdb/r/ce 738Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=CFiLC00P; 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 w1-v6si13541429pgw.546.2018.07.09.04.46.46; Mon, 09 Jul 2018 04:47:00 -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=CFiLC00P; 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 S932972AbeGILoo (ORCPT + 99 others); Mon, 9 Jul 2018 07:44:44 -0400 Received: from mail-pl0-f66.google.com ([209.85.160.66]:34424 "EHLO mail-pl0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932921AbeGILoe (ORCPT ); Mon, 9 Jul 2018 07:44:34 -0400 Received: by mail-pl0-f66.google.com with SMTP id z9-v6so5925793plo.1 for ; Mon, 09 Jul 2018 04:44:34 -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=Ta7IG6QU9uQXIMjNn801Ta4qAYhVBfB/2Z+Ht5f83MQ=; b=CFiLC00PdmvxxS4DWrqNLL2khUpysqVR9W5y8s+6Nd759wpdjdIV2oxPaNQ1bBy0Os z8SkqZdO227jVfb0T7jF6gIKdLSce6lnHMOkU80XXBKpRoSTsnqh8ff1qPYhl30pzakI 9pJ4wCJEddidbDIemgPT0oUyjxjs0IIkc5/Cw= 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=Ta7IG6QU9uQXIMjNn801Ta4qAYhVBfB/2Z+Ht5f83MQ=; b=NqEvei0jFk3fsuFaiLGipiRd1NcW1fD4hwZQqhILXPBmWHrFxNxR2LIk8wKOkmTEEg oOknk9GxD8UV5LvmJuicmt/W5sOf2/3Q9O04Q0jcyOFMyKIVn6Yw0i+xiOxeMzoeT+Pu L1LY/2DfQ4Gpm82ZRKFQjcZS9OwhQGKAOoJo0Y+BqjHV615cCJGDLwizJqhvf0qj71SU Dv5Q14OwyuC1D3KGglPcQBgD1bVGLo9z1c/53c6nKhq9I+hlminbgweo4C9k/aGtW3fM oNErfVz9JsJnkEIuaBH1pOSBpli/rKxFJGVKT91Scc1XhX8OToGG8WPR8uPTOXY3Q2Ga Yqrw== X-Gm-Message-State: APt69E1Rst6Chvbfsz0/nhrJ5fsHWsNlJ39HX5Mf1sl7X2DBAOO41dka 634Gj8qayuNBfzd4XCvjj4xArlvd0og= X-Received: by 2002:a17:902:8309:: with SMTP id bd9-v6mr6236123plb.321.1531136673840; Mon, 09 Jul 2018 04:44:33 -0700 (PDT) Received: from localhost ([103.249.91.93]) by smtp.gmail.com with ESMTPSA id n80-v6sm5409828pfb.95.2018.07.09.04.44.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 09 Jul 2018 04:44:33 -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 v6 7/7] arm64: dts: sdm845: Add tsens nodes Date: Mon, 9 Jul 2018 17:13:29 +0530 Message-Id: <65c39c405076627bd43ec94c211c6998191b9f16.1531136000.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. It uses version 2 of the TSENS IP, so use the fallback property to allow more common code. Signed-off-by: Amit Kucheria --- arch/arm64/boot/dts/qcom/sdm845.dtsi | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/dts/qcom/sdm845.dtsi index cdaabeb..ba2899c 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@c263000 { + compatible = "qcom,sdm845-tsens", "qcom,tsens-v2"; + reg = <0xc263000 0x1ff>, /* TM */ + <0xc222000 0x1ff>; /* SROT */ + #qcom,sensors = <13>; + #thermal-sensor-cells = <1>; + }; + + tsens1: tsens@c265000 { + compatible = "qcom,sdm845-tsens", "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>, -- 2.7.4