All of lore.kernel.org
 help / color / mirror / Atom feed
From: Yong Wu <yong.wu@mediatek.com>
To: Mars Cheng <Mars.Cheng@mediatek.com>
Cc: "Matthias Brugger" <matthias.bgg@gmail.com>,
	"; Rob Herring" <robh+dt@kernel.org>,
	"; Marc Zyngier" <marc.zyngier@arm.com>,
	"Sean Wang (王志亘)  <sean.wang@mediatek.com>,
	;devicetree@vger.kernel.org; CC Hwang (S致)"
	<cc.hwang@mediatek.com>,
	"; wsd_upstream" <wsd_upstream@mediatek.com>,
	"; Loda Chou (周宏霖) " <Loda.Chou@mediatek.com>
Subject: Re: [PATCH v5 07/11] soc: mediatek: add MT6765 subdomain support
Date: Wed, 25 Jul 2018 17:07:15 +0800	[thread overview]
Message-ID: <1532509635.22373.6.camel@mhfsdcap03> (raw)
In-Reply-To: <ce7724590f4e4551be88b76a7355738c@MTKMBS31N1.mediatek.inc>

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 <matthias.bgg@gmail.com>; Rob Herring <robh+dt@kernel.org>; Marc Zyngier <marc.zyngier@arm.com>; Ryder Lee (李庚V) <Ryder.Lee@mediatek.com>; Stephen Boyd <sboyd@kernel.org>; Sean Wang (王志亘) <sean.wang@mediatek.com>
> Cc: devicetree@vger.kernel.org; CC Hwang (S致) <cc.hwang@mediatek.com>; wsd_upstream <wsd_upstream@mediatek.com>; Loda Chou (周宏霖) <Loda.Chou@mediatek.com>; linux-kernel@vger.kernel.org; linux-mediatek@lists.infradead.org; linux-serial@vger.kernel.org; Mars Cheng (森友) <Mars.Cheng@mediatek.com>; Owen Chen (峻斌) <owen.chen@mediatek.com>; 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 <mars.cheng@mediatek.com>
> Signed-off-by: Owen Chen <owen.chen@mediatek.com>
> ---
>  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 this 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.

> +
[...]
> 
> 
> _______________________________________________
> Linux-mediatek mailing list
> Linux-mediatek@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-mediatek

WARNING: multiple messages have this Message-ID (diff)
From: Yong Wu <yong.wu@mediatek.com>
To: Mars Cheng <Mars.Cheng@mediatek.com>
Cc: "Matthias Brugger" <matthias.bgg@gmail.com>,
	"; Rob Herring" <robh+dt@kernel.org>,
	"; Marc Zyngier" <marc.zyngier@arm.com>,
	"; Ryder Lee (李庚V)" <Ryder.Lee@mediatek.com>,
	"; Stephen Boyd" <sboyd@kernel.org>,
	"; Sean Wang (王志亘)" <sean.wang@mediatek.com>,
	";devicetree@vger.kernel.org; CC Hwang (S致)"
	<cc.hwang@mediatek.com>,
	"; wsd_upstream" <wsd_upstream@mediatek.com>,
	"; Loda Chou (周宏霖)" <Loda.Chou@mediatek.com>,
	"; linux-kernel@vger.kernel.org;
	linux-mediatek@lists.infradead.org;
	linux-serial@vger.kernel.org; Mars Cheng (森友)"
	<Mars.Cheng@mediatek.com>,
	"; Owen Chen (峻斌)" <owen.chen@mediatek.com>,
	"; linux-clk"@vger.kernel.org
