From patchwork Tue Aug 27 12:14:02 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Kucheria X-Patchwork-Id: 172279 Delivered-To: patch@linaro.org Received: by 2002:a92:d204:0:0:0:0:0 with SMTP id y4csp5702154ily; Tue, 27 Aug 2019 05:14:51 -0700 (PDT) X-Google-Smtp-Source: APXvYqz89H2xa4O3h0jbGJK/5/lXZjReL/Tf8jXTNwtfLWJDQdqGKe12GUhDJ55D+zdgG6jmsop0 X-Received: by 2002:a17:902:e9:: with SMTP id a96mr12172090pla.169.1566908091491; Tue, 27 Aug 2019 05:14:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566908091; cv=none; d=google.com; s=arc-20160816; b=ivWDzgGVZkAyAMci7x31n3gboVltbuWAdjL6ERFYQng5LKpJDSIv+6EknsQoiVLZoH e+W5nQPIgbFCr0qNIy/p7dJhoDNz28hsfI1h9h8jr4kjTm4YLXheJ+kVwD5IRJuXAh5Q qLUs7qMDP+rE5ebqlT1UfhgGR0SvplxgNUHrfkkcv/izLLUabanm9BLwRylOSHnN2yA8 UsXikozericihxqXUFRokt6z9cmVpNBC7a1+shUnQuiXTE/QVDWwNPzPGWR4aOqG597b n3hzrvCNLVGWphC8F8TDLh4Ugb9KOpOk+mBqoF9B//NWFzQqZ/nQ7hrbHU2xi6sTg9fc iZyQ== 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=aQIfn5gUVDRbIFCKRh2ia9cPgUWseqw+WNshMD9MdYgVoYS9ByaY9oea5PMkRbanxd B8XtGQKAS8nmVbrAMQEiICajbntCRtIGe0JXV8b8AUrsxv9TNW2/UyTdi4c+leDPnsWJ wZenm0jXQM/TRZbPohM7vRScEJh1+nfajon/sdUdYfZJfrFBK7JptAIdAqGTfpzz1+sj N8990utcheLZ5GzGYc54M5YSQMeVMzB42aQNLucHV1hY+vXLSP3VEdTeABmKUs8Mcvd9 KTwtxECa8oA93WOM51R56SJRc5VHfGAmZ05e4PSOKtZB3DvIUuXDcaFCS7rj4fvepCGa adFQ== 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-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 o7si11534817pgi.127.2019.08.27.05.14.51; Tue, 27 Aug 2019 05:14:51 -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=Cq7XwNmG; 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 S1729804AbfH0MOu (ORCPT + 16 others); Tue, 27 Aug 2019 08:14:50 -0400 Received: from mail-pl1-f194.google.com ([209.85.214.194]:41593 "EHLO mail-pl1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729766AbfH0MOt (ORCPT ); Tue, 27 Aug 2019 08:14:49 -0400 Received: by mail-pl1-f194.google.com with SMTP id m9so11695904pls.8 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=sqAp4wTRWDC+C+GetrTBZtAqx+0cMpoenz32263vyGlgszVHWVZDAYGqG00XQ+YNOR PRKHu7TlJfJu0r0DBQMChcY9Do1p1XXTsRXrdFbfOo9cHF8UH9bd/GibVLOvdrqKLJtn uYTrPJ38WvAEnRG1+36N5PuRm4fjK8G8ybuv1DFxSd79vCsxKp9VKJm/FqHddSzkYrLt W7vfoWZwUFTsOFGEKwzZ0DK3hTsqzfWanb8XX9YqKPUVaK9xYd8dKExGVQFlEPByXDQ6 ny6ajiVBP/Hqds9wkZ6ujVebNIRJ3eyJmE/9YqV+/Wgs75g/uihkCqWjaoeEABA7vh+G 1T8A== X-Gm-Message-State: APjAAAU3ZE0+h4xcGiZw4pM65b7bVjWLnfeZBEGrmK0yLyjkpzxibTGq vn5YNfCX5mKU9NRi1J9/hf5XJQ== 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-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 --- arch/arm64/boot/dts/qcom/msm8916.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.17.1 Reviewed-by: Stephen Boyd 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 {