From patchwork Mon Oct 21 10:35:25 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Kucheria X-Patchwork-Id: 177047 Delivered-To: patch@linaro.org Received: by 2002:a92:409a:0:0:0:0:0 with SMTP id d26csp3224081ill; Mon, 21 Oct 2019 03:36:06 -0700 (PDT) X-Google-Smtp-Source: APXvYqxZzDIY/zBwBBJDoS8/LlnOJQ9PzOXOzER9qsrm8Nw+KIMr+Tcjs3WZMUs55+Dwe7nZl4hr X-Received: by 2002:aa7:d1ca:: with SMTP id g10mr24236592edp.156.1571654166165; Mon, 21 Oct 2019 03:36:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571654166; cv=none; d=google.com; s=arc-20160816; b=big0dWWR8FhajAIk2N3C2UfCrx4QAzdq04LvKnftx+U7ysMYVSOZzdsotAw4ICWFFd Akbsre/7m4Rlu3c24cKXv8WnTu0JOxKbeAq6NORd9KQpuIdEDI2ihQ+1XO7RuIQpJkA+ 1lZ1E6oEgaoOEI7bBorCdxnEQWOoyZQO13Yal4AOajzh+rs143axuk6GC+oI+q5DsmgK 9KlIdr4KfYg7q2ekd1lljrHxXwq2cL296RaPFokWpzVc77UfQ/utwjkj/uLHYTor2BnV DjeerDl8mVHx7rJomLj4p5e766s+STlVL087RJT1vdudOmpop+ailPD+Z9l20H6w8c0Q z+uw== 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=yL7Qj8/ghjeqWsofoPv2csuJJiKJS+BI17hOcKQw/eM=; b=SMvEw8AxkjbiTgrHjZb9PdWjRSqsyf5PgRpH702Doer8AzzSO6FKHwSlOFPKo8eMxv kSuLBrvTDRLQGaAqxk6nUsl85Q7hyeXCBJZnec/um4kA7GTcIr7MEcQsOWPKwGJCX+Fx Cua7YegEOW3mw7UpLLwwOSojSBG1b602lkaxgQgOhI+6mxVR/mhONd/y/fsXR6rGK/Cy 3Mh5oJY+puD8O0EyeF3g93ELyojpJs/FuqLWjfFdj5Uvc19ZVrEefqKiwwUXMvxdggLh 3kyZCjnkRrg9csC7cg44uzLZ5CsWkXJj1yskAq/IGPODAZJR/pOPS1N8RnraaB0151s0 KMdg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=MUTwTSiG; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-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 k23si8526331ejc.51.2019.10.21.03.36.06; Mon, 21 Oct 2019 03:36:06 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-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=MUTwTSiG; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-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 S1728294AbfJUKgE (ORCPT + 8 others); Mon, 21 Oct 2019 06:36:04 -0400 Received: from mail-pl1-f194.google.com ([209.85.214.194]:38255 "EHLO mail-pl1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728287AbfJUKgE (ORCPT ); Mon, 21 Oct 2019 06:36:04 -0400 Received: by mail-pl1-f194.google.com with SMTP id w8so6423205plq.5 for ; Mon, 21 Oct 2019 03:36:04 -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=yL7Qj8/ghjeqWsofoPv2csuJJiKJS+BI17hOcKQw/eM=; b=MUTwTSiGPdDBbvXmQKHZ9DYnyo8AkHQ6po0q7qSA0A63lmxlrWVYQVW6dQ+0gCiH3m sYL/hBJQD3b3uapKL8Sdcbls+DjVmN3NC1dDncnZEGI3csHkBuekxHMaXDct/MQrcf5f WMvKbQj/u50owK5QeuO/W1L6PtHynq8RaHyJsZcWj0aS1eeZ4/paNOf7Kc0aygVABnlf g93iKUL7pkhiML2CJeV2sdtTk28rK37GI/eNQgVzwIcG5h/vDdCDqslmp45Zc0uTHWYx iKUWFq0nPT/RIx7y3mE8kyqJQ2gGmiWyhGjUhXsPdUjJTI8qdQv+jd0fr2QfD92hGHaE WfIQ== 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=yL7Qj8/ghjeqWsofoPv2csuJJiKJS+BI17hOcKQw/eM=; b=qSyA5vlNXTAWrpnDn3XsAVTCSlRb7kemivT56iuJs2Bn7gJLFbWIkY//w6b+ePeFD8 MsvqIFwXy0LPLZad8dp0bC4xaZFmToChYgy0jslKWS68RvJFXNXZEg7rvCtaBfzRp1l0 nyBKeMHSHP6MsADIwaBU+6Xw/r66VBn0qqcQvDh3lZKB5pc7Us0+DOfIuhxa5zCOgTaL Oun0Ab/ocNtYl95eDguU4M1lxmR7oANkJ5pERrnG8AtO+xpedtWS1JVhW8EgG9Kj8lbM O34JDpdfc1vo8MAN0RzF7gdJai8U+z+7SVGYw4gtZIzB4c7JkfSgaJciYMYbTtxa0Ipu wGFQ== X-Gm-Message-State: APjAAAW0sYoYvDi47HmbDe0Ugh//errjjjnbsDHkODnpkSj3ybTd7vIS tGLYE0kQBY8yKMcaDxxk8kWBxQ== X-Received: by 2002:a17:902:6acb:: with SMTP id i11mr24852585plt.16.1571654163559; Mon, 21 Oct 2019 03:36:03 -0700 (PDT) Received: from localhost ([49.248.62.222]) by smtp.gmail.com with ESMTPSA id y15sm22091643pfp.111.2019.10.21.03.36.02 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 21 Oct 2019 03:36:03 -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 v6 06/15] arm64: dts: msm8916: thermal: Fixup HW ids for cpu sensors Date: Mon, 21 Oct 2019 16:05:25 +0530 Message-Id: <1726fdbf7cf7200ac5dc2a4c811aaee7edc47fd5.1571652874.git.amit.kucheria@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: References: In-Reply-To: References: Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@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 5ea9fb8f2f87d..8686e101905cc 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 {