Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp5467831ybl; Tue, 27 Aug 2019 05:16:22 -0700 (PDT) X-Google-Smtp-Source: APXvYqwY0n88G2nOJ0DWrg4DSzdFjnSOZo197+1J6PL56y4cGjijpO5ajCm8xrquyFhcxEdCfoPv X-Received: by 2002:a17:90a:3ad0:: with SMTP id b74mr24689098pjc.79.1566908182512; Tue, 27 Aug 2019 05:16:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566908182; cv=none; d=google.com; s=arc-20160816; b=FyYnoYBABXO1/yTR3I6qQ2YNwYYAkOyBe+2MMJJ2fxlVA1q17691C0NVtIkuyaumPB FlRtTlgo8/b3pU/NQ3OYRFmfe4ru4ULzFJJ0TH6JAcjji8wy3Z58OewGQlbXn1WjuPBP DBBicn2Xd2/fEd/ai5gUYGgxFvSadR5pEkhWKlWs2FGdHucJsDIKUIOWrk+uaVWHQBI8 dJVu/Qyk0BUKUJAEZUvoqegtgUeNQVLRJfpfF1ZrP4vfj2vkU++tuIZSCf1yS8N5amk7 PiGJzdLm7MDTtlhguo7cyEvmLhsCn3CwAYpY6/KcY6lJ+AFQzgRALaptRVkAThgsdi3+ fSaA== 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=MENoYed9rPqZPrA/Y9pbBbNZ42AOAV3KIOD7B7ZsAOc=; b=ud17wOdVy1mgohK4RwpnmEbIFrp4q3CNfU10SFcNkpVvMyHsUxhwj4HoEJOFwimdiA vcIq/Gkn4VnRkkXhODokBIbWefx54eo4cKurK/r1hc93aJpKNpZWeHj+aLJdbCZ8Ww6h fWTcWt+GMqjrixKu1I2A6PBKKQdwvq8zRPoxxInYgdMTGW9pHlCKc8R+zFs4KdTmzF/K S4vvHTJIT3pAdJsbL6MWDITC0U7bPBApVXc8BZrdUFZWnpFlLsCIAXDD7Bd3sXj4eOfC tV2+nQwMZMu8dIYERN9Woy62PPzDUIuTuNXZWhPyMRi1X9Ngq8GNsGX6MjDkNQ5i626q Pd5A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Cq7XwNmG; 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 j27si11656154pgj.571.2019.08.27.05.16.03; Tue, 27 Aug 2019 05:16:22 -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=Cq7XwNmG; 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 S1729819AbfH0MOv (ORCPT + 99 others); Tue, 27 Aug 2019 08:14:51 -0400 Received: from mail-pl1-f195.google.com ([209.85.214.195]:37327 "EHLO mail-pl1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729803AbfH0MOt (ORCPT ); Tue, 27 Aug 2019 08:14:49 -0400 Received: by mail-pl1-f195.google.com with SMTP id bj8so11706300plb.4 for ; Tue, 27 Aug 2019 05:14:49 -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=MENoYed9rPqZPrA/Y9pbBbNZ42AOAV3KIOD7B7ZsAOc=; b=Cq7XwNmGxqr7lr5trrx9ocRa44nCu9QhvrPVh5dNxZaAVhX1OpBPNNP/TCUY8kFCPr LROr7UEXZisxC78xT4MiD4QsQChM2LeUr3sFojd2GcIWX9z7YJjJv1UuPBZBW0XQh4ct CmPFVoPGO/CnLnoyJByGD9s0EKGNnX/BU4n1E0zQM8Mq91ArN62gwWnWGa2Otfov94Sn foErxHZ1+wo0vi16MsiugF1tg8vBR8qdJXXlAiRV/TEjIuJYLNe1UPxfbPe3GUhy7d9r XFzy6SKWzH+M8mq/zwqJe2xhIyiaaXNK5IBfkSxSSp/Jg+/AXTHSWec/DOSvl4QoGnRw 0SpQ== 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=MENoYed9rPqZPrA/Y9pbBbNZ42AOAV3KIOD7B7ZsAOc=; b=PD4Z6PEpWJezigqV8luR4GDsU6dZHugOYivdb9pcMtrGyR3DsIbbdT8tmLXz0ahsyo AIIes+UUVO5oRMCxfby3KPYTR0+a6X3NKS1u2r2Nyld6pqorLEbRlxujQPluVFxgh6Ew gwDp1PLSu+nkRJP4ypAZTpdZLEKA2kLWtwUHwqoqjniQ+dC1MeTRs3rjCLMuGHdl4myy W4qfMaENdzqwmacYuI7vWCBagWOorn5fNeI0Lm8z22yVPbIo3tB3byRRo+CGhOXTaAA7 Di/08CvJQ56yI5q8qT9Tcjj/sY4ES5R4zG0pcuwIIqq67Ftv78Hrlhgmj3niHi1iwNlo /pOg== X-Gm-Message-State: APjAAAWV/2h0vJnJ6FaPE8muktBpj8s0mtpDVLsEORyCpRvugEjkyuA9 e/Sce1ZEM9wJtNolG+ZzmLE2zxlHcpLReQ== X-Received: by 2002:a17:902:183:: with SMTP id b3mr11517976plb.210.1566908088645; Tue, 27 Aug 2019 05:14:48 -0700 (PDT) Received: from localhost ([49.248.54.193]) by smtp.gmail.com with ESMTPSA id u69sm13289069pgu.77.2019.08.27.05.14.47 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 27 Aug 2019 05:14:47 -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, sboyd@kernel.org, masneyb@onstation.org, marc.w.gonzalez@free.fr, Daniel Lezcano , Mark Rutland , Rob Herring , Zhang Rui Cc: devicetree@vger.kernel.org Subject: [PATCH v2 06/15] arm64: dts: msm8916: thermal: Fixup HW ids for cpu sensors Date: Tue, 27 Aug 2019 17:44:02 +0530 Message-Id: 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 --- 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 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 { -- 2.17.1