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: 10817901 X-Patchwork-Delegate: agross@codeaurora.org Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 6690713BF for ; Mon, 18 Feb 2019 12:36:22 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5400929337 for ; Mon, 18 Feb 2019 12:36:22 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 47CEC2A78C; Mon, 18 Feb 2019 12:36:22 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E345529337 for ; Mon, 18 Feb 2019 12:36:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730846AbfBRMgO (ORCPT ); Mon, 18 Feb 2019 07:36:14 -0500 Received: from mail-wm1-f68.google.com ([209.85.128.68]:52559 "EHLO mail-wm1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729027AbfBRMgJ (ORCPT ); Mon, 18 Feb 2019 07:36:09 -0500 Received: by mail-wm1-f68.google.com with SMTP id m1so17241514wml.2 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=fJWuWhHHlqxrkzCYtDXoRn/Ik3wqFv0xc6EMr7hgp1em9JzU6iGhOlq7vb4TK3EPq4 MYBMT1GuVPe6uAwS2Hfr/2Hv/v4ZuIHyr/fdJ5/x1D6322ns3i2Gzvsk4U96L6pnF3sl ogxrSxp/d8JTm75zkOYb4SeIcFUdW9WIA5mKWzzTEY6tDIXg02KKVfW+6rCLYHftufGg O21IuZ1LZuiOOdPRMpucAx2O2SXA/0vwNigH01x6FQtfPD5XObFQVMAJOnOYNox7q0Na Fxrk0eCLx8J1W1ZoeoZi5UKxH0foyFz5LKF3NzYsYW0PgvQHPXOFo7ifURRHIlq5O52o KDPA== X-Gm-Message-State: AHQUAuY02mQ57SvNhhrT+vhkb4Ahe52ZYED+4XGbu55P35Lv6IauLH4P SkKOiI8PATWDbAKJjIYQJCrGqw== X-Google-Smtp-Source: AHgI3IYu12a7hlVDhkntklRnTWH11631L8Z3lwPe66fxPvTXzQe525Fb6qdJgG+sps6VAUcgapvP2g== 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-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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 {