mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Macpaul Lin <macpaul.lin@mediatek.com>
To: AngeloGioacchino Del Regno 
	<angelogioacchino.delregno@collabora.com>, <yong.wu@mediatek.com>
Cc: <krzysztof.kozlowski@canonical.com>, <matthias.bgg@gmail.com>,
	<linux-mediatek@lists.infradead.org>,
	<linux-kernel@vger.kernel.org>,
	<linux-arm-kernel@lists.infradead.org>
Subject: Re: [PATCH] memory: mtk-smi: Enable sleep ctrl safety function for MT8195
Date: Mon, 7 Feb 2022 11:12:58 +0800	[thread overview]
Message-ID: <6c360daa-151b-5bb3-5c93-17f90cb693a6@mediatek.com> (raw)
In-Reply-To: <20220204125543.1189151-1-angelogioacchino.delregno@collabora.com>

On 2/4/22 8:55 PM, AngeloGioacchino Del Regno wrote:
> Enable the sleep ctrl function to wait until all the queued commands
> are executed before suspending the LARBs, like done for MT8186.
> 
> Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
> ---
>   drivers/memory/mtk-smi.c | 3 ++-
>   1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/drivers/memory/mtk-smi.c b/drivers/memory/mtk-smi.c
> index c22acd3ddd10..86a3d34f418e 100644
> --- a/drivers/memory/mtk-smi.c
> +++ b/drivers/memory/mtk-smi.c
> @@ -351,7 +351,8 @@ static const struct mtk_smi_larb_gen mtk_smi_larb_mt8192 = {
>   
>   static const struct mtk_smi_larb_gen mtk_smi_larb_mt8195 = {
>   	.config_port                = mtk_smi_larb_config_port_gen2_general,
> -	.flags_general	            = MTK_SMI_FLAG_THRT_UPDATE | MTK_SMI_FLAG_SW_FLAG,
> +	.flags_general	            = MTK_SMI_FLAG_THRT_UPDATE | MTK_SMI_FLAG_SW_FLAG |
> +				      MTK_SMI_FLAG_SLEEP_CTL,
>   	.ostd		            = mtk_smi_larb_mt8195_ostd,
>   };
>   
> 

Reviewed-by: Macpaul Lin <macpaul.lin@mediatek.com>

Regards,
Macpaul Lin

  reply	other threads:[~2022-02-07  5:53 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-04 12:55 AngeloGioacchino Del Regno
2022-02-07  3:12 ` Macpaul Lin [this message]
2022-02-07  8:59   ` Krzysztof Kozlowski
2022-02-08  8:30 ` Krzysztof Kozlowski

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=6c360daa-151b-5bb3-5c93-17f90cb693a6@mediatek.com \
    --to=macpaul.lin@mediatek.com \
    --cc=angelogioacchino.delregno@collabora.com \
    --cc=krzysztof.kozlowski@canonical.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mediatek@lists.infradead.org \
    --cc=matthias.bgg@gmail.com \
    --cc=yong.wu@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®