[PATCH v2 0/2] ufs: Add support for setting bRefClkFreq attribute

Neil Armstrong neil.armstrong at linaro.org
Tue Oct 28 17:57:32 CET 2025


Hi,

On Fri, 10 Oct 2025 14:55:54 -0500, Jared McArthur wrote:
> Currently, U-Boot doesn't set the bRefClkFreq attribute before
> changing power mode of the UFS device. If there is a difference
> between the UFS device and the host controller, all commands will fail
> after switching to high speed.
> 
> This behavior is rarely observed, because Linux sets the bRefClkFreq
> attribute on probe, and the bRefClkFreq is a persistent attribute. In
> other words, once Linux has booted once, the issue will never be seen.
> 
> [...]

Thanks, Applied to https://source.denx.de/u-boot/custodians/u-boot-ufs (master)

[1/2] ufs: Add support for sending UFS attribute requests
      https://source.denx.de/u-boot/custodians/u-boot-ufs/-/commit/ae0872e9c38394be8fcdb38ef391e635d4cf7a22
[2/2] ufs: Add bRefClkFreq attribute setting
      https://source.denx.de/u-boot/custodians/u-boot-ufs/-/commit/c7327ac29590952089bf3d8994d0951e58cc2322

-- 
Neil



More information about the U-Boot mailing list