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

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

clk: qcom: Add clock measure support for qpic clock for sdxprairie



Add qpic clock debug node for measuring the qpic clock frequency.

Change-Id: Icf9760e45a7a3d4e788c4e3618cdc1995efc9c1e
Signed-off-by: default avatarNaveen Yadav <naveenky@codeaurora.org>
parent a78b02b0
Loading
Loading
Loading
Loading
+3 −0
Original line number Original line Diff line number Diff line
@@ -92,6 +92,7 @@ static const char *const debug_mux_parent_names[] = {
	"measure_only_ipa_2x_clk",
	"measure_only_ipa_2x_clk",
	"measure_only_snoc_clk",
	"measure_only_snoc_clk",
	"apcs_mux_clk",
	"apcs_mux_clk",
	"qpic_clk",
};
};


static struct clk_debug_mux gcc_debug_mux = {
static struct clk_debug_mux gcc_debug_mux = {
@@ -223,6 +224,8 @@ static struct clk_debug_mux gcc_debug_mux = {
			0x109, 0x3FF, 0, 0xF, 0, 4, 0x79000, 0x29000, 0x29004 },
			0x109, 0x3FF, 0, 0xF, 0, 4, 0x79000, 0x29000, 0x29004 },
		{ "apcs_mux_clk", 0x7C, 4, CPU_CC,
		{ "apcs_mux_clk", 0x7C, 4, CPU_CC,
			0x3, 0x7, 0x3, 0x0, 0, 1, 0, 0, U32_MAX, 1 },
			0x3, 0x7, 0x3, 0x0, 0, 1, 0, 0, U32_MAX, 1 },
		{ "qpic_clk", 0xB1, 4, GCC,
			0xB1, 0x3FF, 0, 0xF, 0, 4, 0x79000, 0x29000, 0x29004 },
	),
	),
	.hw.init = &(struct clk_init_data){
	.hw.init = &(struct clk_init_data){
		.name = "gcc_debug_mux",
		.name = "gcc_debug_mux",