[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <8e2b992282751b6c052d72f15641294ac47c3861.camel@mediatek.com>
Date: Fri, 14 Feb 2025 05:52:38 +0000
From: Peter Wang (王信友) <peter.wang@...iatek.com>
To: "beanhuo@...ron.com" <beanhuo@...ron.com>, "avri.altman@....com"
<avri.altman@....com>, "quic_rampraka@...cinc.com"
<quic_rampraka@...cinc.com>, "quic_cang@...cinc.com" <quic_cang@...cinc.com>,
"quic_nguyenb@...cinc.com" <quic_nguyenb@...cinc.com>,
"quic_nitirawa@...cinc.com" <quic_nitirawa@...cinc.com>, "bvanassche@....org"
<bvanassche@....org>, "quic_ziqichen@...cinc.com"
<quic_ziqichen@...cinc.com>, "junwoo80.lee@...sung.com"
<junwoo80.lee@...sung.com>, "mani@...nel.org" <mani@...nel.org>,
"martin.petersen@...cle.com" <martin.petersen@...cle.com>
CC: "ahalaney@...hat.com" <ahalaney@...hat.com>, "ebiggers@...gle.com"
<ebiggers@...gle.com>, "neil.armstrong@...aro.org"
<neil.armstrong@...aro.org>, "chu.stanley@...il.com" <chu.stanley@...il.com>,
"linux-scsi@...r.kernel.org" <linux-scsi@...r.kernel.org>,
"manivannan.sadhasivam@...aro.org" <manivannan.sadhasivam@...aro.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"alim.akhtar@...sung.com" <alim.akhtar@...sung.com>,
"linux-arm-msm@...r.kernel.org" <linux-arm-msm@...r.kernel.org>,
"minwoo.im@...sung.com" <minwoo.im@...sung.com>, "matthias.bgg@...il.com"
<matthias.bgg@...il.com>, "James.Bottomley@...senPartnership.com"
<James.Bottomley@...senPartnership.com>,
"linux-arm-kernel@...ts.infradead.org"
<linux-arm-kernel@...ts.infradead.org>, "linux-mediatek@...ts.infradead.org"
<linux-mediatek@...ts.infradead.org>, AngeloGioacchino Del Regno
<angelogioacchino.delregno@...labora.com>
Subject: Re: [PATCH v5 1/8] scsi: ufs: core: Pass target_freq to
clk_scale_notify() vop
On Thu, 2025-02-13 at 16:00 +0800, Ziqi Chen wrote:
>
> External email : Please do not click links or open attachments until
> you have verified the sender or the content.
>
>
> From: Can Guo <quic_cang@...cinc.com>
>
> Instead of only two frequencies, if OPP V2 is used, the UFS devfreq
> clock
> scaling may scale the clock among multiple frequencies, so just
> passing
> up/down to vop clk_scale_notify() is not enough to cover the
> intermediate
> clock freqs between the min and max freqs. Hence pass the target_freq
> ,
> which will be used in successive commits, to clk_scale_notify() to
> allow
> the vop to perform corresponding configurations with regard to the
> clock
> freqs.
>
> Signed-off-by: Can Guo <quic_cang@...cinc.com>
> Co-developed-by: Ziqi Chen <quic_ziqichen@...cinc.com>
> Signed-off-by: Ziqi Chen <quic_ziqichen@...cinc.com>
> Reviewed-by: Bean Huo <beanhuo@...ron.com>
> Reviewed-by: Bart Van Assche <bvanassche@....org>
> Tested-by: Neil Armstrong <neil.armstrong@...aro.org>
> ---
>
> v1 -> v2:
> Modify commit message to make it more clear.
>
> v2 -> v3:
> Change 'vops' to 'vop' in commit message.
>
> v4 -> v5:
> keep the indentation consistent for clk_scale_notify() definition.
>
>
Reviewed-by: Peter Wang <peter.wang@...iatek.com>
Powered by blists - more mailing lists