Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

clk: qcom: camcc-x1e80100: Set titan_top_gdsc as the parent GDSC of subordinate GDSCs

The Titan TOP GDSC is the parent GDSC for all other GDSCs in the CAMCC
block. None of the subordinate blocks will switch on without the parent
GDSC switched on.

Fixes: 76126a5129b5 ("clk: qcom: Add camcc clock driver for x1e80100")
Acked-by: Rajendra Nayak <quic_rjendra@quicinc.com>
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Reviewed-by: Vladimir Zapolskiy <vladimir.zapolskiy@linaro.org>
Link: https://lore.kernel.org/r/20241227-b4-linux-next-24-12-16-titan-top-gdsc-v1-1-c96ef62fc307@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>

authored by

Bryan O'Donoghue and committed by
Bjorn Andersson
d9377941 1474149c

+7
+7
drivers/clk/qcom/camcc-x1e80100.c
··· 2212 2212 }, 2213 2213 }; 2214 2214 2215 + static struct gdsc cam_cc_titan_top_gdsc; 2216 + 2215 2217 static struct gdsc cam_cc_bps_gdsc = { 2216 2218 .gdscr = 0x10004, 2217 2219 .en_rest_wait_val = 0x2, ··· 2223 2221 .name = "cam_cc_bps_gdsc", 2224 2222 }, 2225 2223 .pwrsts = PWRSTS_OFF_ON, 2224 + .parent = &cam_cc_titan_top_gdsc.pd, 2226 2225 .flags = POLL_CFG_GDSCR | RETAIN_FF_ENABLE, 2227 2226 }; 2228 2227 ··· 2236 2233 .name = "cam_cc_ife_0_gdsc", 2237 2234 }, 2238 2235 .pwrsts = PWRSTS_OFF_ON, 2236 + .parent = &cam_cc_titan_top_gdsc.pd, 2239 2237 .flags = POLL_CFG_GDSCR | RETAIN_FF_ENABLE, 2240 2238 }; 2241 2239 ··· 2249 2245 .name = "cam_cc_ife_1_gdsc", 2250 2246 }, 2251 2247 .pwrsts = PWRSTS_OFF_ON, 2248 + .parent = &cam_cc_titan_top_gdsc.pd, 2252 2249 .flags = POLL_CFG_GDSCR | RETAIN_FF_ENABLE, 2253 2250 }; 2254 2251 ··· 2262 2257 .name = "cam_cc_ipe_0_gdsc", 2263 2258 }, 2264 2259 .pwrsts = PWRSTS_OFF_ON, 2260 + .parent = &cam_cc_titan_top_gdsc.pd, 2265 2261 .flags = POLL_CFG_GDSCR | RETAIN_FF_ENABLE, 2266 2262 }; 2267 2263 ··· 2275 2269 .name = "cam_cc_sfe_0_gdsc", 2276 2270 }, 2277 2271 .pwrsts = PWRSTS_OFF_ON, 2272 + .parent = &cam_cc_titan_top_gdsc.pd, 2278 2273 .flags = POLL_CFG_GDSCR | RETAIN_FF_ENABLE, 2279 2274 }; 2280 2275