Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp2353027imj; Mon, 18 Feb 2019 04:39:08 -0800 (PST) X-Google-Smtp-Source: AHgI3Ib0FC2DHNlKGnWZ3Y/ZluFNi8rx4x38N/oiLiex707rdu8P7qlSjmRfBUao2dz367B93gkL X-Received: by 2002:a62:9f1a:: with SMTP id g26mr24422983pfe.123.1550493548373; Mon, 18 Feb 2019 04:39:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550493548; cv=none; d=google.com; s=arc-20160816; b=ZudlKTjlaIUWjs6Iy9TtfgHct8h2ITp8PADRgvrJvWDsYVGwFTIia8mdXHyDXPPCy3 Xztvb++RWdXBdb9uKPT+Yj2EfhVbx1K5HJfBUqjOyyQ/SLY/dOurCOhzK0XvvtNx+VUm Zv1pQTRHPW4mY0UD8cNPtZkcdautNvOTtF8TGlQZkmdBrwxj5Q4Bu5PRj0uni+AMXSd+ WgW63I1yWCYHwelvI40RhEqE0N0vof3V0MSWMgNEo/ykH47YKouuzA8K+f/ucOvB+YZw MUnrx5o8dZzCjCiCpTP8W36H599291DBkVLvhl4dH2pqHGtQPwrXOrmle3gh4B15IGBj Iszg== 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=TK3+IM1IgBx484Kd4JVg2mq35aQ2+7XJ9n4+So5UMlVZCQgFFHsl6lTimpuqc97WFI lXxUSPzPWQNHNfT/QkpcCcLIw5xYLJJMGS7m5gBLMwd4HWjgaYkc0vQZCEJMGxX37Hf5 Va6H7RBKAp5FOm4hpLzZNuq7r0/FRdLovp7jQz+4A/VUtXKzuwsqjONNcAVG7SJGSF6x VWTZF3a0iNxFCGhmyceiVRVP1kOhpXoz4wT7MCVURQYUt8Es6efwownV0W4K43sUAKA5 jiV0dhTrvi3vOXI3Hk/aj7tOFiWVWlYnWVDQHF9Q5WkNWSWAh1KE6CbMvlnZr0KgWIPD wj6A== 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 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 c132si13098436pga.597.2019.02.18.04.38.53; Mon, 18 Feb 2019 04:39:08 -0800 (PST) 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=gikiozbg; 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 S1730959AbfBRMgX (ORCPT + 99 others); Mon, 18 Feb 2019 07:36:23 -0500 Received: from mail-wr1-f68.google.com ([209.85.221.68]:37670 "EHLO mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728878AbfBRMgU (ORCPT ); Mon, 18 Feb 2019 07:36:20 -0500 Received: by mail-wr1-f68.google.com with SMTP id c8so18170171wrs.4 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=P7a+omapZ5qzBUysGTgtV29qE2aKRPmqv8ZneXk053/gEV5kwqa4q+T1HRL/X37CoI PJSI6OfRGzqHfqXvG3dWJ1X8itgDDKkmbiILciENK3d/nFE506UGTJVPFSeBY1PYzi1j q1svmT8sekyytCK1dK6vu+6WI/dclH+dIVFNaGCXtt9XBrtho391zMPO+DzEaJz5EJgd OVMhEFAs+YAxaWjjFm4YlNkzrJnzERcOs2+UwZ2tvGMoUe4OTObhcHvF6MVCiR2lFOkJ jNkOT1U6MvofENMxwt5pSSth/SQitetxujMLsmRo82GUT2YcJU+ZlUDUf4Ae3NLzUI57 DjAw== X-Gm-Message-State: AHQUAua7SxauglFOBL/dCwpgqnAR1zX+WWrn9HAMgazAch9LNL//YiyT oNJSyY1WxIAGGUERuBJL6+YMcB31wrQ= 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: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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(-) 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>; -- 2.17.1