Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp11378898ybi; Thu, 25 Jul 2019 15:21:46 -0700 (PDT) X-Google-Smtp-Source: APXvYqzew1WTOrcAz6QP+kZQ/6P5hBBdpixjZfk+lrjf4Qj95Z49nIieVyGTyKBAMqhw4Gw5JSJq X-Received: by 2002:a65:68c8:: with SMTP id k8mr3927284pgt.192.1564093306582; Thu, 25 Jul 2019 15:21:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564093306; cv=none; d=google.com; s=arc-20160816; b=Xo/ASFRwWVQG8h8JWeqSg9SzyOVNNDqN0W4s7KvLluK8OqqGLjP96cZRJBhbRF46jC 1V4L5UzVZBJoFp4slxa6mstihQ2qrsHnl6QX7IAtP1SGGYS0hz+GwzebhAxC87U/Syvn z1qmOHQ1BoIusbPMhqtDJty79rKHxqupVd8uir+A1ilUKmcxxbDGmDui2adsQhQcvf6T ZOpnRs/ExYvQMukRmexj4MTH1ozTQlAQDGB4mUv15b9AU/+0C+Qxb0H17QmjP8UhUvXr E0U++SLrg5HTl0iogcKhKvMDVx5XzGs6BCrCo377KEkubJFMlkIFCGyzrH95FUS/pWBu m6tQ== 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=WG9jq4WFZwEP3lX+wKYMJWPnRtojYdkiNvJJ73qOjsI=; b=xbLNv2fr2+iFdXXJ0fWX22FiXbjKoWUP9T+VnV4PDT3TkCnBKVQFSH0azSTjIPxNZf 5E82JkosSSGtZhc2ZjgCu8JYLTPH/KJ327+7V04GtjYJb6rKXvAMQ12VClBtz7IXrCBu DCt/lfanRKL51RB7i4FmoRaTX67aRNmTSJM6Z4XMsEK5obWkaw3DXzfyLUQjX+VgkP34 JsCEIVlPOwQSFe+53RdRXXmWYnsqfzdc79oEKG1xnUOR8lipNSQZ0mh3nG2QhCwPSIxc kNOUyexNdBaDcYet1cZIJhcMfnF363vhYhddEqCupB8zkJoxU5MxkHaCDlMhKz+s4kCO RaEg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=rjqSM1l7; 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 j95si16018212plb.349.2019.07.25.15.21.31; Thu, 25 Jul 2019 15:21:46 -0700 (PDT) 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=rjqSM1l7; 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 S1727038AbfGYWTX (ORCPT + 99 others); Thu, 25 Jul 2019 18:19:23 -0400 Received: from mail-pg1-f195.google.com ([209.85.215.195]:39447 "EHLO mail-pg1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727023AbfGYWTV (ORCPT ); Thu, 25 Jul 2019 18:19:21 -0400 Received: by mail-pg1-f195.google.com with SMTP id u17so23709526pgi.6 for ; Thu, 25 Jul 2019 15:19:20 -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=WG9jq4WFZwEP3lX+wKYMJWPnRtojYdkiNvJJ73qOjsI=; b=rjqSM1l76RZ1jsgxJIxswc2R+VHTmGOHJOCRSKds3bO1rK3+jD5av0SQg7lQ/qY93L AWS9BEh5BGPlZpMJmA1VRC15/ta9xntous7ck3TQu5Itkb6PmcmXORv/9nyz7ocBhbMg Xq4KyuptPJGvtvp6USAhDTichdcKUZSIpygMRUTw7tWtUDRr2Sy+kpBsUzfSSPQuFbLM mk6hVIvbV1y+PNBJAdp3dOthn8iR+giucgIxPiXTarWNqW8F5IjfOrdrsfRwRGWzWO6Q bxye46/UvGQeW3DdKoiF7wGR67J46zL00CrrrQ1g31TRYb5kvMd1VfTZ5DGJBi1uztdL SeOA== 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=WG9jq4WFZwEP3lX+wKYMJWPnRtojYdkiNvJJ73qOjsI=; b=svhQlwpRN19XczzlayRRF66aWI+OqOWg6hjqnqhqQNXx94yR71sJm3xVP10jt8KEfD cLAhoLHfIaHFzxVThs2tis/UNyDhJLmYd/8S9EIky5WXT6nQHzixYoN7Iv1svKYODrmF lUhHO6IZAQpxIpK6ViE6nP0thHpafrBrMe6psiwrMFlk+3+jW6MRk9bxmzdHeSpp8a6d 4HwI9LLUxv/moj2gSmCV2JhXlo4A+NJHKmboNHDhhRyWwEuQPKWV1BgM7xey8TtNn9js gy9GX0XPv7Ogn9/WdO2ISoGhxVMKDpY7w4t0Ohb68JHezL0ZjBkmKzjAQH0VRUpXcY27 r9hw== X-Gm-Message-State: APjAAAW/yU/X6XGpXEkB+c7+fH5RKwgqplz7r4Tv4ywovhN2aNHnCtxR /BJanzn6Kh9fz1Cw1jK5Gnt9waJMCgdMaQ== X-Received: by 2002:a63:2148:: with SMTP id s8mr86318468pgm.336.1564093160295; Thu, 25 Jul 2019 15:19:20 -0700 (PDT) Received: from localhost ([49.248.170.216]) by smtp.gmail.com with ESMTPSA id z13sm45986147pfa.94.2019.07.25.15.19.19 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 25 Jul 2019 15:19:19 -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, Andy Gross , Daniel Lezcano , Mark Rutland , Rob Herring , Zhang Rui Cc: devicetree@vger.kernel.org Subject: [PATCH 06/15] arm64: dts: msm8916: thermal: Fixup HW ids for cpu sensors Date: Fri, 26 Jul 2019 03:48:41 +0530 Message-Id: <5d86bfcdfd118294122e2182f3328fe823bc985d.1564091601.git.amit.kucheria@linaro.org> 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 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 --- arch/arm64/boot/dts/qcom/msm8916.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 { -- 2.17.1