Loading Documentation/devicetree/bindings/clock/qcom,debugcc.txt 0 → 100644 +20 −0 Original line number Diff line number Diff line Qualcomm Technologies, Inc. Debug Clock Controller Binding ---------------------------------------------------------- Required properties : - compatible : shall contain only one of the following: "qcom,debugcc-sdm845" "qcom,debugcc-sdxpoorwills" - 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,sdxpoorwills"; qcom,gcc = <&clock_gcc>; clock-names = "xo_clk_src"; clocks = <&clock_rpmh RPMH_CXO_CLK>; #clock-cells = <1>; }; Documentation/devicetree/bindings/clock/qcom,gcc.txt +0 −1 Original line number Diff line number Diff line Loading @@ -20,7 +20,6 @@ Required properties : "qcom,gcc-sdm845-v2" "qcom,gcc-sdm845-v2.1" "qcom,gcc-sdm670" "qcom,debugcc-sdm845" "qcom,gcc-sdxpoorwills" - reg : shall contain base register location and length Loading drivers/clk/qcom/Kconfig +9 −0 Original line number Diff line number Diff line Loading @@ -252,4 +252,13 @@ config MDM_CLOCK_CPU_SDXPOORWILLS Say Y if you want to support CPU clock scaling using CPUfreq drivers for dyanmic power management. config MDM_DEBUGCC_SDXPOORWILLS tristate "SDXPOORWILLS Debug Clock Controller" depends on COMMON_CLK_QCOM help Support for the debug clock controller on sdxpoorwills based devices. Say Y if you want to support the clock measurement functionality. source "drivers/clk/qcom/mdss/Kconfig" drivers/clk/qcom/Makefile +1 −0 Original line number Diff line number Diff line Loading @@ -23,6 +23,7 @@ obj-$(CONFIG_IPQ_GCC_4019) += gcc-ipq4019.o obj-$(CONFIG_IPQ_GCC_806X) += gcc-ipq806x.o obj-$(CONFIG_IPQ_LCC_806X) += lcc-ipq806x.o obj-$(CONFIG_MDM_CLOCK_CPU_SDXPOORWILLS) += clk-cpu-a7.o obj-$(CONFIG_MDM_DEBUGCC_SDXPOORWILLS) += debugcc-sdxpoorwills.o obj-$(CONFIG_MDM_GCC_9615) += gcc-mdm9615.o obj-$(CONFIG_MDM_GCC_SDXPOORWILLS) += gcc-sdxpoorwills.o obj-$(CONFIG_MDM_LCC_9615) += lcc-mdm9615.o Loading drivers/clk/qcom/clk-debug.h +1 −0 Original line number Diff line number Diff line Loading @@ -44,6 +44,7 @@ enum debug_cc { GPU_CC, VIDEO_CC, CPU, MAX_NUM_CC, }; /** Loading Loading
Documentation/devicetree/bindings/clock/qcom,debugcc.txt 0 → 100644 +20 −0 Original line number Diff line number Diff line Qualcomm Technologies, Inc. Debug Clock Controller Binding ---------------------------------------------------------- Required properties : - compatible : shall contain only one of the following: "qcom,debugcc-sdm845" "qcom,debugcc-sdxpoorwills" - 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,sdxpoorwills"; qcom,gcc = <&clock_gcc>; clock-names = "xo_clk_src"; clocks = <&clock_rpmh RPMH_CXO_CLK>; #clock-cells = <1>; };
Documentation/devicetree/bindings/clock/qcom,gcc.txt +0 −1 Original line number Diff line number Diff line Loading @@ -20,7 +20,6 @@ Required properties : "qcom,gcc-sdm845-v2" "qcom,gcc-sdm845-v2.1" "qcom,gcc-sdm670" "qcom,debugcc-sdm845" "qcom,gcc-sdxpoorwills" - reg : shall contain base register location and length Loading
drivers/clk/qcom/Kconfig +9 −0 Original line number Diff line number Diff line Loading @@ -252,4 +252,13 @@ config MDM_CLOCK_CPU_SDXPOORWILLS Say Y if you want to support CPU clock scaling using CPUfreq drivers for dyanmic power management. config MDM_DEBUGCC_SDXPOORWILLS tristate "SDXPOORWILLS Debug Clock Controller" depends on COMMON_CLK_QCOM help Support for the debug clock controller on sdxpoorwills based devices. Say Y if you want to support the clock measurement functionality. source "drivers/clk/qcom/mdss/Kconfig"
drivers/clk/qcom/Makefile +1 −0 Original line number Diff line number Diff line Loading @@ -23,6 +23,7 @@ obj-$(CONFIG_IPQ_GCC_4019) += gcc-ipq4019.o obj-$(CONFIG_IPQ_GCC_806X) += gcc-ipq806x.o obj-$(CONFIG_IPQ_LCC_806X) += lcc-ipq806x.o obj-$(CONFIG_MDM_CLOCK_CPU_SDXPOORWILLS) += clk-cpu-a7.o obj-$(CONFIG_MDM_DEBUGCC_SDXPOORWILLS) += debugcc-sdxpoorwills.o obj-$(CONFIG_MDM_GCC_9615) += gcc-mdm9615.o obj-$(CONFIG_MDM_GCC_SDXPOORWILLS) += gcc-sdxpoorwills.o obj-$(CONFIG_MDM_LCC_9615) += lcc-mdm9615.o Loading
drivers/clk/qcom/clk-debug.h +1 −0 Original line number Diff line number Diff line Loading @@ -44,6 +44,7 @@ enum debug_cc { GPU_CC, VIDEO_CC, CPU, MAX_NUM_CC, }; /** Loading