On 7/20/2024 2:03 PM, Bryan O'Donoghue wrote:
On 19/07/2024 08:25, Satya Priya Kakitapalli (Temp) wrote:
What is the use-case to keep that clock always-on unless/util
someone wants camss ?
The clock also has dependency on MMCX rail, this rail anyway will be
OFF until there is a use-case. So the clock will also be OFF.
arch/arm64/boot/dts/qcom/sc8280xp.dtsi
camcc: clock-controller@ad00000 {
power-domains = <&rpmhpd SC8280XP_MMCX>;
};
I've tested this patch on sc8280xp and it works just fine.
Is the cam_cc_gdsc_clk clock ON after the boot up?
I have no idea. Why does it matter ?
This clock expected to be kept always ON, as per design, or else the
GDSC transition form ON to OFF (vice versa) wont work.
Want to know the clock status after bootup, to understand if the clock
got turned off during the late init. May I know exactly what you have
tested? Did you test the camera usecases as well?
---
bod