Re: [PATCH v2 2/3] scsi: ufs: qcom: Map devfreq OPP freq to UniPro Core Clock freq

From: Ziqi Chen
Date: Fri May 09 2025 - 01:34:23 EST




On 5/8/2025 5:21 PM, Bean Huo wrote:
On Wed, 2025-05-07 at 15:44 +0800, Ziqi Chen wrote:
-       return ufs_qcom_set_core_clk_ctrl(hba, freq);
+       return ufs_qcom_set_core_clk_ctrl(hba, false, freq);
 }
 static int ufs_qcom_clk_scale_notify(struct ufs_hba *hba, bool scale_up,
@@ -2081,11 +2100,53 @@ static int ufs_qcom_config_esi(struct ufs_hba *hba)
        return ret;
 }
+static unsigned long ufs_qcom_opp_freq_to_clk_freq(struct ufs_hba *hba,
+                                                                                                  unsigned long freq, char *name)


This tab indentation is strange!

Thanks Bean, it is my fault , I didn't change My IDE Tab indentation
size to 8 characters, it is still 4 . let me update.

BRs,
Ziqi

+{
+       struct ufs_clk_info *clki