Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp2352680imj; Mon, 18 Feb 2019 04:38:47 -0800 (PST) X-Google-Smtp-Source: AHgI3IYMirUH+bbopFTtUsBcpRYO5ZKcCj/IJ3UlvFoYzGX8jcCdEUvd8emybpoZqCoD1nSAvpoa X-Received: by 2002:a63:5861:: with SMTP id i33mr18754059pgm.60.1550493527377; Mon, 18 Feb 2019 04:38:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550493527; cv=none; d=google.com; s=arc-20160816; b=bDqinso0rjC/aJCpuxcGQUSy+lXP6T6u/AsXKV0ec/zlw3utIuZBhNyFjiKcA/hdWV mgCTVOZuYgwTjLupqzJhLZJCNTPIigTuB4z7GDuUSeJEfVeh/T5R3HICJSZ6YxuVEDtt igd6Es8cIQrKTyGcqZNnssUZdSzYuwxkY9XCnYhxGwk9y6HsVJRbqBrbpvFoEsAatOLc Ohn2vhsZUUXYj0YjMXoNbX5vl8OlKznmdOENe3sp6g/hFu9h4IaT5TPmJLNFKxVjjlG6 0fWjNd5sMcHqsAxC//TvHlDOLy9OyePNGvf74ojw/e4pTuZnIEzYrCFa3X/z66IdmUrW 9e2g== 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=DZEZCXoHce97V2Vg6P6M55M+Jl5Qrx9lPnohGrf3uOmnvnjUw2kXzbo/aZEoHCFipL hgDKymzluTRfhUrVRaTisrw1eBikN4HgmKXBhOw0p9ChNEiIDiNlCCM+Ke30IunqRSv3 ubuZsvuDih1JOKANajLneLcVn++t6XOzbSYE3xO3dTXRsN305fpuhZ3YnZvhgpBn3bmR WP6narh1sESf+tGZRfP9EnqnzW0Inl/OCURfwwM1/e7am0vVXNy4TeBBFJTVJFb+wxao s54oF8gnBenwtnIlM1jgBspEw17E+0w9DBFcwftbJRpSeX58pxEpHHDjDiB1DEP4D8ie MvqQ== 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 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 r73si12773448pfb.221.2019.02.18.04.38.31; Mon, 18 Feb 2019 04:38:47 -0800 (PST) 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="nba7jT/2"; 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 S1730714AbfBRMgJ (ORCPT + 99 others); Mon, 18 Feb 2019 07:36:09 -0500 Received: from mail-wm1-f66.google.com ([209.85.128.66]:50605 "EHLO mail-wm1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730702AbfBRMgI (ORCPT ); Mon, 18 Feb 2019 07:36:08 -0500 Received: by mail-wm1-f66.google.com with SMTP id x7so17116466wmj.0 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=FGH4H9WAzjwnSjIatKzoWJjOpk5dvvkqeusG7mL2Ccwd9cOGRwvjT1vA1jG8ikEuCA 7zigazDsfKKz0axa4qMDleC4n7McuBVT0nCOanxyGHuf9BV3e8HvMJ5zaAlfNFRW3YlE +5QITK2G8jS0/3bB2rWd8VRYh6ZVNpgyYUqj3JLwU0AcxKZB1esqCFvbcF5oQaWvsafB DOWu3liNTrgoEpMcXH14zYx3ha+nOV5Cmvx5Af8hoIFX7ZRVngJvDUkvvP2h75eAU8vz xnxiKpcZCCQ264OwZ7OZdFqSivVkvLgc8XSqBP0KFAHD/v8CnZMYFPq5+P46vjcwVak2 hMFQ== X-Gm-Message-State: AHQUAua/bfOPL9xvW9/kGgy32TFPQp/h1zuMUf0BBNdp27SPRx8FwrVP dA2EuF23sab2/jaQ6zTVp82iVPe7jNs= 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: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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(-) 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 { -- 2.17.1