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

clk: qcom: dispcc-sc8280xp: Use ret registers on GDSCs

The DISP_CC GDSCs have not been instructed to use the ret registers.
Fix that.

Fixes: 4a66e76fdb6d ("clk: qcom: Add SC8280XP display clock controller")
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Link: https://lore.kernel.org/r/20230725-topic-8280_dispcc_gdsc-v1-1-236590060531@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>

authored by

Konrad Dybcio and committed by
Bjorn Andersson
20e1d75b a9f71a03

+4 -4
+4 -4
drivers/clk/qcom/dispcc-sc8280xp.c
··· 3057 3057 .name = "disp0_mdss_gdsc", 3058 3058 }, 3059 3059 .pwrsts = PWRSTS_OFF_ON, 3060 - .flags = HW_CTRL, 3060 + .flags = HW_CTRL | RETAIN_FF_ENABLE, 3061 3061 }; 3062 3062 3063 3063 static struct gdsc disp1_mdss_gdsc = { ··· 3069 3069 .name = "disp1_mdss_gdsc", 3070 3070 }, 3071 3071 .pwrsts = PWRSTS_OFF_ON, 3072 - .flags = HW_CTRL, 3072 + .flags = HW_CTRL | RETAIN_FF_ENABLE, 3073 3073 }; 3074 3074 3075 3075 static struct gdsc disp0_mdss_int2_gdsc = { ··· 3081 3081 .name = "disp0_mdss_int2_gdsc", 3082 3082 }, 3083 3083 .pwrsts = PWRSTS_OFF_ON, 3084 - .flags = HW_CTRL, 3084 + .flags = HW_CTRL | RETAIN_FF_ENABLE, 3085 3085 }; 3086 3086 3087 3087 static struct gdsc disp1_mdss_int2_gdsc = { ··· 3093 3093 .name = "disp1_mdss_int2_gdsc", 3094 3094 }, 3095 3095 .pwrsts = PWRSTS_OFF_ON, 3096 - .flags = HW_CTRL, 3096 + .flags = HW_CTRL | RETAIN_FF_ENABLE, 3097 3097 }; 3098 3098 3099 3099 static struct gdsc *disp0_cc_sc8280xp_gdscs[] = {