Re: [PATCH v3 1/8] scsi: ufs: core: Pass target_freq to clk_scale_notify() vop

From: Bart Van Assche
Date: Wed Feb 05 2025 - 13:03:17 EST


On 2/3/25 12:11 AM, Ziqi Chen wrote:
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.

Reviewed-by: Bart Van Assche <bvanassche@xxxxxxx>