Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp4691675yba; Tue, 30 Apr 2019 02:47:49 -0700 (PDT) X-Google-Smtp-Source: APXvYqyQnQlKNnGLYoE9hEUCWoyNQej7/3x57VnyvXjK6i1HRfB8HzDAuOCH72RbeGQVdaHEUrtM X-Received: by 2002:a62:ed05:: with SMTP id u5mr67787078pfh.63.1556617669798; Tue, 30 Apr 2019 02:47:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556617669; cv=none; d=google.com; s=arc-20160816; b=utrTMaBxnH2txFUD3fbir54X3w5HG40Hw+do9QL7UVf9VJL+TNMzaGqEzVUWuwzY7O hFpLaO9pR9EUR5PHrvF4H18pEZSc/RdTtBpYxeibct3541gdFTiIJpDsLtcmTYXax+V3 b6JTipHm3dffT5vsqevNhhJieartn6e4kfjtY59e0oRdshCoJ0DkDEARxCsgbUVQs7us l18T4vwWAVmxrni7yOtyCtMiNnEMyHYpAi6ltSz5tNyDLwvnNOEgwv/XjQKCmQTsGciO Qv/UyqCiC+AMdUz9zyKzHaYQofds6xKeUkvXFUS57S3c3wTwHclCivufBpq+AEKTY0aF G2TQ== 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=gPB6lNUBVuSMxqo8qGYHPw1twZaZI41ibnlm04ihMd4=; b=S/u+p+vsZtp4Hrzt53zI7beZBTXsNxoh2HF0NYwRS4fKSadz9cF2PwLXDsBq6Y4lF1 Qgf510rV5teQsj4i9xDkhL/pXVzEZjFTXEiQNSzlOA1+MbyKe/p1R7/i9Svfx3Gi+8bJ GgJp0bY1DnwqO95Xguf6xU8tZbsS5Csf4wo1TX9BTGHDLiWitq6qGjSJekQee4HxkM1Z SidpzAlUOVAOQz26kU9RoO7WWJFWg1k+W44Rk7IeHjNNmljoAL7y3T4/knJBHP1ZQjRR dUFM2WNT8VRtyBSW6YQTMO7u5euHZafPy2HDi882CtmqM2q6hFleIUM8WPzlDS/ZxJhg 2Xgw== 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 b144si23467375pfb.184.2019.04.30.02.47.22; Tue, 30 Apr 2019 02:47:49 -0700 (PDT) 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 S1727141AbfD3Jpa (ORCPT + 99 others); Tue, 30 Apr 2019 05:45:30 -0400 Received: from mailgw01.mediatek.com ([210.61.82.183]:52267 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726960AbfD3Jp2 (ORCPT ); Tue, 30 Apr 2019 05:45:28 -0400 X-UUID: 61ba24f1b2224376a458102693981a62-20190430 X-UUID: 61ba24f1b2224376a458102693981a62-20190430 Received: from mtkmrs01.mediatek.inc [(172.21.131.159)] by mailgw01.mediatek.com (envelope-from ) (mhqrelay.mediatek.com ESMTP with TLS) with ESMTP id 1823337101; Tue, 30 Apr 2019 17:45:20 +0800 Received: from mtkcas09.mediatek.inc (172.21.101.178) by mtkmbs01n1.mediatek.inc (172.21.101.68) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Tue, 30 Apr 2019 17:45:19 +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; Tue, 30 Apr 2019 17:45:19 +0800 From: Henry Chen To: Georgi Djakov , Rob Herring , Matthias Brugger , Viresh Kumar , Stephen Boyd CC: Nicolas Boichat , Fan Chen , James Liao , Weiyi Lu , , , , , "Henry Chen" Subject: [RFC V2 04/11] arm64: dts: mt8183: add performance state support of scpsys Date: Tue, 30 Apr 2019 16:50:58 +0800 Message-ID: <1556614265-12745-5-git-send-email-henryc.chen@mediatek.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1556614265-12745-1-git-send-email-henryc.chen@mediatek.com> References: <1556614265-12745-1-git-send-email-henryc.chen@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain 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 75c4881..665d561 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"; @@ -251,6 +252,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-level"; + + dvfsrc_vol_min: opp1 { + opp,level = ; + }; + + dvfsrc_freq_medium: opp2 { + opp,level = ; + }; + + dvfsrc_freq_max: opp3 { + opp,level = ; + }; + + dvfsrc_vol_max: opp4 { + opp,level = ; + }; + }; }; apmixedsys: syscon@1000c000 { -- 1.9.1