From patchwork Thu Jul 25 22:18:41 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Kucheria X-Patchwork-Id: 169757 Delivered-To: patch@linaro.org Received: by 2002:a92:4782:0:0:0:0:0 with SMTP id e2csp12182471ilk; Thu, 25 Jul 2019 15:19:22 -0700 (PDT) X-Google-Smtp-Source: APXvYqyWTHjFRrLoMganfjbbAur99eAMLB8Unpo5Hlw6I/wW0TgH87v2HKphAtF3xWGgcg0h1Mdo X-Received: by 2002:a17:90a:2627:: with SMTP id l36mr97161135pje.71.1564093162646; Thu, 25 Jul 2019 15:19:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564093162; cv=none; d=google.com; s=arc-20160816; b=L7N203j0yEGOCOpGLggtGfqC4yOldhNncRHrCtZTPvVg4YtVGjUgZeSJcmVdt+OSR3 itq9F8t2WLzPgiV7Z33Mvz/VHzJTLmXr9IP9FGR7QjL4CJRjQx/8hyeILsGjcOpN1EIV aaEexrz4UR7519EijRIHiedv7DNxLb0COw8pf9wUFM65aqK/3sNlgZdOUTeofnJ1QhHY 1kx0Sbmxer9y7tceulMLyEOn+07RvaXpkNgsMNnMhNBqm7tH2wLHBCx4O8AyovOVgZaq 77x9cNQWg1V5FZ0vw+JndFoSkgwzhINVM8KQ5MSDf8QlchHEVYPB+UOeJmxjFmKZ/qIZ tUZg== 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=WG9jq4WFZwEP3lX+wKYMJWPnRtojYdkiNvJJ73qOjsI=; b=DEdraxrdEvpKjlahfkE1yXmLdqzZT9zs54PhiWIxw4PRVjorRZECs5uE44BPGioznO e8z6wFFIJGwc3dh6lDrHpU4H+8TZQcPMgL6Zv6R3U53HXYdiycTYXsJly032DCbU+2r7 dyPAiBRw7YeKqSyV2OOX1yUKcNfbDvCjfpwIrzeuY1Q1luDJvdi/SPPyFLTiZOBW/4Ba ilMQIObziDtx1dHV8qUyZ0fQ4qmXAmPd9M3ooQ5uADGZgppeb1/SzN0H87DkcM5c4KrN BqkSVJNGZJrASFq830vvfY5Kil9fsLRZ1g+zCpz7FTqYdQQqGV3+43jb6Mlp4bkoFgfP upuw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=rjqSM1l7; 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 29si19369857pgk.306.2019.07.25.15.19.22; Thu, 25 Jul 2019 15:19:22 -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=rjqSM1l7; 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 S1727000AbfGYWTV (ORCPT + 15 others); Thu, 25 Jul 2019 18:19:21 -0400 Received: from mail-pf1-f196.google.com ([209.85.210.196]:43752 "EHLO mail-pf1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727004AbfGYWTV (ORCPT ); Thu, 25 Jul 2019 18:19:21 -0400 Received: by mail-pf1-f196.google.com with SMTP id i189so23435320pfg.10 for ; Thu, 25 Jul 2019 15:19:20 -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=WG9jq4WFZwEP3lX+wKYMJWPnRtojYdkiNvJJ73qOjsI=; b=rjqSM1l76RZ1jsgxJIxswc2R+VHTmGOHJOCRSKds3bO1rK3+jD5av0SQg7lQ/qY93L AWS9BEh5BGPlZpMJmA1VRC15/ta9xntous7ck3TQu5Itkb6PmcmXORv/9nyz7ocBhbMg Xq4KyuptPJGvtvp6USAhDTichdcKUZSIpygMRUTw7tWtUDRr2Sy+kpBsUzfSSPQuFbLM mk6hVIvbV1y+PNBJAdp3dOthn8iR+giucgIxPiXTarWNqW8F5IjfOrdrsfRwRGWzWO6Q bxye46/UvGQeW3DdKoiF7wGR67J46zL00CrrrQ1g31TRYb5kvMd1VfTZ5DGJBi1uztdL SeOA== 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=WG9jq4WFZwEP3lX+wKYMJWPnRtojYdkiNvJJ73qOjsI=; b=Ly3lUsLpbovmwpgeSvfhLK2dfnFq6Y986X8KsjutQheW0VIlbZHDB9eKlRl83Jsgka Nfeg3sv3Rzk9DihpbKa0qYueFpCpE5ATHghCvRMk0FSwCv0ymjevj9+kAkjxnVpsPZPn rw7GvkUprCJLiIFDFloGvt4yX0cSMt4+YH50Sq2SIwq6AvD9BsrdHKCYAB7JXamXaTVQ L94BK3zsURRbpLe6nqTO7AxbqJTzfe2dTGBgj7JpINBpBWHrzfvBomDwWQMu4llgBMLa 5hGr10RWSgaXyG2U7XwI1uDqLMFroyA27QSfg8y6s0AibGtEY0PBtNkCMynxbB8MzeLj gJxQ== X-Gm-Message-State: APjAAAX070+dDK1yqLdjbRiXkKHSJvjcPJgBpxt+aB0ksE96AR/ekycP dpVojHrNa69i2iNNR6Hl5cztZw== X-Received: by 2002:a63:2148:: with SMTP id s8mr86318468pgm.336.1564093160295; Thu, 25 Jul 2019 15:19:20 -0700 (PDT) Received: from localhost ([49.248.170.216]) by smtp.gmail.com with ESMTPSA id z13sm45986147pfa.94.2019.07.25.15.19.19 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 25 Jul 2019 15:19:19 -0700 (PDT) From: Amit Kucheria To: linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, bjorn.andersson@linaro.org, edubezval@gmail.com, andy.gross@linaro.org, Andy Gross , 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: Fri, 26 Jul 2019 03:48:41 +0530 Message-Id: <5d86bfcdfd118294122e2182f3328fe823bc985d.1564091601.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 --- arch/arm64/boot/dts/qcom/msm8916.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.17.1 Reviewed-by: Daniel Lezcano 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 {