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

Commit 4eb34f31 authored by David Collins's avatar David Collins
Browse files

ARM: dts: msm: update clock_npucc device node for KONA



Update the device tree node for clock_npucc to specify a
functional compatible string instead of dummycc.  This
ensures that consumer requests modify clock hardware state.

Also add a phandle for the clock_npucc node in the debugcc
node so that NPU_CC clock rates can be measured at runtime.

Change-Id: I0d6347b0526dd520697306033dd5dbd4f381e3ba
Signed-off-by: default avatarDavid Collins <collinsd@codeaurora.org>
parent 78345201
Loading
Loading
Loading
Loading
+8 −3
Original line number Diff line number Diff line
@@ -767,9 +767,13 @@
		#reset-cells = <1>;
	};

	clock_npucc: qcom,npucc {
		compatible = "qcom,dummycc";
		clock-output-names = "npucc_clocks";
	clock_npucc: qcom,npucc@9980000 {
		compatible = "qcom,npucc-kona", "syscon";
		reg = <0x9980000 0x10000>,
			<0x9800000 0x10000>,
			<0x9810000 0x10000>;
		reg-names = "cc", "qdsp6ss", "qdsp6ss_pll";
		vdd_cx-supply = <&VDD_CX_LEVEL>;
		#clock-cells = <1>;
		#reset-cells = <1>;
	};
@@ -832,6 +836,7 @@
		qcom,dispcc = <&clock_dispcc>;
		qcom,camcc = <&clock_camcc>;
		qcom,gpucc = <&clock_gpucc>;
		qcom,npucc = <&clock_npucc>;
		clock-names = "xo_clk_src";
		clocks = <&clock_rpmh RPMH_CXO_CLK>;
		#clock-cells = <1>;