From patchwork Mon Feb 18 12:35:19 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Kucheria X-Patchwork-Id: 158606 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp2439981jaa; Mon, 18 Feb 2019 04:36:10 -0800 (PST) X-Google-Smtp-Source: AHgI3IZCuApHS1sv9XKWwR0oT4UGnkmZH+9tsuSMLiJ5TrJKwEkstihVFl+05fA1vYw2JOW70Hk/ X-Received: by 2002:a17:902:8686:: with SMTP id g6mr24695926plo.149.1550493369950; Mon, 18 Feb 2019 04:36:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550493369; cv=none; d=google.com; s=arc-20160816; b=TOUexLD3jVsteTIY6onpjjyA6PpWlD1ozVZ7exTMgDbpA0TZDkAcjRPfIqQcsu6rlT glhWo79W0Sc1rvU0bdS8pRje7mYviYm87a5wR1WzDQAGR7QIbTrghWtT9yJGWWYNovsR fXkXplovN1h5WSLkUahbLY8cKSOu4E22JuIjXC0sGTIMQMkm2Y7edH/DSa4hKuvb38hE aYLEIzmaKc374r2CYVilfEO9NlKBQ33tCuUYY+yduYoFykw6lYdA0SLEHYUhy48V+ruB mJNnbH82WjtPPYhUcrAtIh2l/RudWLoWK8Bsl+waAmsEShaE09FT4QGxvtJvSnssRB2c hixA== 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; bh=6+W3iADusyRfZQaowMEUR2yQLdWrhLi0wktJVeymUWU=; b=OrNiq0Fbxpc1C4esXhAG6KoyrgO1Q8mB4ZyRMyaoJLpeoTuaosyR0JPzOwzCyqEsg1 FURoiTBMqVo/25txCgXJoZCbtCz+wDeAnev0Iw17BGZpSeG/tEGmDi4CKYL2Ob0gYWKh o5lkHg+VoL3pPO1WCfMpFsk4K2NIafVowm/lY/HQ/dG3bxQdl+K1DMm7uMlgaHedasxj 15GMpl+7xGE+Va9/wq4ZJzhq2SN4nnbAZIQaWrLgQc5PTzC3b2UueBEI4Asndl8K+h+K Cc0cXRbwSepVrZtv36K+rT2/1Ns7H+Q8HQTINIAsh1B6RLflsYryjyOaRhQYMTPkpvVa B6Wg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="nba7jT/2"; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-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 1si11192676plb.103.2019.02.18.04.36.09; Mon, 18 Feb 2019 04:36:09 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of devicetree-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="nba7jT/2"; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-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 S1730467AbfBRMgJ (ORCPT + 7 others); Mon, 18 Feb 2019 07:36:09 -0500 Received: from mail-wm1-f66.google.com ([209.85.128.66]:38205 "EHLO mail-wm1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730621AbfBRMgJ (ORCPT ); Mon, 18 Feb 2019 07:36:09 -0500 Received: by mail-wm1-f66.google.com with SMTP id v26so16936201wmh.3 for ; Mon, 18 Feb 2019 04:36:07 -0800 (PST) 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=6+W3iADusyRfZQaowMEUR2yQLdWrhLi0wktJVeymUWU=; b=nba7jT/2dh0/2lkbHb5+MNePevskH+gCETyXV2ryNqikCOV2wUBPeAyOt/sy/Q5fvM H7iwsRNNsmRt4YtJHc0o07GEv0i3d36UC75ra6/Odz2HXxaP+A6RTFqrDtChCbk8emlZ ayKylLJGN922b4L22tFYkNMyXgVilV56P/r4lgktbEtWDSii9GJ+nPGwSElEf3sQLDB7 FiiHlmvkNViic5FL50nb7Ev9Fq1hNhz6VmvFAu6sc325EuWHxi5JZna2dL0IuTaKDwv5 uQC0nzZb71ed3+tKf8Ql6Tu9dnme7g71dEUpDDXmf5hQBKkaizY3nBE+r09qvXrkwSYl P8WA== 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=6+W3iADusyRfZQaowMEUR2yQLdWrhLi0wktJVeymUWU=; b=pfEwWMMPVHuZUx9teRukYGLYLDlXk/uYuY1SbYIEr/X01NHI8ilExTfy1s2UMZ7h47 gk/LTI5ZPulzYgGocu2WEAnafZT+Jz3xe/VUX6sTUM9Jrd/qzG1bZTu3yJvTMxlHBxID L1CJg49m6AW91b3yYWhtv74C6fLC+qVknamtQJg2Hui1Eg5mmHQyazX8Z+OSmjcTL/rg GQ1TlDRyngXKHAybACbWBF/VJqCAYCW3LTSq9SQbyNseWiF/ADL3Z/hVVG8WXr/R6aK/ TlZP9ZF7yCevh+9NFzu4zjcAr530H/YRLHDXLut/BhKcQYDx1tpuXfzAwcmTjsqtBG7N yOpw== X-Gm-Message-State: AHQUAuYz19bnzrkifso5OjqZ7mnnrpKO5Tqa6KTr1j9oy0v45CBSP+h1 O5UK/0ulCqPtC7J7mLvWAHI5mg== X-Received: by 2002:a1c:6c0c:: with SMTP id h12mr10341068wmc.35.1550493366716; Mon, 18 Feb 2019 04:36:06 -0800 (PST) Received: from localhost ([49.248.190.152]) by smtp.gmail.com with ESMTPSA id c65sm19504082wma.24.2019.02.18.04.36.05 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 18 Feb 2019 04:36:06 -0800 (PST) From: Amit Kucheria To: linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, bjorn.andersson@linaro.org, edubezval@gmail.com, andy.gross@linaro.org, David Brown Cc: devicetree@vger.kernel.org Subject: [PATCH v1 05/12] arm64: dts: msm8998: thermal: Fix the cpu sensor numbers Date: Mon, 18 Feb 2019 18:05:19 +0530 Message-Id: X-Mailer: git-send-email 2.17.1 In-Reply-To: References: In-Reply-To: References: Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org The silver cluster (typically cpu0-3) are monitored by sensor IDs 1-3 on tsens controller 0. The gold cluster (typically cpu4-7) are monitored by sensor IDs 7-10 on tsens controller 0. Fixes: 4449b6f248d9a1 ("arm64: dts: qcom: msm8998: Add tsens and thermal-zones") Signed-off-by: Amit Kucheria --- arch/arm64/boot/dts/qcom/msm8998.dtsi | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) -- 2.17.1 diff --git a/arch/arm64/boot/dts/qcom/msm8998.dtsi b/arch/arm64/boot/dts/qcom/msm8998.dtsi index db4cb687126b..662ca458e64a 100644 --- a/arch/arm64/boot/dts/qcom/msm8998.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8998.dtsi @@ -336,7 +336,7 @@ polling-delay-passive = <250>; polling-delay = <1000>; - thermal-sensors = <&tsens0 6>; + thermal-sensors = <&tsens0 1>; trips { cpu_alert0: trip0 { @@ -357,7 +357,7 @@ polling-delay-passive = <250>; polling-delay = <1000>; - thermal-sensors = <&tsens0 7>; + thermal-sensors = <&tsens0 2>; trips { cpu_alert1: trip0 { @@ -378,7 +378,7 @@ polling-delay-passive = <250>; polling-delay = <1000>; - thermal-sensors = <&tsens0 8>; + thermal-sensors = <&tsens0 3>; trips { cpu_alert2: trip0 { @@ -399,7 +399,7 @@ polling-delay-passive = <250>; polling-delay = <1000>; - thermal-sensors = <&tsens0 9>; + thermal-sensors = <&tsens0 4>; trips { cpu_alert3: trip0 { @@ -420,7 +420,7 @@ polling-delay-passive = <250>; polling-delay = <1000>; - thermal-sensors = <&tsens0 10>; + thermal-sensors = <&tsens0 7>; trips { cpu_alert4: trip0 { @@ -441,7 +441,7 @@ polling-delay-passive = <250>; polling-delay = <1000>; - thermal-sensors = <&tsens0 11>; + thermal-sensors = <&tsens0 8>; trips { cpu_alert5: trip0 { @@ -462,7 +462,7 @@ polling-delay-passive = <250>; polling-delay = <1000>; - thermal-sensors = <&tsens1 0>; + thermal-sensors = <&tsens0 9>; trips { cpu_alert6: trip0 { @@ -483,7 +483,7 @@ polling-delay-passive = <250>; polling-delay = <1000>; - thermal-sensors = <&tsens1 1>; + thermal-sensors = <&tsens0 10>; trips { cpu_alert7: trip0 {