Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp329863imu; Wed, 2 Jan 2019 07:30:32 -0800 (PST) X-Google-Smtp-Source: ALg8bN5qYmq0ai2S/S3I5QULxRx/bbKQe3VvgCjPoZQHBdzPaqZRHuBzvswE6Dzip4YZha6NMJqh X-Received: by 2002:a63:2744:: with SMTP id n65mr13794117pgn.65.1546443031919; Wed, 02 Jan 2019 07:30:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1546443031; cv=none; d=google.com; s=arc-20160816; b=YeJSZdrWjlqs7bV2os/qMT41LspdhwB6r3U+73m70bmqXfPbMWc+gPHQVlTATqVZ1Y lUx9uAHOMjbbjHyaG6JP0haqnGNg8l7i0B3cVyZ0Jq+bob7pnvRdqSRy6iy1HYgfdVMd 40jD4FJnzlGk7gSnYHzSRX+7PUPL66oOnYhlFw3HUgnqJ2p9Px7JTsJ+995ErwgIX5Bn pPF8RSc57LYKsgaGoO0gpuWGD6o+HdjYFT5sVQWZE5rH1uvsOTVQoUCoEGaPkX5x/Jm/ QkROJyZsMuJiHyEtOTcxv415V948D7nTQB/dg4JPzvAKuhWR/f6ZptjAvAggD49QL5ur dubw== 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=oo38r8Xqr4zv21Q4UsadmVUQQppxjkmfkYCkJkGK53/pFJfTUozGSt3c7WtlQxqGZs YHrppFML/fNkLvcwwl9Sh/XrLbdUrxp7W26BnGCIru0GYw1RpTt1ENKBSz1cUvSzZ9US JXvSm1UirI4v7dyXI+FsJD+fsCp2s5OsdV/Mj3m38Xor7dKqofl+KhbpTIjaUZHEi/+x TP+hbNgJ4vWxRw5Iy13gCLlUqQAJDM3k50ia9Z8CaA2Uns0UmiG5pXP7w0Gnrnp/Y5FL VcRT9XYzLpCPdi4t8n8oq0hZjyhybi+kNvE0wU3o/izXC0jxKz2d8cwy7IgGCKnkioXl wmvw== 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 21si13795518pge.374.2019.01.02.07.30.17; Wed, 02 Jan 2019 07:30:31 -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 S1729488AbfABOKh (ORCPT + 99 others); Wed, 2 Jan 2019 09:10:37 -0500 Received: from mailgw01.mediatek.com ([210.61.82.183]:19147 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1728968AbfABOKe (ORCPT ); Wed, 2 Jan 2019 09:10:34 -0500 X-UUID: 8e5a7e2b56204ec190cc5f4089c1b548-20190102 X-UUID: 8e5a7e2b56204ec190cc5f4089c1b548-20190102 Received: from mtkcas07.mediatek.inc [(172.21.101.84)] by mailgw01.mediatek.com (envelope-from ) (mhqrelay.mediatek.com ESMTP with TLS) with ESMTP id 1070872399; Wed, 02 Jan 2019 22:10:28 +0800 Received: from mtkcas09.mediatek.inc (172.21.101.178) by mtkmbs02n2.mediatek.inc (172.21.101.101) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Wed, 2 Jan 2019 22:10:26 +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:10:27 +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 RESEND PATCH 4/7] arm64: dts: mt8183: add performance state support of scpsys Date: Wed, 2 Jan 2019 22:09:55 +0800 Message-ID: <1546438198-1677-5-git-send-email-henryc.chen@mediatek.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1546438198-1677-1-git-send-email-henryc.chen@mediatek.com> References: <1546438198-1677-1-git-send-email-henryc.chen@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain X-TM-SNTS-SMTP: D48DC4870D02D8E17D15D4F304B2C21EF62D4EF4BEF3D977932C1319C8B05CC92000: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