Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 11de552e authored by Odelu Kukatla's avatar Odelu Kukatla
Browse files

ARM: dts: msm: Add the debug clock node for SM6150



Add debug clock controller node to use the debug
clock controller driver for measuring the clocks.
Also add the parent supply for CX GDSC to enable
the parent supply before turning on CX GDSC.

Change-Id: Icd5bdabedac06ee2414369f492cf738a2dfa62eb
Signed-off-by: default avatarOdelu Kukatla <okukatla@codeaurora.org>
parent ad1e28d6
Loading
Loading
Loading
Loading
+14 −1
Original line number Diff line number Diff line
@@ -798,6 +798,18 @@
		#clock-cells = <1>;
	};

	clock_debugcc: qcom,cc-debug {
		compatible = "qcom,debugcc-sm6150";
		qcom,gcc = <&clock_gcc>;
		qcom,videocc = <&clock_videocc>;
		qcom,camcc = <&clock_camcc>;
		qcom,dispcc = <&clock_dispcc>;
		qcom,gpucc = <&clock_gpucc>;
		clock-names = "cxo";
		clocks = <&clock_rpmh RPMH_CXO_CLK>;
		#clock-cells = <1>;
	};

	cpu_pmu: cpu-pmu {
		compatible = "arm,armv8-pmuv3";
		qcom,irq-is-percpu;
@@ -2110,6 +2122,7 @@
};

&gpu_cx_gdsc {
	parent-supply = <&VDD_CX_LEVEL>;
	status = "ok";
};

@@ -2117,7 +2130,7 @@
	clock-names = "core_root_clk";
	clocks = <&clock_gpucc GPU_CC_GX_GFX3D_CLK_SRC>;
	qcom,force-enable-root-clk;
	parent-supply = <&pm6150_s1_level>;
	parent-supply = <&VDD_CX_LEVEL>;
	status = "ok";
};