From patchwork Mon Feb 18 12:35: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: 158608 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp2440192jaa; Mon, 18 Feb 2019 04:36:21 -0800 (PST) X-Google-Smtp-Source: AHgI3IZo0LCKOeDgiYxr9o057BONu68SvMsrtIOE5jNUspuC4zcytT1Acs4i3ZlCDcxJSFluZkvV X-Received: by 2002:a63:1204:: with SMTP id h4mr22512946pgl.51.1550493381575; Mon, 18 Feb 2019 04:36:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550493381; cv=none; d=google.com; s=arc-20160816; b=uiJA8sRwTaPZedwX3hUK2I65kTlCpQRqPOs7l6ABx3KEndOf6zMC6i7roojbys5MzF fO9KucNO626OyV7nabkkW1X4RNr3BpUU0x7dH9DSyLFgLLcPKBJMG7dHHTu5SlBJPk89 nG/85GVhJy7M9/hIc9Suk4Y9DCPj2l8mAV2qm4EzlWq+kRbkwy4BUDUyT/+9eq4OspAJ JU6b4jNa4pyVfHWCqDbsBqptQfe6CnsrH0cunktS17Ggiz9r+vN+yE8iyR8qm9HWmlHc BJtg0xZh+7Tx9fotCzXMzcI4mPvR6qxY1gLr5LiQCYQHHE1g1xJ8us8aptl7kGMF45KJ 0bEQ== 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=E3zqoukVK+Ya0YkeW29Ko/3au5HBn1f79BzxBsWHcKk=; b=ua6zcXQV31Uq38eW+WmIG85Ja5Zla80Z7Tt5JWiTiMV/lIG+e1rfmEXOtRM/1WanqX oMf+hz1DGNt6NogJzVr0HsfjcMDieemjlpmqLWJrPaBnNRPpeSw1poh3CCLBm01VaCfM O+QFDEPp6cxuRYSYzGPPAO19Y3mvAqvhSGFYAdyINRC/3093XvppCphym9K1HSb0x0AQ Jpgm5O/X7ixByqeUIE53i1CBNYxbnSo6TYmwUit+VwG5ab6b2aAhwZDZVTX+1207OptC ipX+4qH1a0UcPjcnH8MOXZy8Rar+i4EDNU+9cQ9LJklRwZL2hW82QW5SW92cQmH8c1VK xMNg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=gikiozbg; 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 x14si3727322plr.259.2019.02.18.04.36.21; Mon, 18 Feb 2019 04:36:21 -0800 (PST) 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=gikiozbg; 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 S1730549AbfBRMgU (ORCPT + 7 others); Mon, 18 Feb 2019 07:36:20 -0500 Received: from mail-wr1-f68.google.com ([209.85.221.68]:33225 "EHLO mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727084AbfBRMgU (ORCPT ); Mon, 18 Feb 2019 07:36:20 -0500 Received: by mail-wr1-f68.google.com with SMTP id i12so18237465wrw.0 for ; Mon, 18 Feb 2019 04:36:19 -0800 (PST) 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=E3zqoukVK+Ya0YkeW29Ko/3au5HBn1f79BzxBsWHcKk=; b=gikiozbg8GjHM+ZQFhlHYcrN5kXzfvbJO8awqTdiNQM6hhvOuNBWtPVf6ofBk1jDh2 osx0FGPr+RvcBftHozZQmzUItjSf0j9XaJ0Mflm7Su221HreN+yT3A+xJM28ICn6tRRM msYEn6+2njMvURNeGaXaJla7qNn8q9rgV1rePD/Ay4rcsGqL19Rvn3y8xHHlH+hMTa/X ga/kO5HSbsZU6Sr7Cwh3/qDLbWV9sEEl6RafR+w1l+M48c5Aqtk/aVcGfvsoscTOhSDa 1yG+h2aLpgiplJ+C2fIXyrZ73OQdxyRmcvpUPTzp18Qn2Q7OK1TKiLXaoxt8zebytys6 4gHA== 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=E3zqoukVK+Ya0YkeW29Ko/3au5HBn1f79BzxBsWHcKk=; b=Qp62c6XZzqX1pC9bBaMpW/FBvZEVgGzCY1BIduMm2QcZ5PHMyqljYCaKLPZ2QPKmAI DRMrHW8RqKNVkYukesn5i6CZv9sejC6yLoO7qhGFpLRTewk2TtpaNiPkHGzstKU6qYEW GaBMTuAyIlt+c1N/ACwuY5M9FfSuOu4rqHIlnGDwltzT+lnzAbZIdJhzWTVjSMA4xitl riu9kKTdX2EzXI5nGI+FYW8SOegATssmpq2Nt5wu44WQYzxGld67jZxeevZRlshdIlh0 g6M9zsbt9+210gcctq5QT73eIqdkHSWhjWuM/KO7ppQyMptb57auEEpODdbvGc8P4HEd DF/g== X-Gm-Message-State: AHQUAua7nWi0DiEjaBX/OxLnJ3kqxybr+Xe74s7iEqDSOUFpH8HSAiJc AZRBp3Q0rW2MgwP7Nwo36YNF9Q== X-Received: by 2002:adf:f487:: with SMTP id l7mr16017941wro.86.1550493378565; Mon, 18 Feb 2019 04:36:18 -0800 (PST) Received: from localhost ([49.248.190.152]) by smtp.gmail.com with ESMTPSA id d2sm9907391wrs.97.2019.02.18.04.36.16 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 18 Feb 2019 04:36:18 -0800 (PST) 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, David Brown Cc: devicetree@vger.kernel.org Subject: [PATCH v1 07/12] arm64: dts: msm8998: thermal: GPU has two sensors, add the second Date: Mon, 18 Feb 2019 18:05:21 +0530 Message-Id: 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 The first sensor is on top and the second sensor below the GPU Signed-off-by: Amit Kucheria --- arch/arm64/boot/dts/qcom/msm8998.dtsi | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) -- 2.17.1 diff --git a/arch/arm64/boot/dts/qcom/msm8998.dtsi b/arch/arm64/boot/dts/qcom/msm8998.dtsi index ba579cf10254..dc641523fcbd 100644 --- a/arch/arm64/boot/dts/qcom/msm8998.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8998.dtsi @@ -500,7 +500,14 @@ }; }; - gpu-thermal { + gpu-thermal-bottom { + polling-delay-passive = <250>; + polling-delay = <1000>; + + thermal-sensors = <&tsens0 12>; + }; + + gpu-thermal-top { polling-delay-passive = <250>; polling-delay = <1000>;