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 <[email protected]> Tested-by: Caleb Connolly <[email protected]> # OnePlus 6 Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Bjorn Andersson <[email protected]>
1 parent 6624b25 commit 117e7dc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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)