Skip to content

Commit 172320f

Browse files
Taniya Dasandersson
authored andcommitted
clk: qcom: gdsc: Update the status poll timeout for GDSC
During the GDSC FSM state, the GDSC hardware waits for an ACK from the respective subsystem core. In some scenarios, this ACK can be delayed. To handle such delays, increase the GDSC status poll timeout from 1500us to 2000us as per the design recommendation. Signed-off-by: Taniya Das <quic_tdas@quicinc.com> Reviewed-by: Imran Shaik <quic_imrashai@quicinc.com> Tested-by: Imran Shaik <quic_imrashai@quicinc.com> # on QCS8300 Link: https://lore.kernel.org/r/20250214-gdsc_fixes-v1-2-73e56d68a80f@quicinc.com Signed-off-by: Bjorn Andersson <andersson@kernel.org>
1 parent 25708f7 commit 172320f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/clk/qcom/gdsc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
#define RETAIN_MEM BIT(14)
4747
#define RETAIN_PERIPH BIT(13)
4848

49-
#define STATUS_POLL_TIMEOUT_US 1500
49+
#define STATUS_POLL_TIMEOUT_US 2000
5050
#define TIMEOUT_US 500
5151

5252
#define domain_to_gdsc(domain) container_of(domain, struct gdsc, pd)

0 commit comments

Comments
 (0)