From patchwork Fri Sep 20 21:52:21 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Kucheria X-Patchwork-Id: 174160 Delivered-To: patch@linaro.org Received: by 2002:a92:7e96:0:0:0:0:0 with SMTP id q22csp3031890ill; Fri, 20 Sep 2019 14:53:02 -0700 (PDT) X-Google-Smtp-Source: APXvYqwDc4v21HhZyfVG4W/LuQMc/wrUoI/qhGB9MV5wVuR/Xx7RwNjUK7cW7UBx1DGAVxvEi7mc X-Received: by 2002:a17:906:7ac6:: with SMTP id k6mr20706962ejo.243.1569016382525; Fri, 20 Sep 2019 14:53:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569016382; cv=none; d=google.com; s=arc-20160816; b=PyCt9vX/Edo2C6180YSh8s6qZQo8HZb7Qx5gq7ldCx1HMF9TpgSBtOA8LLIfLrtB/k qBlrF9qHzy7aOkHJbwiqm4ILHfpHU9RRr48OxV9JDBz2V/iX2TzoUw7pbcZnTCuAhxjj Zzk8MiqFeLbSajsbicXuT3fae16ZjfkDfAvNdnHhHWkzbZcH7c7FQMQoZQQREdznkG7v Uy+qnJ+QHmsocJyM4mw+dnkJLgpgxQknuJmSCshFRkCR0dh6+7LOqTve6fHAf16RMVZo swdvDiZAclgxpWGp8/M53HZp1+MVJ/0CmejNborLFxSj1WM7f7dCZp8bIqAoS/cACF7E c3Ig== 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=SJysDVeilRi9CtuM7eEzEWsBdOAJZq41SfjwCM9jY3kgk8fDi5Auqygd+I8z6ktd9K SpGHXIbVNuzs6LI0XXFFTBZpZ+zPGn1Ou8CsDZLQ6hQNGaVS2LQjcVBSeM+RDdZYeX7v o1JwtCCcO3/uMoL9PWxOk7DCQ05U6r+yTt4h4veDh9NHik6CDgCezk9cDJveVVEWpAVW P2PWFDUa0rclsfkk3Ud/Vq3hLJrqiy7/gWU0au6ut4PIp3nga0XdHOrKNrhnh8nE0LnU Dh7zv+wIzcSsIGwjHxk6v4+bq3lRZgo7p4sZiycqApQZI6cxvWWemzbXj+HfaAREsedq q4nA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=wMrJXc68; 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 q25si2307963edb.159.2019.09.20.14.53.02; Fri, 20 Sep 2019 14:53:02 -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=wMrJXc68; 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 S1729558AbfITVw7 (ORCPT + 26 others); Fri, 20 Sep 2019 17:52:59 -0400 Received: from mail-pl1-f195.google.com ([209.85.214.195]:43711 "EHLO mail-pl1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727982AbfITVwy (ORCPT ); Fri, 20 Sep 2019 17:52:54 -0400 Received: by mail-pl1-f195.google.com with SMTP id 4so3788970pld.10 for ; Fri, 20 Sep 2019 14:52:53 -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=wMrJXc68v9aJdzo+OnA3Mz2GYM11Il0OSp6IHgspaSr06VpOzVb7sLTylltNESBLoC /HNxT10D3zDISc0Si/wgimue3I/rZmmXqn6z0/VNgLPiEIWyMLyoyoXr/JUoTGVcUcXR /3zzsloGsSoGS1QTraOgpflGRpkx0KVor9OK631UYpJMJiifbHkzN/K/WieFPavf+DMj ZaUOxBvV41ataIyI1u3dbW4OoEGNIgVV3/bQLUx5b8Djrc9e9FGbZ6l9isNROYMxZV/T 1AEv1MSaqLKAung4VS4+Tkxzuflh8kG1SdW7a6BMUHuxSzr1w19zlmxy+/b38m2a2tEr 0b6g== 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=J6FeW+9CfVTQbf3Ut+VeJe5qUAO/p2DLmoCqHjFg6VcB5yuM4SjC/qeDtf4h/Jenzb CeqPEppR1WzxO12ZnFBqyEVrdRbbJjbIH/dV7Huz9OjjmuRQLvREQJ1oObR7H+VrD/Sg hiiHEbQ62PE+/rZZLwPwNP/fWv1kbgRlIDYMRTFRyQkSD1miaWM1RWOh07xawKEdRYS8 WbnFnK7LR4RZ7fcrg0WJbATJDFVtix/bbh45qBH3k661CYrt+rxXwRBjDAgrHroJ1aoz 3wQ8ElUvIbLLDlQYgTU1ymtgm8hQZ4De1jWLMEC8q993idfGmJchEW1RgJQmgGyHGf5T pqHA== X-Gm-Message-State: APjAAAVztXP+3KHVW3qLHPXgfV0W9x9GoH65z1Z7uU2gIvIgKUY1vb3Y W80+I7+uI6a0TqtJGt84fADi0Ieu7Hb+2Q== X-Received: by 2002:a17:902:59db:: with SMTP id d27mr17849375plj.253.1569016372972; Fri, 20 Sep 2019 14:52:52 -0700 (PDT) Received: from localhost (wsip-98-175-107-49.sd.sd.cox.net. [98.175.107.49]) by smtp.gmail.com with ESMTPSA id c8sm2795740pgw.37.2019.09.20.14.52.52 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 20 Sep 2019 14:52:52 -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, Daniel Lezcano , Mark Rutland , Rob Herring , Zhang Rui Cc: devicetree@vger.kernel.org Subject: [PATCH v4 06/15] arm64: dts: msm8916: thermal: Fixup HW ids for cpu sensors Date: Fri, 20 Sep 2019 14:52:21 -0700 Message-Id: <47305ec06a4b76a79aa073e4c0202a27a853a700.1569015835.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 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 {