clk: qcom: camcc-sc7180: Add parent dependency to all camera GDSCs
authorTaniya Das <quic_tdas@quicinc.com>
Mon, 1 May 2023 14:29:32 +0000 (19:59 +0530)
committerBjorn Andersson <andersson@kernel.org>
Thu, 25 May 2023 02:33:55 +0000 (19:33 -0700)
commit3e4d179532423f299554cd0dedabdd9d2fdd238d
treeecac565c2de1729ddd17327f05f411db81e65220
parent853c064b57491d739bfd0cc35ff75c5ea9c5e8f5
clk: qcom: camcc-sc7180: 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: 15d09e830bbc ("clk: qcom: camcc: Add camera clock controller driver for SC7180")
Signed-off-by: Taniya Das <quic_tdas@quicinc.com>
Acked-by: Stephen Boyd <sboyd@kernel.org>
Reviewed-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20230501142932.13049-1-quic_tdas@quicinc.com
drivers/clk/qcom/camcc-sc7180.c