Re: [PATCH] clk: qcom: camcc-sc8280xp: Remove always-on GDSC hard-coding

From: Bryan O'Donoghue
Date: Wed Jul 17 2024 - 07:11:17 EST


On 17/07/2024 12:08, Satya Priya Kakitapalli (Temp) wrote:
How would it break ?

We park the clock to XO it never gets turned off this way.


Parking the parent at XO doesn't ensure the branch clock is always on, it can be disabled by consumers or CCF if modelled.

If the CCF disables this clock in late init, then the clock stays in disabled state until it is enabled again explicitly. Hence it is recommended to not model such always-on clocks.

What is the use-case to keep that clock always-on unless/util someone wants camss ?

I've tested this patch on sc8280xp and it works just fine.

---
bod