Re: [PATCH v2 2/3] scsi: ufs: mediatek: allow clock scaling when ufs_fde is absent
From: Peter Wang
Date: Mon Nov 30 2026 - 03:25:27 EST
On Fri, 2026-11-27 at 21:25 +0800, Ilia Snezhkov wrote:
> Should ufs_fde remain optional as ufs_mtk_is_clk_scale_ready() and
> clk_fde_scale indicate? If so, I will update Patch 2/3's commit
> message
> in v3 to describe the mainline 5e5976f5242d mismatch cleanly
> (dropping
> the misleading MT6789 example) and carry your Reviewed-by tags on
> Patches 1/3 and 3/3. Or if ufs_fde is intended to be mandatory
> whenever
> clock scaling is enabled, please let me know and I can adjust
> accordingly.
>
> Best regards,
> Ilia
Hi Ilia,
Thank you for your detailed explanation.
I checked different platforms, and FDE is indeed not a
required setting. However, these platforms set ufs_fde_max_clki
and ufs_fde_min_clki to the same value. This patch allows that
unnecessary setting to be removed.
As I said at the beginning, the logic is basically fine,
so update the commit message should be enough.
Thanks
Peter