From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753527AbbKBKve (ORCPT ); Mon, 2 Nov 2015 05:51:34 -0500 Received: from mailgw01.mediatek.com ([210.61.82.183]:42168 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1753148AbbKBKvb (ORCPT ); Mon, 2 Nov 2015 05:51:31 -0500 X-Listener-Flag: 11101 Message-ID: <1446461487.10039.33.camel@mtksdaap41> Subject: Re: [PATCH v3 2/2] arm64: dts: mt8173: Add thermal zone node for mt8173. From: dawei chien To: Viresh Kumar CC: "Rafael J. Wysocki" , Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , "Kumar Gala" , Matthias Brugger , Daniel Kurtz , Sascha Hauer , Daniel Lezcano , , , , , , , Sascha Hauer Date: Mon, 2 Nov 2015 18:51:27 +0800 In-Reply-To: <20151028153944.GG3716@ubuntu> References: <1445515359-8587-1-git-send-email-dawei.chien@mediatek.com> <1445515359-8587-3-git-send-email-dawei.chien@mediatek.com> <20151028153944.GG3716@ubuntu> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.2.3-0ubuntu6 Content-Transfer-Encoding: 7bit MIME-Version: 1.0 X-MTK: N Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 2015-10-28 at 21:09 +0530, Viresh Kumar wrote: > On 22-10-15, 20:02, Dawei Chien wrote: > > Add thermal zone node to mt8173.dtsi. > > > > Signed-off-by: Dawei Chien > > --- > > This patch is base on > > https://patchwork.kernel.org/patch/7249821/ > > https://patchwork.kernel.org/patch/7249861/ > > https://patchwork.kernel.org/patch/7249891/ > > --- > > arch/arm64/boot/dts/mediatek/mt8173.dtsi | 90 ++++++++++++++++++++++++++++++ > > 1 file changed, 90 insertions(+) > > > > diff --git a/arch/arm64/boot/dts/mediatek/mt8173.dtsi b/arch/arm64/boot/dts/mediatek/mt8173.dtsi > > index 3b18f37..eaf12bf 100644 > > --- a/arch/arm64/boot/dts/mediatek/mt8173.dtsi > > +++ b/arch/arm64/boot/dts/mediatek/mt8173.dtsi > > @@ -16,6 +16,7 @@ > > #include > > #include > > #include > > +#include > > #include "mt8173-pinfunc.h" > > > > / { > > @@ -54,6 +55,18 @@ > > reg = <0x000>; > > enable-method = "psci"; > > cpu-idle-states = <&CPU_SLEEP_0>; > > + static-power-points = < > > + 859000 43 > > + 908000 52 > > + 983000 86 > > + 1009000 123 > > + 1028000 138 > > + 1083000 172 > > + 1110900 180 > > + 1125000 192 > > What's the unit of power here? Is this power accurate? Or just a > number representing the power ? The unit is mW. This power was measured by tools, but it may be not accurate enough since this tool has a error range. > > + >; > > + dynamic-power-coefficient = <263>; > > + #cooling-cells = <2>; > > }; > > @Rob: Looks like another good candidate for the OPP-v2 table? Power. >