Re: [PATCH] scsi: ufs: ufshcd: Read device property for ref clock

From: Martin K. Petersen
Date: Tue Jul 26 2022 - 23:17:04 EST


On Fri, 15 Jul 2022 21:03:53 +1000, Daniil Lunev wrote:

> UFS storage devices require bRefClkFreq attribute to be set to operate
> correctly at high speed mode. The necessary value is determined by what the
> SoC / board supports. The standard doesn't specify a method to query the
> value, so the information needs to be fed in separately.
>
> DT information feeds into setting up the clock framework, so platforms
> using DT can get the UFS reference clock frequency from the clock
> framework. A special node "ref_clk" from the clock array for the UFS
> controller node is used as the source for the information.
>
> [...]

Applied to 5.20/scsi-queue, thanks!

[1/1] scsi: ufs: ufshcd: Read device property for ref clock
https://git.kernel.org/mkp/scsi/c/ca452621b829

--
Martin K. Petersen Oracle Linux Engineering