Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp324520imu; Wed, 2 Jan 2019 07:23:55 -0800 (PST) X-Google-Smtp-Source: AFSGD/VvZbtA42RVRYx/j5JzRW5037zIcD2e3M2ZJ8DvidTV68kUH/7eqjG7oRGmiQwUIgYwKla4 X-Received: by 2002:a62:b80a:: with SMTP id p10mr44699634pfe.32.1546442635265; Wed, 02 Jan 2019 07:23:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1546442635; cv=none; d=google.com; s=arc-20160816; b=ub7Dyeye/pcQF1rPpgesP/dUPKMqMNK3tgKS/Uba4d4OJbgX2xzsgs54naRdupO23m 9h55S2D3Z4FbJFmdd9/JINZLtS9ZCvCSj+GrTcVQGrS38Ybva63XjU+vAqUTh7M+v26D GVsk3tjwZCuY2K72/eipian1oF1DEJT0SaG1tWayyPNoOxW0Bi6wDr9evg12qOEeOuiS NZkqpEwfdTuF/XsptBt6n9ab0wCoR9ZDCjkggCPq9MsqsbDXbAqZjRjw6QbXM5Lip3no pYY8+WHJp54lNSV3VcchzAkZS++q33jRCPKMqiwxSZVLY1Yf70FbXDIueFNMDIlaZAku 8/iQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from; bh=a3HSXvdSuFY272n62a++gFsqZmh1wib/BECVc3FklG8=; b=mia+Q8ZwvpRG5eOF6/7oJ4JAc1XApV16yCO+BnXBWRKDvfeh1CQhcVYXfXkAKf/pbv gULqbEwJvMmaG4SXkXMtWPRmk4bZP5P+czTfk1Mm9PMDe+iN0D7k4h4in72mis+5V9ba +B9U8sfGPbyIV8Lk1OouU+ICKIRFWQqwJLXPUILMgMhknkTwvk1egM1ipEE82uVSxhhu JK8r4xSESdhVH4Vi71BGuDa/WnergyCf8uWLYeJ63FmxwN7ZjIqFg6oyajWV24/F/bm/ +Vku5+9PKchMdcZGmSMA63c8LZqnT8fr/GT2En6JicR790bLhbwY67lc13LXT0KwrYKM qB8g== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n32si641154pgm.439.2019.01.02.07.23.40; Wed, 02 Jan 2019 07:23:55 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730055AbfABOBK (ORCPT + 99 others); Wed, 2 Jan 2019 09:01:10 -0500 Received: from mailgw02.mediatek.com ([210.61.82.184]:43549 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1730011AbfABOBI (ORCPT ); Wed, 2 Jan 2019 09:01:08 -0500 X-UUID: 345b80b9619e49628f2f8a04e3d5d62e-20190102 X-UUID: 345b80b9619e49628f2f8a04e3d5d62e-20190102 Received: from mtkcas07.mediatek.inc [(172.21.101.84)] by mailgw02.mediatek.com (envelope-from ) (mhqrelay.mediatek.com ESMTP with TLS) with ESMTP id 690843923; Wed, 02 Jan 2019 22:00:58 +0800 Received: from mtkcas09.mediatek.inc (172.21.101.178) by mtkmbs03n2.mediatek.inc (172.21.101.182) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Wed, 2 Jan 2019 22:00:56 +0800 Received: from mtkslt205.mediatek.inc (10.21.15.75) by mtkcas09.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Wed, 2 Jan 2019 22:00:56 +0800 From: Henry Chen To: Viresh Kumar , Stephen Boyd , Rob Herring , Matthias Brugger , Ulf Hansson CC: Mark Rutland , Fan Chen , Weiyi Lu , James Liao , Kees Cook , , , , , , Henry Chen Subject: [RFC PATCH 4/7] arm64: dts: mt8183: add performance state support of scpsys Date: Wed, 2 Jan 2019 21:44:01 +0800 Message-ID: <1546436644-19234-5-git-send-email-henryc.chen@mediatek.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1546436644-19234-1-git-send-email-henryc.chen@mediatek.com> References: <1546436644-19234-1-git-send-email-henryc.chen@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain X-TM-SNTS-SMTP: 44C3CBE4EF796AAE985068504F4839A19F03833298C4F73B53A065E3F196931A2000:8 X-MTK: N Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add support for performance state of scpsys on mt8183 platform. Signed-off-by: Henry Chen --- arch/arm64/boot/dts/mediatek/mt8183.dtsi | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8183.dtsi b/arch/arm64/boot/dts/mediatek/mt8183.dtsi index 47926a7..e396410 100644 --- a/arch/arm64/boot/dts/mediatek/mt8183.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8183.dtsi @@ -9,6 +9,7 @@ #include #include #include +#include / { compatible = "mediatek,mt8183"; @@ -243,6 +244,26 @@ "vpu-3", "vpu-4", "vpu-5"; infracfg = <&infracfg>; smi_comm = <&smi_common>; + operating-points-v2 = <&dvfsrc_opp_table>; + dvfsrc_opp_table: opp-table { + compatible = "operating-points-v2-mtk-level"; + + dvfsrc_vol_min: opp1 { + mtk,level = ; + }; + + dvfsrc_freq_medium: opp2 { + mtk,level = ; + }; + + dvfsrc_freq_max: opp3 { + mtk,level = ; + }; + + dvfsrc_vol_max: opp4 { + mtk,level = ; + }; + }; }; apmixedsys: syscon@1000c000 { -- 1.9.1