]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
clk: qcom: gcc-sm6350: Add *_wait_val values for GDSCs
authorLuca Weiss <luca.weiss@fairphone.com>
Fri, 25 Apr 2025 12:12:57 +0000 (14:12 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 27 Jun 2025 10:05:12 +0000 (11:05 +0100)
commitc22099a648809c818260978e3a10ccdb639e01c7
tree5f0ca56a354a5da7c2c9f845269486ef65d1eed4
parent9c5268e5d6334057bd0efdc9e8d7c6ca7143ae81
clk: qcom: gcc-sm6350: Add *_wait_val values for GDSCs

[ Upstream commit afdfd829a99e467869e3ca1955fb6c6e337c340a ]

Compared to the msm-4.19 driver the mainline GDSC driver always sets the
bits for en_rest, en_few & clk_dis, and if those values are not set
per-GDSC in the respective driver then the default value from the GDSC
driver is used. The downstream driver only conditionally sets
clk_dis_wait_val if qcom,clk-dis-wait-val is given in devicetree.

Correct this situation by explicitly setting those values. For all GDSCs
the reset value of those bits are used.

Fixes: 131abae905df ("clk: qcom: Add SM6350 GCC driver")
Signed-off-by: Luca Weiss <luca.weiss@fairphone.com>
Reviewed-by: Taniya Das <quic_tdas@quicinc.com>
Link: https://lore.kernel.org/r/20250425-sm6350-gdsc-val-v1-3-1f252d9c5e4e@fairphone.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/clk/qcom/gcc-sm6350.c