summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTaniya Das <quic_tdas@quicinc.com>2025-02-14 07:27:00 +0300
committerBjorn Andersson <andersson@kernel.org>2025-03-14 00:39:06 +0300
commit172320f5ead5d1a0eed14472ce84146221c75675 (patch)
tree2645db96c4923f6021cb7550e95e38e868dc2e82
parent25708f73ff171bb4171950c9f4be5aa8504b8459 (diff)
downloadlinux-172320f5ead5d1a0eed14472ce84146221c75675.tar.xz
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>
-rw-r--r--drivers/clk/qcom/gdsc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/qcom/gdsc.c b/drivers/clk/qcom/gdsc.c
index f3f95f4d9313..7deabf8400cf 100644
--- a/drivers/clk/qcom/gdsc.c
+++ b/drivers/clk/qcom/gdsc.c
@@ -46,7 +46,7 @@
#define RETAIN_MEM BIT(14)
#define RETAIN_PERIPH BIT(13)
-#define STATUS_POLL_TIMEOUT_US 1500
+#define STATUS_POLL_TIMEOUT_US 2000
#define TIMEOUT_US 500
#define domain_to_gdsc(domain) container_of(domain, struct gdsc, pd)