Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp22206imu; Thu, 3 Jan 2019 13:12:33 -0800 (PST) X-Google-Smtp-Source: ALg8bN4o0bHpOUS8L/48Yl8aB1j+h1PhotDrOKzw9fyHWnJe/FzEp4rGEA5Fi83otyVApAI0UqVb X-Received: by 2002:a63:82c6:: with SMTP id w189mr18596731pgd.344.1546549953236; Thu, 03 Jan 2019 13:12:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1546549953; cv=none; d=google.com; s=arc-20160816; b=GjUqsapdZ4kpNv/BuDRk/F3K21c1GVTw20EppOKvF2OSp5ZISuqtDScg0NczTeWCNN 60d06UffQCuyvgiT484RzhHfHvxyMUIuGDlqj+CCeuynQJlDGfvy+JaqPi9Hv+34E5Nl 8FvXJzTI3RTOg5QpYS2cHdrM1LDMyXYvaHH/hup7Z1eL+aBczKDkEIWJMTBb0VMKuh9X zJbyCqvInLKnxYiSTyqlDuh8gmVkVb3cKhUcu03XVzexOuMw5kE1yEpiPY0PisjjW1hF 9CaFbf7gd8wQ/WuhTvJEBNew+jXXnUMmrQZt7PpYXT6tTg7N0VMNOOpYNTJ1a2B0qPE8 bGNA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:date:cc:to:from:subject:message-id; bh=KLK7jKYPW8o+Eqj88vF/WEZe1yNf0w53k3s3u44NElI=; b=SwcS6bqjj9+2erYbvCJGmrLlmy+1xHoGL/rKBOb8VqKiWQm6LhYOFtJCKNi5Y3iXlO 7D2iEO1bZjflGyZ4s+cueQ/3FL5G25bIfIPZ85M4nSNLNYQims0J0tHS/cohN44177uY jKy6gsatlws6INYU79eMhH/rNT2PVAkJVFaTs5QbyaG9jGadGns91qV56Zx/CtfCYqfS psyV0n6BiONB0TChFJQ0Ve/YJxJ4d1h3kL+nWSyVzcQ7R/hir+JTt1MHxDDkMNvyU8mq ITPsr3SqcmPkfuWIb3l5z+odCfNfCfatCe1I9RYlN5D2vdgQhkZoyLfgIlm5uzpWXjGG t+FA== 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 z5si5983910pgj.177.2019.01.03.13.12.15; Thu, 03 Jan 2019 13:12:33 -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 S1731843AbfACOQw (ORCPT + 99 others); Thu, 3 Jan 2019 09:16:52 -0500 Received: from mailgw01.mediatek.com ([210.61.82.183]:59262 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1727650AbfACOQu (ORCPT ); Thu, 3 Jan 2019 09:16:50 -0500 X-UUID: e1d564f916d64e99b630e56d666104a1-20190103 X-UUID: e1d564f916d64e99b630e56d666104a1-20190103 Received: from mtkcas08.mediatek.inc [(172.21.101.126)] by mailgw01.mediatek.com (envelope-from ) (mhqrelay.mediatek.com ESMTP with TLS) with ESMTP id 803180767; Thu, 03 Jan 2019 22:16:41 +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; Thu, 3 Jan 2019 22:16:34 +0800 Received: from [172.21.77.4] (172.21.77.4) by mtkcas09.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Thu, 3 Jan 2019 22:16:34 +0800 Message-ID: <1546524994.6818.56.camel@mtksdaap41> Subject: Re: [RFC RESEND PATCH 4/7] arm64: dts: mt8183: add performance state support of scpsys From: Henry Chen To: Viresh Kumar CC: Viresh Kumar , Stephen Boyd , "Rob Herring" , Matthias Brugger , "Ulf Hansson" , Mark Rutland , "Fan Chen" , Weiyi Lu , James Liao , Kees Cook , , , , , Date: Thu, 3 Jan 2019 22:16:34 +0800 In-Reply-To: <20190103044727.i34ak7vw6qfircvq@vireshk-i7> References: <1546438198-1677-1-git-send-email-henryc.chen@mediatek.com> <1546438198-1677-5-git-send-email-henryc.chen@mediatek.com> <20190103044727.i34ak7vw6qfircvq@vireshk-i7> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.10.4-0ubuntu2 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-MTK: N Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 2019-01-03 at 10:17 +0530, Viresh Kumar wrote: > On 02-01-19, 22:09, Henry Chen wrote: > > 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 = ; > > + }; > > + }; > > }; > > I don't see a patch which makes use of this OPP table using the required-opps > thing. Where is that ? > Those user drivers of mt8183(e.g. camera, video decoder,...etc) are still preparing, so I send this RFC series to check if it is feasible first then they can apply the interface and send for review later. Henry