Received: by 10.223.176.46 with SMTP id f43csp888246wra; Fri, 26 Jan 2018 08:26:40 -0800 (PST) X-Google-Smtp-Source: AH8x2270N94+7o6qYG8DOUqH29bsqCgphICEkmwcAQ1PYPTLUI9LYEwTwqURM9+9AElQMpg0da1v X-Received: by 2002:a17:902:ab93:: with SMTP id f19-v6mr15029178plr.10.1516984000273; Fri, 26 Jan 2018 08:26:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516984000; cv=none; d=google.com; s=arc-20160816; b=etGdgObXdpILFEfHyZd1+AZX7MuOt+LuZLtsjrItEHHHDAKcMP3Cy1+xltMg4n8f2v aLlM1UEInAaTZBE7UlYqyR6rwzoqso2CAFnr/TkMnjOXmU2VWk9oRQRqi+TDdPe2EshO bvrd3p+r8suWGGVxx3qB+boXayxIKJcF943BzuHiT/yoNc8fBm7lrGnl+crlYQgQ4ayO 525hIj7NVFXnmpER9RGoBrBaD6Q6IqJ1I0tM9TSQxeitUGUchMOuZKnLAjktBl4rd0gc 6ef34z/6GYZNBonHX1VqdhADrQPIOLHqZumTXNV/al8M5TOiKbJrl+4HWqhVQvf3EQC9 eo2w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature :dkim-signature:arc-authentication-results; bh=0NTGBlQi/25xXU1FNgNg65sE7vInZMrBH3vQA8cql1M=; b=BoYrwB7HZ59AnPRPqRnzJsKoWAyEtnJP4wu/R7uBNDclT6X6XRdMVTj/cDBB8kuBFb nxvUNnGMDBlw6nV/yKP8U9VmczbIaSckN+JjV1BvNu7syLJxKU7lG1nBGhsU6AOiuBXa x9NvCkw5TuS4Hr0B6+AT81NC2uIYaXhtxUFqBj+pRgfLNE4Hyf4lXIegLUomzrSmT/2z xOkbYADSqzq5JUMDYzXNrS6PMgUIMhTjzgTBX45rW63lS8nb5J3gxnIZC5C9il0qhfsm +7ztnl8NRfCU18AYxYFTmW3gMg9sm16c3x3P8RXywvZaITLMFFlEFqnT9XQq0uWsvNwx 1YHw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sholland.org header.s=fm1 header.b=SYHlO33/; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=fmGaMvZu; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i184si3166441pgc.333.2018.01.26.08.26.25; Fri, 26 Jan 2018 08:26:40 -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=@sholland.org header.s=fm1 header.b=SYHlO33/; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=fmGaMvZu; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753944AbeAZQZS (ORCPT + 99 others); Fri, 26 Jan 2018 11:25:18 -0500 Received: from out3-smtp.messagingengine.com ([66.111.4.27]:38201 "EHLO out3-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752302AbeAZQZP (ORCPT ); Fri, 26 Jan 2018 11:25:15 -0500 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id D2C7921132; Fri, 26 Jan 2018 11:25:14 -0500 (EST) Received: from frontend1 ([10.202.2.160]) by compute5.internal (MEProxy); Fri, 26 Jan 2018 11:25:14 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sholland.org; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm1; bh=0NTGBlQi/25xXU1FNgNg65sE7vInZ MrBH3vQA8cql1M=; b=SYHlO33/p88InGQot4tuMlCUoLqaEuY6wg470jQsFglpN opNNWQUwiuy3V9jNFe35q5BZjVRgoZ5ITwmUg0hi+7jLXkaisJbiskIq3mC3vdoF fF9yS+/mWlbZmriXtfVBMJukEf8hal35xjkZ+PPO2nn0wS7KT/h9Tpnx8VXKoKyL fXfvua/EFPDg7hOhv18dXevg8Ib1yfmxKNLMrhNBhoiZCjYZMcVduZf8j6kuq/TM HuP1YV/lkWqpG7BiesNPE+Lb7wiQtaPolVixaR6Jz8W42dRl6+U+tLkhqZVDqYvF IYssy2W49pgkcFbV/Pdog67UhZWXK0xAdxQ6MIpzA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=0NTGBl Qi/25xXU1FNgNg65sE7vInZMrBH3vQA8cql1M=; b=fmGaMvZuvpxXSbqk3dpaQc 5TCrnci5urPvEu/QTY35ZE7SNYwq33QtBJ8B9omyu0O2Q/xZ8CT+YieAHIYrnBXK EXHYRVaruyOXTHbg3Ddx9NBLkrQYdqxyAKDIS7TA/DDUfeoSw7lWrzIKZk2M9EQP REwUZsbfjI3KJavfH9BAI3UJeEOcs7AwqpsRuO5sXlw2qdiJoia5+WcIjk0v+En7 qaZUhrlnkuWuGpn26OJ4mhqbHMJT4mJshwT6dmdbtHdyG+0yOalQ3L/tHZKRghEs jNZu+1OIy2evFqkoRLZpyY+EqxA6t6FgvnZaVbpF/TGeA6+ZPV9rE61kM79BkgTA == X-ME-Sender: Received: from [10.7.35.13] (unknown [161.130.188.112]) by mail.messagingengine.com (Postfix) with ESMTPA id 2818C7E0FA; Fri, 26 Jan 2018 11:25:13 -0500 (EST) Subject: Re: [linux-sunxi] [PATCH 16/16] arm: dts: sun8i: a83t: add thermal zone to A83T To: embed3d@gmail.com, lee.jones@linaro.org, robh+dt@kernel.org, mark.rutland@arm.com, maxime.ripard@free-electrons.com, wens@csie.org, linux@armlinux.org.uk, jic23@kernel.org, knaack.h@gmx.de, lars@metafoo.de, pmeerw@pmeerw.net, davem@davemloft.net, hans.verkuil@cisco.com, mchehab@kernel.org, rask@formelder.dk, clabbe.montjoie@gmail.com, sean@mess.org, krzk@kernel.org, quentin.schulz@free-electrons.com, icenowy@aosc.io, edu.molinas@gmail.com, singhalsimran0@gmail.com Cc: linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-sunxi@googlegroups.com References: <20180126151941.12183-1-embed3d@gmail.com> <20180126151941.12183-17-embed3d@gmail.com> From: Samuel Holland Message-ID: <6ee10c04-6602-b927-5f47-64d6beb10625@sholland.org> Date: Fri, 26 Jan 2018 10:25:12 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 MIME-Version: 1.0 In-Reply-To: <20180126151941.12183-17-embed3d@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 01/26/18 09:19, Philipp Rossak wrote: > This patch adds the thermal zones to the A83T. Sensor 0 is located in the > cpu cluster 0. Sensor 1 is located in cluster 1 and Sensor 3 is located > in the gpu. You mention sensor 3 here, but have sensor 2 in the device tree. > Signed-off-by: Philipp Rossak > --- > arch/arm/boot/dts/sun8i-a83t.dtsi | 20 ++++++++++++++++++++ > 1 file changed, 20 insertions(+) > > diff --git a/arch/arm/boot/dts/sun8i-a83t.dtsi b/arch/arm/boot/dts/sun8i-a83t.dtsi > index 9e53ff5ac4ed..4259a8726031 100644 > --- a/arch/arm/boot/dts/sun8i-a83t.dtsi > +++ b/arch/arm/boot/dts/sun8i-a83t.dtsi > @@ -747,4 +747,24 @@ > #size-cells = <0>; > }; > }; > + > + thermal-zones { > + cpu0_thermal: cpu0-thermal { > + polling-delay-passive = <1000>; > + polling-delay = <5000>; > + thermal-sensors = <&ths 0>; > + }; > + > + cpu1_thermal: cpu1-thermal { > + polling-delay-passive = <1000>; > + polling-delay = <5000>; > + thermal-sensors = <&ths 1>; > + }; > + > + gpu_thermal: gpu-thermal { > + polling-delay-passive = <1000>; > + polling-delay = <5000>; > + thermal-sensors = <&ths 2>; ^^^^ here > + }; > + }; > }; > Thanks, Samuel