This patch aligns programming sequence as per Qualcomm UFS hardware specification. changes from v5: - Addressed Mani comment to FIELD_PREP and FIELD_FIT. - Optimised ufs_qcom_set_core_clk_ctrl API. - Updated commit text for few patches to capture more details. Changes from v4: - Addressed bjorn comment to split single patch to multiple patches. Changes from v3: -Addressed bjorn comment to update commit msg to capture change details. Changes from v2: - Addressed bao comment, removed duplicate clock timer cfg API call Changes from v1: - Addressed bao comment, removed wrapper function - Tab alignment Nitin Rawat (6): scsi: ufs: qcom: Align mask for core_clk_1us_cycles scsi: ufs: qcom: Configure PA_VS_CORE_CLK_40NS_CYCLES scsi: ufs: qcom: Add multiple frequency support for unipro clk attributes scsi: ufs: qcom: Align unipro clk attributes configuration as per HPG scsi: ufs: qcom: Refactor ufs_qcom_cfg_timers function. scsi: ufs: qcom: Configure clk HW division based on scaling conditions. drivers/ufs/host/ufs-qcom.c | 240 ++++++++++++++++++++++++++---------- drivers/ufs/host/ufs-qcom.h | 17 ++- 2 files changed, 193 insertions(+), 64 deletions(-) -- 2.17.1