Received: by 10.223.176.46 with SMTP id f43csp965438wra; Fri, 26 Jan 2018 09:36:47 -0800 (PST) X-Google-Smtp-Source: AH8x226E1Qh418EH2ujM5sSsRxsZu+cFCh9E2HnsETvsAoY34EvzI3svcrT3dE5O4yQaaoZI4zcE X-Received: by 2002:a17:902:8a89:: with SMTP id p9-v6mr14602099plo.397.1516988207896; Fri, 26 Jan 2018 09:36:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516988207; cv=none; d=google.com; s=arc-20160816; b=z5W4dWqjXwpKM3x0+ou4ffNMcC79P+8p8784AtWOZmP76iZUShERVBW0KCiT/8sjoN uP0VaD58whJ1IhZagpwKUDDJX74caUQPmVtcVVqM+BgFFm3WncEQCNPmB842yrfCYgV6 54CVl/+15n+zHs2dtHCUueQqignft8C8N8xeXs9Klnn3w0a7IUmIQqp4qR/Pa2uiCmyq cWTIFmVULg887RFFA11aTAz61gNLHkDGpnhvAifr1UGt8mW1/Ph0EpD1i+3DREAQTNvf TUdLL+HLunKQjvzWyrYH0N3gXhu1lIn0ICTSIgKNRDHZmv6Q8QrztAxZ/uurxSyJx++S ZkzA== 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 :arc-authentication-results; bh=CEm3h5VBSTNJegf/Y4qrPF5vatWuvnrsnoHRCESnGNA=; b=R9eL21QP5Svy6VdBwjmGPR10/lBP5qDQ6mwfbvOT2gAluul1NCwppERMRjVi3NggBB DRfvWF2bN9OSlMUK1OP6nN3jXrhslhV972xwHpwBKafcKCT4O+/a6y88KeXkUArn4A8I zAFXx1CJ7hRmDRhcFk6qgZVcO0q/6Ov3V3TZdVXwweXeC+7fW3sA2hBIi6mHg/blEkSG SoTmmVFahuexzpJJoXdLHc+lErBXmBPg2npXOZMU6eKmIp+Zwl7yh+jx3VtmARFMrnRD WtNihLDWE1exqY2mv5gDJfxcJMg6g9O9910b2ZR3j91eJ+Y5ug7dpwQGmmxnvP8AaoK6 +hIg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=I/7x22LY; 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=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i186si6656724pfg.116.2018.01.26.09.36.33; Fri, 26 Jan 2018 09:36:47 -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=@gmail.com header.s=20161025 header.b=I/7x22LY; 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=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752101AbeAZRfo (ORCPT + 99 others); Fri, 26 Jan 2018 12:35:44 -0500 Received: from mail-wm0-f66.google.com ([74.125.82.66]:53138 "EHLO mail-wm0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751449AbeAZRfm (ORCPT ); Fri, 26 Jan 2018 12:35:42 -0500 Received: by mail-wm0-f66.google.com with SMTP id g1so2776167wmg.2; Fri, 26 Jan 2018 09:35:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=CEm3h5VBSTNJegf/Y4qrPF5vatWuvnrsnoHRCESnGNA=; b=I/7x22LYEAJTWPBwQAmo9uI+/YaPJVmkjb4rIDIBf4cNHTv+6ZhqAoEfW1i9XMDaCc hRF2YHOSgdm6JcEbTKFdMJat5NKMokXdibAGAo7umP8imiaCD11JfnB5adbbc6q0G0bg kpX0be8Iv0NsvqUsr/1aaYgsR9C2s+LNfAbNlUgjsgUGLm6cekxqSPf82z2pma8xP95G jyAeUCAtmH99RSMxYeh2Uu60PA4i/yEzkDbjbo0bFZ7F9xfbXsCbmRgHTe3nbMWHCInH Gw5YPthdPuqk2QBkn16zKeHJ6hyKjbYS/BypCR+O/aQFH/X36/nFwMfLNRaHHp1mhBhs cXbg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=CEm3h5VBSTNJegf/Y4qrPF5vatWuvnrsnoHRCESnGNA=; b=SEMNy1keifCHW+PMv7jRKHgW8OwfpUqN/R8SntUeOUJUotViSpOljH6JLLsaSRDOeB wzhqBud3LyCHxVuxtZaD2FS282v6hdQabgIfMkq+NNSB0znUk6apWBblb6qpYtfFozFQ 7fmVWaUJ3qlEmFmcxuFkRpY+AEXm1CCzIT0vlIY2fQVgobjS2iWKLmAPnb2pAkoAQ82H aMmL8cPK0SfQT3DG6JmjZwQ9sRR790RgxID0/kF9qCLaYT4rIauJlQnGwaLG/sWcWVBe oq0huu96pkYhznVbbtJB8yQ22Gwo/Z50a3AOdtRRsWSlk9zYt0oiNCn5plF8/Tn5ABNq VXug== X-Gm-Message-State: AKwxytcK0IEM+IFgg4LpbweivrvvR0QJTvnqZVj2E/eUx96ipAXaESm1 PWI7ZcJWRoywwzng0WWyf4g= X-Received: by 10.80.145.215 with SMTP id h23mr35118881eda.86.1516988141225; Fri, 26 Jan 2018 09:35:41 -0800 (PST) Received: from [192.168.2.62] (p578F04D2.dip0.t-ipconnect.de. [87.143.4.210]) by smtp.gmail.com with ESMTPSA id c16sm2839952eda.67.2018.01.26.09.35.38 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 26 Jan 2018 09:35:40 -0800 (PST) Subject: Re: [linux-sunxi] [PATCH 16/16] arm: dts: sun8i: a83t: add thermal zone to A83T To: Samuel Holland , 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> <6ee10c04-6602-b927-5f47-64d6beb10625@sholland.org> From: Philipp Rossak Message-ID: Date: Fri, 26 Jan 2018 18:35:38 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 MIME-Version: 1.0 In-Reply-To: <6ee10c04-6602-b927-5f47-64d6beb10625@sholland.org> Content-Type: text/plain; charset=utf-8; format=flowed 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 26.01.2018 17:25, Samuel Holland wrote: > 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. That is a typo/wrong counting error. This should be sensor 2. I will fix that in the next version of this patch series. >> 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 > Thanks, Philipp