clk: qcom: gcc-x1e80100: Fix halt_check for pipediv2 clocks
authorQiang Yu <quic_qianyu@quicinc.com>
Fri, 11 Oct 2024 10:41:39 +0000 (03:41 -0700)
committerBjorn Andersson <andersson@kernel.org>
Wed, 16 Oct 2024 20:21:40 +0000 (15:21 -0500)
commitbf0a800415a7397617765fe5f5278a645195c75a
tree1505bf4cc1f249debcec84396a2c1166468b4d7c
parente02bfea4d7ef587bb285ad5825da4e1973ac8263
clk: qcom: gcc-x1e80100: Fix halt_check for pipediv2 clocks

The pipediv2_clk's source from the same mux as pipe clock. So they have
same limitation, which is that the PHY sequence requires to enable these
local CBCs before the PHY is actually outputting a clock to them. This
means the clock won't actually turn on when we vote them. Hence, let's
skip the halt bit check of the pipediv2_clk, otherwise pipediv2_clk may
stuck at off state during bootup.

Cc: stable@vger.kernel.org
Fixes: 161b7c401f4b ("clk: qcom: Add Global Clock controller (GCC) driver for X1E80100")
Suggested-by: Mike Tipton <quic_mdtipton@quicinc.com>
Signed-off-by: Qiang Yu <quic_qianyu@quicinc.com>
Reviewed-by: Konrad Dybcio <konradybcio@kernel.org>
Reviewed-by: Johan Hovold <johan+linaro@kernel.org>
Link: https://lore.kernel.org/r/20241011104142.1181773-6-quic_qianyu@quicinc.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
drivers/clk/qcom/gcc-x1e80100.c