Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

clk: qcom: gcc-eliza: Enable FORCE_MEM_CORE_ON for UFS AXI PHY clock

According to internal documentation, the UFS AXI PHY clock requires
FORCE_MEM_CORE_ON to be enabled for UFS MCQ mode to work. Without this,
the UFS controller fails when operating in MCQ mode, which is already
enabled in the device tree.

The UFS PHY ICE core clock already has this bit set, so apply the same
configuration to the UFS PHY AXI clock.

Fixes: 3d356ab4a1ec ("clk: qcom: Add support for Global clock controller on Eliza")
Reported-by: Nitin Rawat <nitin.rawat@oss.qualcomm.com>
Signed-off-by: Abel Vesa <abel.vesa@oss.qualcomm.com>
Reviewed-by: Taniya Das <taniya.das@oss.qualcomm.com>
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20260323-eliza-gcc-set-ufs-axi-phyforce-mem-core-on-v1-1-b6b7a6f3f8c5@oss.qualcomm.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>

authored by

Abel Vesa and committed by
Bjorn Andersson
3006f7fb b0bc6011

+2 -1
+2 -1
drivers/clk/qcom/gcc-eliza.c
··· 3046 3046 3047 3047 static void clk_eliza_regs_configure(struct device *dev, struct regmap *regmap) 3048 3048 { 3049 - /* FORCE_MEM_CORE_ON for ufs phy ice core clocks */ 3049 + /* FORCE_MEM_CORE_ON for ufs phy ice core and gcc ufs phy axi clocks */ 3050 3050 qcom_branch_set_force_mem_core(regmap, gcc_ufs_phy_ice_core_clk, true); 3051 + qcom_branch_set_force_mem_core(regmap, gcc_ufs_phy_axi_clk, true); 3051 3052 } 3052 3053 3053 3054 static struct qcom_cc_driver_data gcc_eliza_driver_data = {