]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
clk: qcom: camcc-sc7280: Add parent dependency to all camera GDSCs
authorTaniya Das <quic_tdas@quicinc.com>
Fri, 31 May 2024 09:51:42 +0000 (15:21 +0530)
committerBjorn Andersson <andersson@kernel.org>
Fri, 31 May 2024 22:52:47 +0000 (17:52 -0500)
commit63aec3e4d987fd43237f557460345bca3b51e530
treeda72519fff8b16a368b1b390f00be6a09562b0ee
parentf38467b5a920be1473710428a93c4e54b6f8a0c1
clk: qcom: camcc-sc7280: Add parent dependency to all camera GDSCs

Camera titan top GDSC is a parent supply to all other camera GDSCs. Titan
top GDSC is required to be enabled before enabling any other camera GDSCs
and it should be disabled only after all other camera GDSCs are disabled.
Ensure this behavior by marking titan top GDSC as parent of all other
camera GDSCs.

Fixes: 1daec8cfebc2 ("clk: qcom: camcc: Add camera clock controller driver for SC7280")
Signed-off-by: Taniya Das <quic_tdas@quicinc.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Link: https://lore.kernel.org/r/20240531095142.9688-4-quic_tdas@quicinc.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
drivers/clk/qcom/camcc-sc7280.c