From patchwork Fri Mar 29 10:12:11 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Kucheria X-Patchwork-Id: 161412 Delivered-To: patch@linaro.org Received: by 2002:a02:c6d8:0:0:0:0:0 with SMTP id r24csp1834607jan; Fri, 29 Mar 2019 03:13:02 -0700 (PDT) X-Google-Smtp-Source: APXvYqwvlT8noSIc8hfcfnOLppFriPSwldDITA32jTyLEmmWCS2eR3+5RsO4MngBotUBR37Y0IJc X-Received: by 2002:a63:e310:: with SMTP id f16mr43672180pgh.93.1553854382340; Fri, 29 Mar 2019 03:13:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553854382; cv=none; d=google.com; s=arc-20160816; b=SlqBcuc1rX5rdXHAS8ySAWpmQWuQBb4RLOLk6lVREVI3pFMK79GAljg09sBrgcp5rB WGdQU9d3C4KBs3OWNcYqk/MKUsS03JeXN8wzrWerzMBUpqL2y1ehq4J31s+D57v8BRd1 Ue1WbsBM1oaAwiNZ8g2Tp8DIi1DSWBhI5uYDugX35EosnKyfVGbd7KV7AKvO2PAqHFc/ 44aV/Ro0NZar9LxZKSd7oJ7yCvgdXqTmonJSiInkoQQS1XJX/PAyhWAkbQqrniQpbE3Q f/eRgtYKSG7VB0nXUnyP2ORn3Ue6Uqse5QR0RGBNMpmBlg4tOiP1I1Tt0rzWT8etwKln 5stA== 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=Et6sor8PU+KdoioSjuhpGkTFWSasdTtvhbgyNeM0Xbk=; b=e8C5LLLfgEIEXr58E2qNQdCrSzmMpbjMfRkQjrs5OX8bz2040Mx8YJebENq0oUUiXO G4zfXaKPBZ20fRNc3G/OedrW9wj74OpECN9ARjFnacM9C/OICZH3gUhGEMeR+Zf2rbyL Vu6BqfX2ET5W7uJ+wKWx0neArLX6sFSM3RvYO7c9w1pk3xxZlj9tyVxUEYq7Y4OOlBAf KFDbYiWwnRKoTIHF1N+AEB8tpyuk26qgbEt53tQwcsPWamy5XpAqdZ8fnAxk0xTXzsi3 d7e5Nlbj/bOeyV8IBdPqFBRuXnABQ8RJvT7xOpr5fGuyQq20UwX35dulk0M3xLnTwpgU ZcYA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ptIWrNy3; 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 m8si1471348pgp.68.2019.03.29.03.13.02; Fri, 29 Mar 2019 03:13:02 -0700 (PDT) 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=ptIWrNy3; 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 S1729084AbfC2KNB (ORCPT + 7 others); Fri, 29 Mar 2019 06:13:01 -0400 Received: from mail-wr1-f66.google.com ([209.85.221.66]:41216 "EHLO mail-wr1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729048AbfC2KNB (ORCPT ); Fri, 29 Mar 2019 06:13:01 -0400 Received: by mail-wr1-f66.google.com with SMTP id r4so1855388wrq.8 for ; Fri, 29 Mar 2019 03:13:00 -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=Et6sor8PU+KdoioSjuhpGkTFWSasdTtvhbgyNeM0Xbk=; b=ptIWrNy39lKQlHnJMU7bkY1sU969gX4anhjptaOirIAR61aZCNrI+D7JwpwmRiRG8O 3/3fgxy7+vxkHgJu3F/GniVGK1yMDUg7IkC1M1rp4H9+PmHkhEsjw2YnWWY3QscPL/e9 Wr4yuJ24hHs6uFwJn6PQp1pAw90JmzH8b8bcUnNYgVhkng0jJM1FNROjCwpwAdtHK/Ij r3CW03FuFNxXbNxF3XatX7LNg3RiJIVsMI6i69hx/MFvKsOPrqg7+TEaAITVSR/G1dw9 RE+iHvKbbmZ5EPenlCWpeBa8SWrAf6ozpng17mIAX0MvfLw+QvQfrLcvdOi8MehR8DIV 4ciA== 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=Et6sor8PU+KdoioSjuhpGkTFWSasdTtvhbgyNeM0Xbk=; b=JYJGzwsWS2uGUu8RvEnnOfiHCtk6vc/6l0E0dzjm35Tm5/MX3a62WKg7Di6enwBjrV sbEfd8j1ai/Fq7JvJ2KZeVCtoimntAp+H/z5h9Ih7XML+z7NLhgrQKgJ9TGcHquw64Io ZqnR5NKfhZzk+UjomKYS0Kj4Gc7DVgIM0Sn9b3mKZKwmz58nnUfsxJB9uFgkC+tLMvmr MBFVmyX3LmYMuNdvf9RYIHkspwkd2AAahBb6NXzFeHUe1ptndE3b04Ftf63q749EYGv2 rHy+PPgNgJ7nox1vnNNXVYUQAoqi5+UJcLVcN4x6x9rg37dCrTGouexWHE4WSIgyXByG 1ESQ== X-Gm-Message-State: APjAAAVQeb/7HOF/wve7trJCCTNv29qFPjF/at/a0w3zNv9yfPo8j1WY 3eMDs55ZJ+icM5B/zou1I80ECg== X-Received: by 2002:adf:ba81:: with SMTP id p1mr29163589wrg.192.1553854379291; Fri, 29 Mar 2019 03:12:59 -0700 (PDT) Received: from localhost ([49.248.196.175]) by smtp.gmail.com with ESMTPSA id g8sm3005774wro.77.2019.03.29.03.12.57 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 29 Mar 2019 03:12:58 -0700 (PDT) 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 v2 05/13] arm64: dts: msm8998: thermal: Fix the cpu sensor numbers Date: Fri, 29 Mar 2019 15:42:11 +0530 Message-Id: <50441c28c22290ed9df7ab394d773a77603caed5.1553853990.git.amit.kucheria@linaro.org> 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 0b6de0c29ee8..108a5aa146a2 100644 --- a/arch/arm64/boot/dts/qcom/msm8998.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8998.dtsi @@ -342,7 +342,7 @@ polling-delay-passive = <250>; polling-delay = <1000>; - thermal-sensors = <&tsens0 6>; + thermal-sensors = <&tsens0 1>; trips { cpu_alert0: trip0 { @@ -363,7 +363,7 @@ polling-delay-passive = <250>; polling-delay = <1000>; - thermal-sensors = <&tsens0 7>; + thermal-sensors = <&tsens0 2>; trips { cpu_alert1: trip0 { @@ -384,7 +384,7 @@ polling-delay-passive = <250>; polling-delay = <1000>; - thermal-sensors = <&tsens0 8>; + thermal-sensors = <&tsens0 3>; trips { cpu_alert2: trip0 { @@ -405,7 +405,7 @@ polling-delay-passive = <250>; polling-delay = <1000>; - thermal-sensors = <&tsens0 9>; + thermal-sensors = <&tsens0 4>; trips { cpu_alert3: trip0 { @@ -426,7 +426,7 @@ polling-delay-passive = <250>; polling-delay = <1000>; - thermal-sensors = <&tsens0 10>; + thermal-sensors = <&tsens0 7>; trips { cpu_alert4: trip0 { @@ -447,7 +447,7 @@ polling-delay-passive = <250>; polling-delay = <1000>; - thermal-sensors = <&tsens0 11>; + thermal-sensors = <&tsens0 8>; trips { cpu_alert5: trip0 { @@ -468,7 +468,7 @@ polling-delay-passive = <250>; polling-delay = <1000>; - thermal-sensors = <&tsens1 0>; + thermal-sensors = <&tsens0 9>; trips { cpu_alert6: trip0 { @@ -489,7 +489,7 @@ polling-delay-passive = <250>; polling-delay = <1000>; - thermal-sensors = <&tsens1 1>; + thermal-sensors = <&tsens0 10>; trips { cpu_alert7: trip0 {