From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mailgw02.mediatek.com ([210.61.82.184]:29920 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1728567AbeGYK12 (ORCPT ); Wed, 25 Jul 2018 06:27:28 -0400 Message-ID: <1532510191.22373.11.camel@mhfsdcap03> Subject: Re: FW: [PATCH v5 07/11] soc: mediatek: add MT6765 subdomain support From: Yong Wu To: CC: Matthias Brugger , "; Rob Herring" , "; Marc Zyngier" , "; Ryder Lee =?UTF-8?Q?=28=E6=9D=8E=E5=BA=9AV=29?=" , "; Stephen Boyd" , "; Sean Wang =?UTF-8?Q?=28=E7=8E=8B=E5=BF=97=E4=BA=98=29?=" , ";CC Hwang =?UTF-8?Q?=28S=E8=87=B4=29?=" , "; wsd_upstream" , "; Loda Chou =?UTF-8?Q?=28=E5=91=A8=E5=AE=8F=E9=9C=96=29?=" , "; linux-kernel@vger.kernel.org; linux-mediatek@lists.infradead.org; linux-serial@vger.kernel.org;Mars Cheng =?UTF-8?Q?=28=E6=A3=AE=E5=8F=8B=29?=" , "; Owen Chen =?UTF-8?Q?=28=E5=B3=BB=E6=96=8C=29?=" , <"; linux-clk"@vger.kernel.org> Date: Wed, 25 Jul 2018 17:16:31 +0800 In-Reply-To: References: <1531817552-17221-1-git-send-email-mars.cheng@mediatek.com> <1531817552-17221-8-git-send-email-mars.cheng@mediatek.com> Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Sender: linux-clk-owner@vger.kernel.org List-ID: Hi Mars, > -----Original Message----- > From: Linux-mediatek [mailto:linux-mediatek-bounces@lists.infradead.org] On Behalf Of Mars Cheng > Sent: Tuesday, July 17, 2018 4:52 PM > To: Matthias Brugger ; Rob Herring ; Marc Zyngier ; Ryder Lee (李庚V) ; Stephen Boyd ; Sean Wang (王志亘) > Cc: devicetree@vger.kernel.org; CC Hwang (S致) ; wsd_upstream ; Loda Chou (周宏霖) ; linux-kernel@vger.kernel.org; linux-mediatek@lists.infradead.org; linux-serial@vger.kernel.org; Mars Cheng (森友) ; Owen Chen (峻斌) ; linux-clk@vger.kernel.org; linux-arm-kernel@lists.infradead.org > Subject: [PATCH v5 07/11] soc: mediatek: add MT6765 subdomain support > > add extend data, parent_n for domain-subdomain corresponse. > > Signed-off-by: Mars Cheng > Signed-off-by: Owen Chen > --- > drivers/soc/mediatek/mtk-scpsys-ext.c | 132 ++++++++++++++++++++++++++++++++- > 1 file changed, 131 insertions(+), 1 deletion(-) > [...] > + > +#define SMI_COMMON_SMI_CLAMP_MT6765 0x03C0 > +#define SMI_COMMON_SMI_CLAMP_SET_MT6765 0x03C4 > +#define SMI_COMMON_SMI_CLAMP_CLR_MT6765 0x03C8 From my understanding, this smi register could clamp the dummy commands after the larb power down for the sake of safe, is it right? If it's yes, I guess we could put it in the larb device's runtime_resume/runtime_suspend callback. we can enable the clamp in the larb's runtime_suspend and clear it in the larb's runtime_resume. then we don't need add "syscon" for smi-common node. please tell me if I miss something. Thanks. > + [...] > -- > 1.7.9.5 > > > _______________________________________________ > Linux-mediatek mailing list > Linux-mediatek@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-mediatek