Received: by 10.223.176.5 with SMTP id f5csp2779063wra; Mon, 29 Jan 2018 03:57:21 -0800 (PST) X-Google-Smtp-Source: AH8x226ztitKNMl/ZC4rkbR5nKROA7Za6pEyA3Ravo0EKN9abiofsr3DqcCCggAwVXH/rLD6AXBE X-Received: by 2002:a17:902:28a4:: with SMTP id f33-v6mr18715013plb.192.1517227041227; Mon, 29 Jan 2018 03:57:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517227041; cv=none; d=google.com; s=arc-20160816; b=J73QSXDBDJZYxpI6xxMmk+ppOr9TnTGlWKqY0vuyCMPMawAyt8ZUFpQaFn7lJ1ue05 iCyjhKJZsFTozvDT2xcZ2/URRvIpgXjVab6bYlT61UMyUEBiYwBUTqQr4GxlFVmT3kl/ 7T2YeL9sqJ2LHeaSP0cvCg0cgRhfaarpA7KVpZ18eQzVf811eI+P33RbYkzT9ZDMIh+8 W8Q2Y84KqOSsn9dY1WxpGFmB7DmXS3TBvXEHBHcCZuCliZP7wiidDEZs2axWozVDt8Ns OVbJ6bzkdqHD1dPRDxvInkB/zxpLNY4tH6+ZG3brQMAyLq0H9AnLrORL9dr0v7EDQ6l1 6kng== 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=2MveaJnwWR6Ah5ZNeK6oFJb76JqU2zIfjYEwZKKra2w=; b=N96h5gAhWUCRdRK2tfNtcaTRK+eKK1Rz+GmPrKZmIe5sI5+iJSndKm+k9bIkknIQKu j8vDlYN07HASv5EeOaB8kwaPM0zz9m9IzfpXAsZn32rOzEcd0rZcf5atZk8mLFyQjs3m Fy6GuvxDqZqvLNsIdZYlDOf57WQ/RDA1mLWhq4zHpbvarzl3oS/Ny7EV+cWCWGjRzgNr RDFbbEDCIAu96P+vx3RpPUIbEchbeB4cvQ+PQm0q0WcrdpClEoZo9rQH/z+IS8uWbJWp 0iFFQ7d6Msa+94+mvRVVtmNl06fs/WjvwN/0toZuOq6NAFaXqUeZoScv3YQj4eGJsshg RKcw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=hoWTfWIG; 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 p9-v6si1442546pls.826.2018.01.29.03.57.07; Mon, 29 Jan 2018 03:57:21 -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=hoWTfWIG; 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 S1751847AbeA2L4p (ORCPT + 99 others); Mon, 29 Jan 2018 06:56:45 -0500 Received: from mail-wm0-f65.google.com ([74.125.82.65]:52785 "EHLO mail-wm0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751360AbeA2L4m (ORCPT ); Mon, 29 Jan 2018 06:56:42 -0500 Received: by mail-wm0-f65.google.com with SMTP id g1so13664677wmg.2; Mon, 29 Jan 2018 03:56: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=2MveaJnwWR6Ah5ZNeK6oFJb76JqU2zIfjYEwZKKra2w=; b=hoWTfWIG1vGDd2dSbBufpNLRpTHl587I8SJVq7lz410moRkCIcaa85W+RhCQQV1rxE 6EjSRzSdkHH7PDVL0b1C6e3iVU2LmN/6Z0qvj1xl9llAj8OAG++WMaPTk7W7AuNXKU9a Rko5+DSMMBpjEf/7qtVgfHr3HLSlD5oKJ+S/4QRzefrJTh6FvT5DZn5iIibLCF8qI1SP T2SzEA6dqCsuDYRhflqk1M+W57vzL78i43js6t8jxCgCLRwflWdXSAG+KgU9+SpAncIZ HYx5Lb5qjfX2btOT31ebfmpBKrSeGnvazugNpqUVTJiKBvxgjB5zXmx+NyS1lABkbahv 0SpQ== 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=2MveaJnwWR6Ah5ZNeK6oFJb76JqU2zIfjYEwZKKra2w=; b=Jy6AeBGAWJca7da0ghnotUjm+0TmOeXuerRRtEfRTs4spPDtcr6JmbWwn9tg2z5s56 iyCblql+IbSa157dTaGnI/5PT2zTn7it8xxRb4FKOvM9IHnQC/c6iW+RyeQFupButz2u JWPogiSHajbL6PoRp2nYLOilCjnNwzoGp6/fcbew0JGD1yy2WSjG9pHhzWsaeZ2QFJi0 J6ATsTbwaCXTnEEaNuL3622uDo8/msqmNpkKHQOgUiV6l3TOfaVo0KtO/KC2GRs/7bX/ SJeRpGZlPoItns8rATC2fE+DUqgTHVmStA3uAkdW6xXM4EKyy+NB1dFEGliW6WEubY5I U7Yg== X-Gm-Message-State: AKwxyteFPmE8S0Xg/7uviUFN18TJgxrOVb8N0A+0RlfcNmT6kFiuggvx 0VOgnxVisnzVTuV9o33J4j4= X-Received: by 10.28.9.140 with SMTP id 134mr16948733wmj.23.1517227001086; Mon, 29 Jan 2018 03:56: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 y64sm7783244wmg.35.2018.01.29.03.56.39 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 29 Jan 2018 03:56:40 -0800 (PST) Subject: Re: [PATCH v2 13/16] arm: dts: sun8i: h3: add thermal zone to H3 To: Maxime Ripard Cc: lee.jones@linaro.org, robh+dt@kernel.org, mark.rutland@arm.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, 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: <20180128232919.12639-1-embed3d@gmail.com> <20180128232919.12639-14-embed3d@gmail.com> <20180129095034.5crx7ydq5k6f7omv@flea.lan> From: Philipp Rossak Message-ID: Date: Mon, 29 Jan 2018 12:56: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: <20180129095034.5crx7ydq5k6f7omv@flea.lan> Content-Type: text/plain; charset=windows-1252; 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 29.01.2018 10:50, Maxime Ripard wrote: > On Mon, Jan 29, 2018 at 12:29:16AM +0100, 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 the thermal-sensor-cells value is indeed 0, the phandle parsing > will be broken here. > > Maxime > Ok, then I will remove the 0. Thanks, Philipp