Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751743AbcDUEM6 (ORCPT ); Thu, 21 Apr 2016 00:12:58 -0400 Received: from mailgw01.mediatek.com ([210.61.82.183]:58067 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1751552AbcDUEM4 (ORCPT ); Thu, 21 Apr 2016 00:12:56 -0400 Message-ID: <1461211971.16427.4.camel@mtksdaap41> Subject: Re: [RESEND][PATCH 3/3] arm64: dts: mt8173: Add dynamic power node. From: dawei chien To: Viresh Kumar CC: "Rafael J. Wysocki" , Matthias Brugger , Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , "Daniel Kurtz" , Sascha Hauer , "Daniel Lezcano" , "devicetree@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" , "linux-pm@vger.kernel.org" , "linux-mediatek@lists.infradead.org" , srv_heupstream , Sascha Hauer , "Punit Agrawal" Date: Thu, 21 Apr 2016 12:12:51 +0800 In-Reply-To: <1458029437-12846-4-git-send-email-dawei.chien@mediatek.com> References: <1458029437-12846-1-git-send-email-dawei.chien@mediatek.com> <1458029437-12846-4-git-send-email-dawei.chien@mediatek.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.2.3-0ubuntu6 Content-Transfer-Encoding: 8bit MIME-Version: 1.0 X-MTK: N Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1948 Lines: 57 On Tue, 2016-03-15 at 16:10 +0800, Dawei Chien (錢大衛) wrote: > This device node is for calculating dynamic power in mW. > Since mt8173 has two clusters, there are two dynamic power > coefficient as well. > > Signed-off-by: Dawei Chien > --- > This patch is base on patchset: > https://lkml.org/lkml/2015/11/17/251 Sorry for miss one dependence for this device node. https://lkml.org/lkml/2015/7/9/206 > --- > arch/arm64/boot/dts/mediatek/mt8173.dtsi | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/arch/arm64/boot/dts/mediatek/mt8173.dtsi b/arch/arm64/boot/dts/mediatek/mt8173.dtsi > index f9c44cc..5cb6b4e 100644 > --- a/arch/arm64/boot/dts/mediatek/mt8173.dtsi > +++ b/arch/arm64/boot/dts/mediatek/mt8173.dtsi > @@ -71,6 +71,7 @@ > #cooling-cells = <2>; > #cooling-min-level = <0>; > #cooling-max-level = <7>; > + dynamic-power-coefficient = <263>; > }; > > cpu1: cpu@1 { > @@ -95,6 +96,7 @@ > #cooling-cells = <2>; > #cooling-min-level = <0>; > #cooling-max-level = <7>; > + dynamic-power-coefficient = <263>; > }; > > cpu2: cpu@100 { > @@ -119,6 +121,7 @@ > #cooling-cells = <2>; > #cooling-min-level = <0>; > #cooling-max-level = <7>; > + dynamic-power-coefficient = <530>; > }; > > cpu3: cpu@101 { > @@ -143,6 +146,7 @@ > #cooling-cells = <2>; > #cooling-min-level = <0>; > #cooling-max-level = <7>; > + dynamic-power-coefficient = <530>; > }; > > idle-states { > -- > 1.7.9.5 >