Skip to content

Commit 117e7dc

Browse files
konradybcioandersson
authored andcommitted
clk: qcom: dispcc-sdm845: Adjust internal GDSC wait times
SDM845 downstream uses non-default values for GDSC internal waits. Program them accordingly to avoid surprises. Fixes: 8135177 ("clk: qcom: Add display clock controller driver for SDM845") Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org> Tested-by: Caleb Connolly <caleb.connolly@linaro.org> # OnePlus 6 Link: https://lore.kernel.org/r/20240103-topic-845gdsc-v1-1-368efbe1a61d@linaro.org Signed-off-by: Bjorn Andersson <andersson@kernel.org>
1 parent 6624b25 commit 117e7dc

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

drivers/clk/qcom/dispcc-sdm845.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -759,6 +759,8 @@ static struct clk_branch disp_cc_mdss_vsync_clk = {
759759

760760
static struct gdsc mdss_gdsc = {
761761
.gdscr = 0x3000,
762+
.en_few_wait_val = 0x6,
763+
.en_rest_wait_val = 0x5,
762764
.pd = {
763765
.name = "mdss_gdsc",
764766
},

0 commit comments

Comments
 (0)