From patchwork Thu May 2 10:43:09 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Kao X-Patchwork-Id: 10926529 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 775251390 for ; Thu, 2 May 2019 10:43:56 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6534F28D60 for ; Thu, 2 May 2019 10:43:56 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 585BF28D9E; Thu, 2 May 2019 10:43:56 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id F1C4E28D60 for ; Thu, 2 May 2019 10:43:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=uS6pX5tQI4h9AfA69/YBa/q6kBzxFwucWdPckMs7gfk=; b=G279y2DcJqxmAg xcqK01156fmtNnIEnzeuivdKIlxR+Uv2Ji3VzhzovjBLZhQ7by6CaAlxNAcKo6dB448RCI02G3yvW dIl+le3aJLBvrshiXg0nzG7JKIER2SDRiJoLynARq0RVbH6YzLUCclDcogO4Qm3f5o7jCBo+cCqb3 KhXzBDNiGoEiW2vYfhotN/Jg07G7Jsiq2kePWHpt2Y0QxMlPOhSyMfb4cZ0SgatBhmogN5l5FoWqY FnHLfZPIbg+SppbspdQasAhLQYPwUO+AxjeVn/lO4rF9EuI00IBwMZvuGThd37GqvgBDGSXtXWCho RRSgVqeJrkqRWuP5BkyA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1hM9Bu-0000aO-3B; Thu, 02 May 2019 10:43:50 +0000 Received: from mailgw02.mediatek.com ([216.200.240.185]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hM9BV-0008Ui-K1; Thu, 02 May 2019 10:43:26 +0000 X-UUID: 8674623a6b2c4e829683f5329e893f67-20190502 X-UUID: 8674623a6b2c4e829683f5329e893f67-20190502 Received: from mtkcas67.mediatek.inc [(172.29.193.45)] by mailgw02.mediatek.com (envelope-from ) (musrelay.mediatek.com ESMTP with TLS) with ESMTP id 1037504252; Thu, 02 May 2019 02:43:21 -0800 Received: from mtkmbs08n2.mediatek.inc (172.21.101.56) by MTKMBS62N2.mediatek.inc (172.29.193.42) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Thu, 2 May 2019 03:43:20 -0700 Received: from mtkcas09.mediatek.inc (172.21.101.178) by mtkmbs08n2.mediatek.inc (172.21.101.56) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Thu, 2 May 2019 18:43:18 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkcas09.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Thu, 2 May 2019 18:43:18 +0800 From: michael.kao To: , , , , , , Zhang Rui , Eduardo Valentin , Daniel Lezcano , Rob Herring , Mark Rutland , Matthias Brugger Subject: [PATCH 2/8] arm64: dts: mt8183: add/update dynamic power coefficients Date: Thu, 2 May 2019 18:43:09 +0800 Message-ID: <1556793795-25204-3-git-send-email-michael.kao@mediatek.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1556793795-25204-1-git-send-email-michael.kao@mediatek.com> References: <1556793795-25204-1-git-send-email-michael.kao@mediatek.com> MIME-Version: 1.0 X-TM-SNTS-SMTP: 451488FCBD7FF2A06B50F99FEDFFB4088A10F8467D67007DB2C12ECB251BD6462000:8 X-MTK: N X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190502_034325_705660_F2679BD4 X-CRM114-Status: UNSURE ( 7.18 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-pm@vger.kernel.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Add dynamic power coefficients for all cores and update those of CPU0 and CPU4. Signed-off-by: Michael.Kao --- arch/arm64/boot/dts/mediatek/mt8183.dtsi | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8183.dtsi b/arch/arm64/boot/dts/mediatek/mt8183.dtsi index b92116f..5668fb8 100644 --- a/arch/arm64/boot/dts/mediatek/mt8183.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8183.dtsi @@ -58,6 +58,8 @@ compatible = "arm,cortex-a53"; reg = <0x000>; enable-method = "psci"; + dynamic-power-coefficient = <84>; + #cooling-cells = <2>; }; cpu1: cpu@1 { @@ -65,6 +67,8 @@ compatible = "arm,cortex-a53"; reg = <0x001>; enable-method = "psci"; + dynamic-power-coefficient = <84>; + #cooling-cells = <2>; }; cpu2: cpu@2 { @@ -72,6 +76,8 @@ compatible = "arm,cortex-a53"; reg = <0x002>; enable-method = "psci"; + dynamic-power-coefficient = <84>; + #cooling-cells = <2>; }; cpu3: cpu@3 { @@ -79,6 +85,8 @@ compatible = "arm,cortex-a53"; reg = <0x003>; enable-method = "psci"; + dynamic-power-coefficient = <84>; + #cooling-cells = <2>; }; cpu4: cpu@100 { @@ -86,6 +94,8 @@ compatible = "arm,cortex-a73"; reg = <0x100>; enable-method = "psci"; + dynamic-power-coefficient = <211>; + #cooling-cells = <2>; }; cpu5: cpu@101 { @@ -93,6 +103,8 @@ compatible = "arm,cortex-a73"; reg = <0x101>; enable-method = "psci"; + dynamic-power-coefficient = <211>; + #cooling-cells = <2>; }; cpu6: cpu@102 { @@ -100,6 +112,8 @@ compatible = "arm,cortex-a73"; reg = <0x102>; enable-method = "psci"; + dynamic-power-coefficient = <211>; + #cooling-cells = <2>; }; cpu7: cpu@103 { @@ -107,6 +121,8 @@ compatible = "arm,cortex-a73"; reg = <0x103>; enable-method = "psci"; + dynamic-power-coefficient = <211>; + #cooling-cells = <2>; }; };