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

Commit cfdafba1 authored by Odelu Kukatla's avatar Odelu Kukatla Committed by Gerrit - the friendly Code Review server
Browse files

ARM: dts: msm: Enable the OSM clock controller for TRINKET



Update the cpucc clock node to use the real OSM clock controller
for TRINKET. Also add support for clock measure for CPU clocks.

Change-Id: Ib033827f2eeb8f8d02d9a0b3bdbb54deee5461ff
Signed-off-by: default avatarOdelu Kukatla <okukatla@codeaurora.org>
parent bbb485e2
Loading
Loading
Loading
Loading
+14 −6
Original line number Diff line number Diff line
@@ -829,6 +829,19 @@
		reg = <0x0447d200 0x100>;
	};

	cpucc_debug: syscon@f11101c {
		compatible = "syscon";
		reg = <0xf11101c 0x4>;
	};

	clock_cpucc: qcom,cpucc@f521000 {
		compatible = "qcom,clk-cpu-osm-trinket";
		reg = <0xf521000 0x1400>,
			<0xf523000 0x1400>;
		reg-names = "osm_pwrcl_base", "osm_perfcl_base";
		#clock-cells = <1>;
	};

	clock_debugcc: qcom,cc-debug {
		compatible = "qcom,debugcc-trinket";
		qcom,gcc = <&clock_gcc>;
@@ -836,17 +849,12 @@
		qcom,dispcc = <&clock_dispcc>;
		qcom,gpucc = <&clock_gpucc>;
		qcom,mccc = <&mccc_debug>;
		qcom,cpucc = <&cpucc_debug>;
		clock-names = "cxo";
		clocks = <&clock_rpmcc RPM_SMD_XO_CLK_SRC>;
		#clock-cells = <1>;
	};

	clock_cpucc: qcom,cpucc {
		compatible = "qcom,dummycc";
		clock-output-names = "cpucc_clocks";
		#clock-cells = <1>;
	};

	icnss: qcom,icnss@C800000 {
		compatible = "qcom,icnss";
		reg = <0xC800000 0x800000>,