clk: qcom: gcc-qdu1000: Fix clkref clocks handling
authorImran Shaik <quic_imrashai@quicinc.com>
Thu, 3 Aug 2023 10:57:36 +0000 (16:27 +0530)
committerBjorn Andersson <andersson@kernel.org>
Mon, 14 Aug 2023 03:13:17 +0000 (20:13 -0700)
commit2524dae5cd453ca39e8ba1b95c2755a8a2d94059
treed749daabc2083678c15705299f551446bbfda8dc
parentb311f5d3c4749259043a9a458a8db07915210142
clk: qcom: gcc-qdu1000: Fix clkref clocks handling

Update the GCC clkref clock's halt_check to BRANCH_HALT, as it's
status bit is not inverted in the latest hardware version of QDU1000
and QRU1000 SoCs. While at it, fix the gcc clkref clock ops as well.

Fixes: 1c9efb0bc040 ("clk: qcom: Add QDU1000 and QRU1000 GCC support")
Signed-off-by: Imran Shaik <quic_imrashai@quicinc.com>
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Link: https://lore.kernel.org/r/20230803105741.2292309-4-quic_imrashai@quicinc.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
drivers/clk/qcom/gcc-qdu1000.c