Subject: Re: [PATCH v5 07/11] soc: mediatek: add MT6765 subdomain support
Date: Wed, 25 Jul 2018 17:07:15 +0800	[thread overview]
Message-ID: <1532509635.22373.6.camel@mhfsdcap03> (raw)
In-Reply-To: <ce7724590f4e4551be88b76a7355738c@MTKMBS31N1.mediatek.inc>

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 <matthias.bgg@gmail.com>; Rob Herring <robh+dt@kernel.org>; Marc Zyngier <marc.zyngier@arm.com>; Ryder Lee (李庚V) <Ryder.Lee@mediatek.com>; Stephen Boyd <sboyd@kernel.org>; Sean Wang (王志亘) <sean.wang@mediatek.com>
> Cc: devicetree@vger.kernel.org; CC Hwang (S致) <cc.hwang@mediatek.com>; wsd_upstream <wsd_upstream@mediatek.com>; Loda Chou (周宏霖) <Loda.Chou@mediatek.com>; linux-kernel@vger.kernel.org; linux-mediatek@lists.infradead.org; linux-serial@vger.kernel.org; Mars Cheng (森友) <Mars.Cheng@mediatek.com>; Owen Chen (峻斌) <owen.chen@mediatek.com>; 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 <mars.cheng@mediatek.com>
> Signed-off-by: Owen Chen <owen.chen@mediatek.com>
> ---
>  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 this 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.

> +
[...]
> 
> 
> _______________________________________________
> Linux-mediatek mailing list
> Linux-mediatek@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-mediatek



  parent reply	other threads:[~2018-07-25  9:07 UTC|newest]

Thread overview: 96+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-17  8:52 [PATCH v5 0/11] Add basic SoC support for mt6765 Mars Cheng
2018-07-17  8:52 ` Mars Cheng
2018-07-17  8:52 ` Mars Cheng
2018-07-17  8:52 ` [PATCH v5 01/11] dt-bindings: clock: mediatek: document clk bindings for Mediatek MT6765 SoC Mars Cheng
2018-07-17  8:52   ` Mars Cheng
2018-07-17  8:52   ` Mars Cheng
2018-07-17  8:52   ` Mars Cheng
2018-07-20 17:43   ` Rob Herring
2018-07-20 17:43     ` Rob Herring
2018-08-13  9:12     ` Owen Chen
2018-08-13  9:12       ` Owen Chen
2018-08-13  9:12       ` Owen Chen
2018-07-17  8:52 ` [PATCH v5 02/11] dt-bindings: mediatek: Add smi dts binding " Mars Cheng
2018-07-17  8:52   ` Mars Cheng
2018-07-17  8:52   ` Mars Cheng
2018-07-20 17:44   ` Rob Herring
2018-07-20 17:44     ` Rob Herring
2018-07-17  8:52 ` [PATCH v5 03/11] dt-bindings: mediatek: add MT6765 power dt-bindings Mars Cheng
2018-07-17  8:52   ` Mars Cheng
2018-07-17  8:52   ` Mars Cheng
2018-07-17  8:52   ` Mars Cheng
2018-07-20 17:45   ` Rob Herring
2018-07-20 17:45     ` Rob Herring
2018-07-17  8:52 ` [PATCH v5 04/11] soc: mediatek: add MT6765 scpsys support Mars Cheng
2018-07-17  8:52   ` Mars Cheng
2018-07-17  8:52   ` Mars Cheng
2018-07-17  8:52   ` Mars Cheng
2018-07-17 13:00   ` Sean Wang
2018-07-17 13:00     ` Sean Wang
2018-07-17 13:00     ` Sean Wang
2018-07-18  8:54     ` Mars Cheng
2018-07-18  8:54       ` Mars Cheng
2018-07-18  8:54       ` Mars Cheng
2018-07-20 17:46   ` Rob Herring
2018-07-20 17:46     ` Rob Herring
2018-07-17  8:52 ` [PATCH v5 05/11] clk: mediatek: add mt6765 clock IDs Mars Cheng
2018-07-17  8:52   ` Mars Cheng
2018-07-17  8:52   ` Mars Cheng
2018-07-17 10:24   ` Matthias Brugger
2018-07-17 10:24     ` Matthias Brugger
2018-07-18  4:23     ` Mars Cheng
2018-07-18  4:23       ` Mars Cheng
2018-07-18  4:23       ` Mars Cheng
2018-07-17  8:52 ` [PATCH v5 06/11] soc: mediatek: add new flow for mtcmos power Mars Cheng
2018-07-17  8:52   ` Mars Cheng
2018-07-17  8:52   ` Mars Cheng
2018-07-17 15:49   ` kbuild test robot
2018-07-17 15:49     ` kbuild test robot
2018-07-17 15:49     ` kbuild test robot
2018-07-17 18:19   ` [RFC PATCH] soc: mediatek: bus_ctrl_set_release() can be static kbuild test robot
2018-07-17 18:19     ` kbuild test robot
2018-07-17 18:19     ` kbuild test robot
2018-07-17 18:19   ` [PATCH v5 06/11] soc: mediatek: add new flow for mtcmos power kbuild test robot
2018-07-17 18:19     ` kbuild test robot
2018-07-17 18:19     ` kbuild test robot
2018-07-17 20:36   ` kbuild test robot
2018-07-17 20:36     ` kbuild test robot
2018-07-17 20:36     ` kbuild test robot
2018-07-18 14:50   ` Matthias Brugger
2018-07-18 14:50     ` Matthias Brugger
2018-07-25  9:42     ` Owen Chen
2018-07-25  9:42       ` Owen Chen
2018-07-25  9:42       ` Owen Chen
2018-07-17  8:52 ` [PATCH v5 07/11] soc: mediatek: add MT6765 subdomain support Mars Cheng
2018-07-17  8:52   ` Mars Cheng
2018-07-17  8:52   ` Mars Cheng
     [not found]   ` <ce7724590f4e4551be88b76a7355738c@MTKMBS31N1.mediatek.inc>
