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: gpucc-sa8775p: Update wait_val fields for GPU GDSC's

Update wait_val fields as per the default hardware values of the GDSC as
otherwise it would lead to GDSC FSM state stuck causing power on/off
failures of the GSDC.

Fixes: 0afa16afc36d ("clk: qcom: add the GPUCC driver for sa8775p")
Signed-off-by: Taniya Das <quic_tdas@quicinc.com>
Acked-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Link: https://lore.kernel.org/r/20240612-sa8775p-v2-gcc-gpucc-fixes-v2-6-adcc756a23df@quicinc.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>

authored by

Taniya Das and committed by
Bjorn Andersson
21168199 dff68b2f

+6
+6
drivers/clk/qcom/gpucc-sa8775p.c
··· 523 523 524 524 static struct gdsc cx_gdsc = { 525 525 .gdscr = 0x9108, 526 + .en_rest_wait_val = 0x2, 527 + .en_few_wait_val = 0x2, 528 + .clk_dis_wait_val = 0xf, 526 529 .gds_hw_ctrl = 0x953c, 527 530 .pd = { 528 531 .name = "cx_gdsc", ··· 536 533 537 534 static struct gdsc gx_gdsc = { 538 535 .gdscr = 0x905c, 536 + .en_rest_wait_val = 0x2, 537 + .en_few_wait_val = 0x2, 538 + .clk_dis_wait_val = 0xf, 539 539 .pd = { 540 540 .name = "gx_gdsc", 541 541 .power_on = gdsc_gx_do_nothing_enable,