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

Commit e04feaae authored by Shefali Jain's avatar Shefali Jain
Browse files

clk: qcom: debugcc-qcs405: Update CPU measure node



The CPU frequency measured 6 times the original 
frequency. Update value of mux select shift,
mask and post div for cpu frequency measure node
correctly to give the correct frequency.

Change-Id: Iee31e4820108bd1131cb6cb042fdadc2612e463a
Signed-off-by: default avatarShefali Jain <shefjain@codeaurora.org>
parent c78c31d2
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -320,7 +320,8 @@ static struct clk_debug_mux gcc_debug_mux = {
		0xEC, 0x1FF, 0, 0xF000, 12, 1, 0x74000, 0x74000, 0x74000 },
		{ "gcc_dcc_xo_clk", 0x1B8, 1, GCC,
		0x1B8, 0x1FF, 0, 0xF000, 12, 1, 0x74000, 0x74000, 0x74000 },
		{ "apcs_mux_clk", 0x16A, CPU_CC, 0x000, 0x3, 8, 0x0FF },
		{ "apcs_mux_clk", 0x16A, 1, CPU_CC,
		0x000, 0x3, 8, 0xF, 11, 1, 0, 0, U32_MAX, 1 },
	),
	.hw.init = &(struct clk_init_data){
		.name = "gcc_debug_mux",