2018-07-25  9:07     ` Yong Wu [this message]
2018-07-25  9:07       ` Yong Wu
2018-07-25  9:16     ` FW: " Yong Wu
2018-07-17  8:52 ` [PATCH v5 08/11] clk: mediatek: fix pll setting Mars Cheng
2018-07-17  8:52   ` Mars Cheng
2018-07-17  8:52   ` Mars Cheng
2018-07-17  8:52 ` [PATCH v5 09/11] clk: mediatek: add new clkmux register API Mars Cheng
2018-07-17  8:52   ` Mars Cheng
2018-07-17  8:52   ` Mars Cheng
2018-07-19  6:57   ` Sean Wang
2018-07-19  6:57     ` Sean Wang
2018-07-19  6:57     ` Sean Wang
2018-08-13  9:09     ` Owen Chen
2018-08-13  9:09       ` Owen Chen
2018-08-13  9:09       ` Owen Chen
2018-07-17  8:52 ` [PATCH v5 10/11] clk: mediatek: Add MT6765 clock support Mars Cheng
2018-07-17  8:52   ` Mars Cheng
2018-07-17  8:52   ` Mars Cheng
2018-07-17 16:09   ` kbuild test robot
2018-07-17 16:09     ` kbuild test robot
2018-07-17 16:09     ` kbuild test robot
2018-07-17 18:52   ` kbuild test robot
2018-07-17 18:52     ` kbuild test robot
2018-07-17 18:52     ` kbuild test robot
2018-07-17 18:52   ` [RFC PATCH] clk: mediatek: cksys_base can be static kbuild test robot
2018-07-17 18:52     ` kbuild test robot
2018-07-17 18:52     ` kbuild test robot
2018-07-17  8:52 ` [PATCH v5 11/11] arm64: dts: mediatek: add mt6765 support Mars Cheng
2018-07-17  8:52   ` Mars Cheng
2018-07-17  8:52   ` Mars Cheng

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1532509635.22373.6.camel@mhfsdcap03 \
    --to=yong.wu@mediatek.com \
    --cc=Loda.Chou@mediatek.com \
    --cc=Mars.Cheng@mediatek.com \
    --cc=cc.hwang@mediatek.com \
    --cc=marc.zyngier@arm.com \
    --cc=matthias.bgg@gmail.com \
    --cc=robh+dt@kernel.org \
    --cc=wsd_upstream@mediatek.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.