Received: by 10.223.176.46 with SMTP id f43csp979076wra; Fri, 26 Jan 2018 09:49:52 -0800 (PST) X-Google-Smtp-Source: AH8x224zYUEmD7GNbjrF496rDVure57nDhC2ioYG6t6ctWqWVT/Uwi9VNL0UulpCbnLs6sXfwKgo X-Received: by 2002:a17:902:968d:: with SMTP id n13-v6mr15296460plp.33.1516988992334; Fri, 26 Jan 2018 09:49:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516988992; cv=none; d=google.com; s=arc-20160816; b=NIfZGBTII+XX8+5fmtIuypwup2YOV1sP6wCoObYbYYzSpygpi4cjHVuEzwy7CTr8yS hic2EcT4BVyG51pu6hAk+hHe5d3MOzEBygzJZ5t6wWOwFAtILOlgpLdtTpqaAcyaNZsq 81kUlsAbD63sWsuNrPYW8ed8PAFYdfjMSR+08wXG0FPCPKewNGAOeaSSXByujKkHUuVl WU/po616nLJQ/tOXUGmotFCuCxtad9Tha8GgaQEwA7uMrrFXN8YPedynGGU76PBJpJ1X 2u5hWXpCKhzJ7Vtk0cVK1YbBvVQCAbA7pUQnQzRo+y/KxfVK6SOrS3NDuc1WP+lYvkC3 tvCA== 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=9YoiQkED0QPyv3oR9On1LscGMWIx6pVRNnR/1qAJjKE=; b=EsZwP0mBeVXaHXZmjqYgo0Xnky2N4tixUebEP6+KdXAL49+NfIfkwGAUuR6DeeoCR9 bJaESTM16QB1krLricfh3au4ksvHTdenctphIXrR8k7xiDnigPcHiR11A9uBQcRbBhWg ealanlmrCy3NbxiGzVfexTCeqcMow6KYLRHCpD6EMQolIgORZDDOCjOIzCnavu8+pVkV kHnewpG4MzeA4uvZvNZn9soxXaUqjo0ZVuCT+6ARC9SWEgCTYFV1NV8zwSJtJlXRVg9l 21rgIWm4RH7BFQEaGjDW0QfBP17qHDM6C39lp952GzyGkIdLm6a8Ob1EPkcm+lSkYuq6 0AHA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=P3Tchixw; 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 s9-v6si3901553plr.778.2018.01.26.09.49.37; Fri, 26 Jan 2018 09:49:52 -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=P3Tchixw; 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 S1752104AbeAZRst (ORCPT + 99 others); Fri, 26 Jan 2018 12:48:49 -0500 Received: from mail-wm0-f65.google.com ([74.125.82.65]:39679 "EHLO mail-wm0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751679AbeAZRsr (ORCPT ); Fri, 26 Jan 2018 12:48:47 -0500 Received: by mail-wm0-f65.google.com with SMTP id b21so22796476wme.4; Fri, 26 Jan 2018 09:48:46 -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=9YoiQkED0QPyv3oR9On1LscGMWIx6pVRNnR/1qAJjKE=; b=P3Tchixwvydc69kfms5LLqLBF4QYFA6j3pIVI+DBs41VVBerA9XyyCwmAc72eeXQJd 2Yp1I4rGdDj+0GLGh9cXOaM1IKAeVe5LtQOqAalgV3CuWL/zHV2J3bwem3OEG0VUDCtj ozsL/tITrzB3LCGPDjsW/Hs1ZLLFm1BXwGfI4CTED0/kG/9VfkWH9HB+02Md0E8qKVJM UgdxoUNHkjpraKd6TvNl0CfUvFPiaEW7mVEMzj2IAJQACF4pcOMIzhxXtYi2HknpFbQE IsiGZORagLAVXEZh4HA5u/jt8zII51XWxqqxAb2LJEHD8T9VJJU8yvwHPgWndnuaiYG4 gsYw== 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=9YoiQkED0QPyv3oR9On1LscGMWIx6pVRNnR/1qAJjKE=; b=qKterLAvdy5lGtIqtDe13BZV/HubYPRfhYMOrivDFq9PZhWFzpEg4qoBJDICcmaB1q AKFDINIwbsRXMrrHgkX8OalhSDtzn7wgrD+TCyD+IwU+/dB4R1hx1LqI4qB2wE4fd8V2 T5Ip7cXgmOAp1KxDX8T8faoxAWFYdkacKd4neKCcwe+rrHu4584TAHIwZuDkyxlHzfgY d+hoCDR93bYoAwnXnjy1rdxo5XOfCNg66m/sbBE51eNiqQHBumJC2gucl/Q0uNqR7j6I 7oApOHT8+EjIv7U9b09sM9wDKQLIyoIh1IRyHuS0oUzftI51y9z1RqTVXDYI+shPh+xz nirA== X-Gm-Message-State: AKwxytdiF1/6GT3OvMTsDkk/UsIPojFMEEBf0X0AcRQdn2ZgoGlNjvMe gSsrp0GADZEIdjbtEh2lWMA= X-Received: by 10.80.144.132 with SMTP id c4mr35499815eda.13.1516988925890; Fri, 26 Jan 2018 09:48:45 -0800 (PST) Received: from [192.168.2.62] (p578F04D2.dip0.t-ipconnect.de. [87.143.4.210]) by smtp.gmail.com with ESMTPSA id q6sm2718753edb.85.2018.01.26.09.48.40 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 26 Jan 2018 09:48:45 -0800 (PST) Subject: Re: [linux-sunxi] [PATCH 13/16] arm: dts: sun8i: h3: add thermal zone to H3 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-14-embed3d@gmail.com> <4cfb1faf-a712-c882-1ef1-55845c1bb00e@sholland.org> From: Philipp Rossak Message-ID: <18116ff5-e919-a224-8d7d-2add836c1047@gmail.com> Date: Fri, 26 Jan 2018 18:48:39 +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: <4cfb1faf-a712-c882-1ef1-55845c1bb00e@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:26, Samuel Holland wrote: > On 01/26/18 09:19, Philipp Rossak wrote: >> This patch adds the thermal zones to the H3. We have only one sensor and >> that is placed in the cpu. >> >> Signed-off-by: Philipp Rossak >> --- >> arch/arm/boot/dts/sun8i-h3.dtsi | 9 +++++++++ >> 1 file changed, 9 insertions(+) >> >> diff --git a/arch/arm/boot/dts/sun8i-h3.dtsi b/arch/arm/boot/dts/sun8i-h3.dtsi >> index fbb007e5798e..3f83f6a27c74 100644 >> --- a/arch/arm/boot/dts/sun8i-h3.dtsi >> +++ b/arch/arm/boot/dts/sun8i-h3.dtsi >> @@ -72,6 +72,15 @@ >> }; >> }; >> >> + thermal-zones { >> + cpu-thermal { >> + /* milliseconds */ >> + polling-delay-passive = <250>; >> + polling-delay = <1000>; >> + thermal-sensors = <&ths 0>; > > If #thermal-sensor-cells = <0>, shouldn't this just be <&ths> ? I think both works, but I my intention was to have an accurate description in DT. I thought that that is important in DT. >> + }; >> + }; >> + >> timer { >> compatible = "arm,armv7-timer"; >> interrupts = , >> > > Thanks, > Samuel > Regards, Philipp