Re: [PATCH v3 3/8] scsi: ufs: core: Add a vop to map clock frequency to gear speed

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


On 2/3/25 12:11 AM, Ziqi Chen wrote:
Add a vop to map UFS host controller clock frequencies to the maximum
supported UFS high speed gear speeds. During clock scaling, we can map the
target clock frequency, demanded by devfreq, to the maximum supported gear
speed, so that devfreq can scale the gear to the highest gear speed
supported at the target clock frequency, instead of just scaling up/down
the gear between the min and max gear speeds.

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