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

Commit 01a4dffc authored by Deepak Katragadda's avatar Deepak Katragadda
Browse files

clk: qcom: Add the debug mux information for SDM855



Add the debug mux structure with inputs for measuring the
HLOS controlled clocks on SDM855.

Change-Id: Ifc048397d2a0b20593e2660e9d18fcb9f9caaf21
Signed-off-by: default avatarDeepak Katragadda <dkatraga@codeaurora.org>
parent 50b9a890
Loading
Loading
Loading
Loading
+26 −0
Original line number Diff line number Diff line
Qualcomm Technologies, Inc. Debug Clock Controller Binding
----------------------------------------------------------

Required properties :
- compatible: Shall contain "qcom,debugcc-sdm855".
- 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.
- qcom,dispcc: phandle to the Display CC device node.
- qcom,npucc: phandle to the NPU CC device node.
- clock-names: Shall contain "xo_clk_src"
- clocks: phandle + clock reference to the CXO clock.
- #clock-cells : Shall contain 1.

Example:
	clock_debug: qcom,cc-debug {
		compatible = "qcom,debugcc-sdm855";
		qcom,gcc = <&clock_gcc>;
		qcom,videocc = <&clock_videocc>;
		qcom,camcc = <&clock_camcc>;
		qcom,dispcc = <&clock_dispcc>;
		qcom,npucc = <&clock_npucc>;
		clock-names = "xo_clk_src";
		clocks = <&clock_rpmh RPMH_CXO_CLK>;
		#clock-cells = <1>;
	};
+8 −0
Original line number Diff line number Diff line
@@ -261,3 +261,11 @@ config MSM_DISPCC_SDM855
	  SDM855 devices.
	  Say Y if you want to support display devices and functionality such as
	  splash screen.

config MSM_DEBUGCC_SDM855
	tristate "SDM855 Debug Clock Controller"
	depends on COMMON_CLK_QCOM
	help
	  Support for the debug clock controller on Qualcomm Technologies, Inc
	  SDM855 devices.
	  Say Y if you want to support the clock measurement functionality.
+1 −0
Original line number Diff line number Diff line
@@ -26,6 +26,7 @@ obj-$(CONFIG_MDM_GCC_9615) += gcc-mdm9615.o
obj-$(CONFIG_MDM_LCC_9615) += lcc-mdm9615.o
obj-$(CONFIG_MSM_CAMCC_SDM855) += camcc-sdm855.o
obj-$(CONFIG_MSM_CLK_AOP_QMP) += clk-aop-qmp.o
obj-$(CONFIG_MSM_DEBUGCC_SDM855) += debugcc-sdm855.o
obj-$(CONFIG_MSM_DISPCC_SDM855) += dispcc-sdm855.o
obj-$(CONFIG_MSM_GCC_8660) += gcc-msm8660.o
obj-$(CONFIG_MSM_GCC_8916) += gcc-msm8916.o
+901 −0

File added.

Preview size limit exceeded, changes collapsed.