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

Commit cbab8111 authored by Naveen Yadav's avatar Naveen Yadav Committed by Gerrit - the friendly Code Review server
Browse files

ARM: dts: msm: Add debugcc clock node for Bengal

Add debug clock controller node to use the debug clock
controller driver for measuring the clocks. Also add
MCCC and CPUCC device and phandle reference to debugcc
to map register space for the apss specific debug mux.

Change-Id: Ib53e1d11e8ecc001215d45fc40a6df560a64f5b5
parent dadf1afb
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -2,7 +2,8 @@ Qualcomm Technologies, Inc. Debug Clock Controller Binding
----------------------------------------------------------

Required properties :
- compatible: Shall contain "qcom,kona-debugcc" or "qcom,lito-debugcc".
- compatible: Shall contain "qcom,kona-debugcc", "qcom,lito-debugcc"
		or "qcom,bengal-debugcc".
- qcom,gcc: phandle to the GCC device node.
- qcom,videocc: phandle to the Video CC device node.
- qcom,camcc: phandle to the Camera CC device node.
+5 −0
Original line number Diff line number Diff line
@@ -146,3 +146,8 @@
	#clock-cells = <1>;
	#reset-cells = <1>;
};

&debugcc {
	compatible = "qcom,dummycc";
	clock-output-names = "debugcc_clocks";
};
+22 −0
Original line number Diff line number Diff line
@@ -1192,6 +1192,28 @@
		#reset-cells = <1>;
	};

	mccc_debug: syscon@447d200 {
		compatible = "syscon";
		reg = <0x447d200 0x100>;
	};

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

	debugcc: qcom,cc-debug {
		compatible = "qcom,bengal-debugcc";
		qcom,gcc = <&gcc>;
		qcom,dispcc = <&dispcc>;
		qcom,gpucc = <&gpucc>;
		qcom,mccc = <&mccc_debug>;
		qcom,cpucc = <&cpucc_debug>;
		clock-names = "xo_clk_src";
		clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>;
		#clock-cells = <1>;
	};

	tcsr_mutex_block: syscon@00340000 {
		compatible = "syscon";
		reg = <0x340000 0x20000>;