Re: [PATCH v3 5/8] scsi: ufs: core: Enable multi-level gear scaling

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


On 2/3/25 12:11 AM, Ziqi Chen wrote:
With OPP V2 enabled, devfreq can scale clocks amongst multiple frequency
plans. However, the gear speed is only toggled between min and max during
clock scaling. Enable multi-level gear scaling by mapping clock frequencies
to gear speeds, so that when devfreq scales clock frequencies we can put
the UFS link at the appropraite gear speeds accordingly.

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