From patchwork Thu Oct 31 18:37:30 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Kucheria X-Patchwork-Id: 178223 Delivered-To: patch@linaro.org Received: by 2002:a92:409a:0:0:0:0:0 with SMTP id d26csp3242706ill; Thu, 31 Oct 2019 11:38:18 -0700 (PDT) X-Google-Smtp-Source: APXvYqwePi9cnV0GTXuc4f/XVPfADgAysRg4s5OSzUfG3H9iUHL3XyWIxUe+n12Cg2HPhl/5aIrL X-Received: by 2002:a05:6402:b06:: with SMTP id bm6mr8004748edb.160.1572547098182; Thu, 31 Oct 2019 11:38:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572547098; cv=none; d=google.com; s=arc-20160816; b=F7hdBbUQYbN//ZCfL+CYX/RcwHVV2B0XzymGmvwKnwnWUpDCMZJ+OtreAq87ROstpU T5DK9QH2MCwEeLhfFkh+mPo5y5PSBfOjH4EIsQhegIy4BLsY5VNNk61I44uNET23u9n5 LduhHkJK2UI618Aovb5B2VxDgqaYyrEzuvZoAIAgroMwi+1nFjbpJkkgHbifzxZfE3aY wqtCOZ5x6YYYyozIPP8Z3ReyFMMjob682UCxokDEvh+WW8UiksfXYLFiltoi6peGppUK T0fd1B4hPbcblH8CAEjNb+DBLBAkQDZH1ZbVS4FTMTfxA7xuPTKqt2RF3K+OOgLbzx+Z oklA== 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=3aqllZnhirWen18NJ9rLavBCP+/YOWA9zZa8CCtZyTg=; b=RsgPGk/xPKzXxiwjvom/Vj7+yLYiJOQMgQHCfRK6HqND9NoMw4WEaNbmWp0ndiUNc9 5d8Y8h4Fnj3MhVdI1gjgKdOvTGQPXncqRsmdP474eW2O4H2SGQQYnBYgKu05BSW6JN+L iMi1LGQv5TFOQHSQCtmfrIUzXp0Fs5UPJ2lmPGcXHyNP+rw3ai17KQy4Tz4IHLFM4c9f +l+8bzxVYuOaOCHdfezyWVOLJiia2tY/j4Lgrjl3m6nWtDDZJwR0uyJPlJf34a7ZExh9 7+e4AqePw8fWTuPWd1+oR1XcDPK5/YlQnTx53uTdHKztiE7PPn+gyxAMb/UXshxdVJ+I iESw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=o+V8mfJn; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-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 w25si4593748edl.418.2019.10.31.11.38.18; Thu, 31 Oct 2019 11:38:18 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-arm-msm-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=o+V8mfJn; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-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 S1729453AbfJaSiR (ORCPT + 15 others); Thu, 31 Oct 2019 14:38:17 -0400 Received: from mail-pg1-f193.google.com ([209.85.215.193]:40927 "EHLO mail-pg1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729429AbfJaSiQ (ORCPT ); Thu, 31 Oct 2019 14:38:16 -0400 Received: by mail-pg1-f193.google.com with SMTP id 15so4598676pgt.7 for ; Thu, 31 Oct 2019 11:38:15 -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=3aqllZnhirWen18NJ9rLavBCP+/YOWA9zZa8CCtZyTg=; b=o+V8mfJnGcNRBIysUz3ogBIYyeQLpvCAokFHFk3CcXJmiW1VMtm8jwXgA9ITcdbOCI dpipZiut4ELq+5dqxkkwzdTUrXo7h8QuxnXI7Gk9WFX9dM0I01JlXFDJ26LjFH/S9WFm 0OpbVc819QkOksWL7iNk56Dz0bIIFCZHmNaCURmU4P6hhV839a0frnrjNgJBdQxEqJI0 L98/m2btd3eRB44eNjWZcgdA89ZGW1DpgTK8oZ3bImEfQmqlBIL/h74wiRaJWWgUspXO qrXrNDh7dmNhxFZzL8ZmQcDW/K9VCUYJ4Wd/NbDhtvguNXKWvXIbKRbCvsVDTcKKhCH8 hSYQ== 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=3aqllZnhirWen18NJ9rLavBCP+/YOWA9zZa8CCtZyTg=; b=d2XFd9gP1Pi1SppiQA79uPWAREHfIQFtg5mZgR3ZZmhSEifFUQsW1qwSLhHS2Nck9I cKTmGRZXg9ddc+HEIqMaM6XmQOIEHnrhkprgA4P/xgknGSEGJO9Y30a9Uj55HrflRrt5 5ydHepmUbMeUjxjF+V7a5sLeR7OTO3X0XW9K15sgyEcNHUHxJs6iwNhFxlvX+os3vJuf YgDwYBIUKV2ZsfVVp1XJYMae34S5ZesL9jqXdy93NBO7JuZIN35tvaaNEM0RcKP1SACA a2Hievi6rMFwyxeT6Bf14UHJC41eh7bK9DIxUCwACJv8DSd8FOs9YG1LRG9LwSfAzrPc RYAA== X-Gm-Message-State: APjAAAVfeE4dEdQFwycA3gwcdj2rC7HC8XTtE7jHmv1VcZh2K+ppBFZK qEGXy2WhBuTkq78d4sETwpFsVA== X-Received: by 2002:a17:90a:9201:: with SMTP id m1mr9657985pjo.42.1572547095176; Thu, 31 Oct 2019 11:38:15 -0700 (PDT) Received: from localhost ([49.248.58.234]) by smtp.gmail.com with ESMTPSA id c34sm4206329pgb.35.2019.10.31.11.38.14 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 31 Oct 2019 11:38:14 -0700 (PDT) From: Amit Kucheria To: linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, bjorn.andersson@linaro.org, edubezval@gmail.com, agross@kernel.org, masneyb@onstation.org, swboyd@chromium.org, julia.lawall@lip6.fr, Amit Kucheria , Daniel Lezcano , Mark Rutland , Rob Herring , Zhang Rui Cc: devicetree@vger.kernel.org Subject: [PATCH v7 06/15] arm64: dts: msm8916: thermal: Fixup HW ids for cpu sensors Date: Fri, 1 Nov 2019 00:07:30 +0530 Message-Id: <1726fdbf7cf7200ac5dc2a4c811aaee7edc47fd5.1572526427.git.amit.kucheria@linaro.org> 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 msm8916 uses sensors 0, 1, 2, 4 and 5. Sensor 3 is NOT used. Fixup the device tree so that the correct sensor ID is used and as a result we can actually check the temperature for the cpu2_3 sensor. Signed-off-by: Amit Kucheria Reviewed-by: Daniel Lezcano Reviewed-by: Stephen Boyd --- arch/arm64/boot/dts/qcom/msm8916.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.17.1 diff --git a/arch/arm64/boot/dts/qcom/msm8916.dtsi b/arch/arm64/boot/dts/qcom/msm8916.dtsi index 5ea9fb8f2f87..8686e101905c 100644 --- a/arch/arm64/boot/dts/qcom/msm8916.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8916.dtsi @@ -179,7 +179,7 @@ polling-delay-passive = <250>; polling-delay = <1000>; - thermal-sensors = <&tsens 4>; + thermal-sensors = <&tsens 5>; trips { cpu0_1_alert0: trip-point@0 { @@ -209,7 +209,7 @@ polling-delay-passive = <250>; polling-delay = <1000>; - thermal-sensors = <&tsens 3>; + thermal-sensors = <&tsens 4>; trips { cpu2_3_alert0: trip-point@0 {