Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934121AbbLPN3p (ORCPT ); Wed, 16 Dec 2015 08:29:45 -0500 Received: from mailgw02.mediatek.com ([210.61.82.184]:41727 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S932965AbbLPN31 (ORCPT ); Wed, 16 Dec 2015 08:29:27 -0500 X-Listener-Flag: 11101 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 , Dawei Chien , , , , , , , Sascha Hauer , Punit Agrawal Subject: [PATCH v6 3/3] arm64: dts: mt8173: Add dynamic power node. Date: Wed, 16 Dec 2015 21:29:16 +0800 Message-ID: <1450272556-29770-4-git-send-email-dawei.chien@mediatek.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1450272556-29770-1-git-send-email-dawei.chien@mediatek.com> References: <1450272556-29770-1-git-send-email-dawei.chien@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain X-MTK: N Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1516 Lines: 56 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 --- 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 c962d94..b6f4ea5 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 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/