Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp795258ybl; Wed, 28 Aug 2019 05:32:50 -0700 (PDT) X-Google-Smtp-Source: APXvYqx3yvMpM4jE8YevehYBaEH8DzNXf2yPoo9JqaEz422mzYq2ERIaS0VQx2ldL2zOoawyYKMp X-Received: by 2002:a17:902:1105:: with SMTP id d5mr4166794pla.197.1566995570592; Wed, 28 Aug 2019 05:32:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566995570; cv=none; d=google.com; s=arc-20160816; b=qFWTTlpDZ0PqHRPzLdlhB8Ai3Whz6jnzH/8dHPuDwURf+SKW86iNmPCDQRvS/su7ms OK/d93YAv7t5b1EOsSkTjI3gM/+F/uyOo++YuPuKwSrtoCKsJlWOt7f9gZ1a3PYYSVby y8trwMP2dT8+54z25Dv4rEtNW1z7Ph92iXavdcq+/2q8FmDLy8Ev/xMozLWIT0A95v4r lkXF6FoaXJjKk2XS8gF/hBHv3Z+bV9QQi1iy3r0SJDWhKkYHBiR/rfVD0QWqQrXJ8x0T sfY2hc/fUpFK25w4hLUJP1KMbIGhNfsbAZGUh8y3Y07YXRF3HsBNtJCp7ITorkzmYeNl f/6A== 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=yOzESDtt9KDZT7yFqcRa/LG/5al+8P+W/RKfRUhAfzk=; b=QVsXw+FBqSfMKHVdYpzaGINyqM62fndcmOjc6KsxWcg349B2NDe6D1zpKS8ohB2qck hjUZ3/Jmyy6Nnim0657KPnwHGWDMtRFOwyESZCmJ4GBvuP4kCNjybvd4a6Xpa4hdtMdL esAayqcwVypB4LBkiyG1s2u1rrp+Hc/La/5dct5gD9ZHKmSL7MmZPVf2H/jDx69DmlBJ i7Pb7+wLLC16D1wphd9YORWc3ym5wljLtnajEppgNWdLRnErtyFEMu3nVG0CuhYJTBa2 nU9OzrEn+AKkBXqu37jMyFIhgzRzSIR4LFy8Wx3L8fGtAINanWri7RHi6LFymYALYacc sbOg== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r3si1875174plb.14.2019.08.28.05.32.27; Wed, 28 Aug 2019 05:32:50 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726545AbfH1M3A (ORCPT + 99 others); Wed, 28 Aug 2019 08:29:00 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:41915 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726272AbfH1M26 (ORCPT ); Wed, 28 Aug 2019 08:28:58 -0400 X-UUID: 93e72ba8e64043d29648fbd35f590f64-20190828 X-UUID: 93e72ba8e64043d29648fbd35f590f64-20190828 Received: from mtkcas07.mediatek.inc [(172.21.101.84)] by mailgw02.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 1283189724; Wed, 28 Aug 2019 20:28:53 +0800 Received: from mtkcas09.mediatek.inc (172.21.101.178) by mtkmbs01n2.mediatek.inc (172.21.101.79) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Wed, 28 Aug 2019 20:28:58 +0800 Received: from mtksdaap41.mediatek.inc (172.21.77.4) by mtkcas09.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Wed, 28 Aug 2019 20:28:58 +0800 From: Henry Chen To: Georgi Djakov , Rob Herring , Matthias Brugger , Viresh Kumar , Stephen Boyd , Ryan Case CC: Nicolas Boichat , Fan Chen , James Liao , Weiyi Lu , , , , , Henry Chen Subject: [PATCH V3 04/10] arm64: dts: mt8183: add performance state support of scpsys Date: Wed, 28 Aug 2019 20:28:42 +0800 Message-ID: <1566995328-15158-5-git-send-email-henryc.chen@mediatek.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1566995328-15158-1-git-send-email-henryc.chen@mediatek.com> References: <1566995328-15158-1-git-send-email-henryc.chen@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain X-TM-SNTS-SMTP: 10D13BFB56F081C114B106C0DBB1CD118FC6552153BCB6FE09CCA6277A5ACEB12000: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 66aaa07..a58999f 100644 --- a/arch/arm64/boot/dts/mediatek/mt8183.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8183.dtsi @@ -10,6 +10,7 @@ #include #include #include "mt8183-pinfunc.h" +#include / { compatible = "mediatek,mt8183"; @@ -293,6 +294,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