From patchwork Wed Oct 16 07:34:05 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Kucheria X-Patchwork-Id: 176431 Delivered-To: patch@linaro.org Received: by 2002:a92:7e96:0:0:0:0:0 with SMTP id q22csp6992850ill; Wed, 16 Oct 2019 00:34:50 -0700 (PDT) X-Google-Smtp-Source: APXvYqwxJa2mcwsWn5IunXrIiyXrv9iLQNqW/ez5qfySoj0jJ3Vwr1HsD1q6id5M73uiBQI+muAB X-Received: by 2002:a05:6402:514:: with SMTP id m20mr38514091edv.187.1571211289958; Wed, 16 Oct 2019 00:34:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571211289; cv=none; d=google.com; s=arc-20160816; b=OqByBugpgIZO8pZzyiLQggsT3uB6YJ/IsZlKQMsgk7SX3Gp+H8s/mxPmweR+IbGcOf 59lMV5IZ0VAVCTlNGYbBavQumPNr6gy5DVvGVCRxUI/OlIgF7x0RvkjBV8t1OhwNQAFI HMGgpuZlbwcWBFhLgMKGEL5YIpm/gX9ss4dQ+Az2w3MDjLEgWkmzqQbJbI8P9RFu9FVM rn7T/XlHD51+U79AurIaRFj6PXNOKsBRzc6Ef5evHDyERscLARtBFkOK52L5SUlhh7MZ EUY2nKWQfnzodC5vwqgdNLYCP/a/QjnhjaDqpTCrP1c8xzW2T233xehkTqedYlrmQy2t 1/Eg== 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=z8cfaeS2cYUQRqdZDjHpMNkpoX+5Tlz1dE3cnlGbNIgu19FWxEAE3BvIQnAXA2ldoB Qhsev6EvehRLJ3K2YogfuGXhQy2QqpFsUCyd/qXlqiedrhdUIW4bREJ7XGnAgQz/rplI WqtT9zJSgoJ7ar6YVuahiYNXRGzxZ/GKFUeFGK+1tPvyAQrj3V19t74FbR0qVejbAO97 jIY4V6Zd9Ki5/OnRmGJ0X99LTYvDElCdh6cwr8psPhZrcVumpO8Y2Gn2S2sfy6v8jxpU kuxiZpA9VhpT66ZYVuDoeHpQQ3zp8vM0U9ECIo4ImQhAY7ofQ/jyb5H2WOgXMlHMkZpe Uaqw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="nN/f9lTg"; 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 l45si16276411edc.185.2019.10.16.00.34.49; Wed, 16 Oct 2019 00:34:49 -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="nN/f9lTg"; 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 S1733261AbfJPHeq (ORCPT + 15 others); Wed, 16 Oct 2019 03:34:46 -0400 Received: from mail-pf1-f195.google.com ([209.85.210.195]:43637 "EHLO mail-pf1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1733052AbfJPHep (ORCPT ); Wed, 16 Oct 2019 03:34:45 -0400 Received: by mail-pf1-f195.google.com with SMTP id a2so14145018pfo.10 for ; Wed, 16 Oct 2019 00:34:45 -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=nN/f9lTgLnFe//TUKI8fJUpLDvb37TlumYOdeXiseUghsV12NwceaVk6fdI+9Hg1js QU0JA9GxvzOETosIhcMP9n+k7TyYT66Jvy7WCKCPLjjrlBRrVbM8w/uka0wSomrmqZ+g Ley+D4JU0NqatwT5HjVn4XtSjUklR8x+Ksbzx6HtRnM56MXtv3StN6tZBcJXERSeQ1RS 9KlaZholTc00ZiABPfX8daUvs2nyS8rVMr0JGaRCmWsuvVGVnslvua0gmdE8AQlkwKFI mwKQM2bd/QMC9wEI3sDpEGrTkyKa5mXFbyHFYsVdDphL2bqo1NBnv8jw6ZyKnWc+umXt UbQg== 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=lwwttTnjHloUpordcM7KloN6HpN5xaGdK5Tud9WAbjOERF8HoTr6gjU7ZygaMFzl+R YaAQBqwTVmsDvG8bZE2dETRjAiyk1HQYCe8VvWW27c7LK1B6hWPqMao3r4sBDszggKL/ BrBWtjhlNPWaoKgMNNaQknPAIdFt0pgNzeNQAzR6Xf+emVhzxoz0CqQMuMiJsyjvEw+6 zv1a/DX83qWVttQHBLm5iplj91H2obSTK2VSwvtf5qGRuN7tfJS5g+AGg+vldvg/vA0x W9rNqnaHmxoSl86fZ0HlU4G+95efxy2/7x6xfNvbnhwCrQMQEZKieEf+t7pC5LpCjdBt 2V2w== X-Gm-Message-State: APjAAAUA3LpOUb7nvCaMWqPwnVHksgS3E0gjIA07aeLn2edkRPob2qNH 2cR49lwIKybcBZGIrARAuCwxjg== X-Received: by 2002:aa7:96d1:: with SMTP id h17mr43196272pfq.187.1571211284804; Wed, 16 Oct 2019 00:34:44 -0700 (PDT) Received: from localhost ([49.248.175.127]) by smtp.gmail.com with ESMTPSA id bx18sm1468650pjb.26.2019.10.16.00.34.43 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 16 Oct 2019 00:34:44 -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, Amit Kucheria , 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: Wed, 16 Oct 2019 13:04:05 +0530 Message-Id: <1726fdbf7cf7200ac5dc2a4c811aaee7edc47fd5.1571210269.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 {