Skip to content

Commit 479ecb2

Browse files
committed
sm6115: Add DDR clock
Signed-off-by: Konrad Dybcio <[email protected]>
1 parent 9f99756 commit 479ecb2

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

sm6115.c

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,14 @@ static struct debug_mux gpu_cc = {
9696
.div_val = 2,
9797
};
9898

99+
static struct debug_mux mc_cc = {
100+
.phys = 0x447d000, /* 0x447d220 */
101+
.size = 0x1000, /* 0x100 */
102+
.block_name = "mc",
103+
104+
.measure = measure_mccc,
105+
};
106+
99107
static struct measure_clk sm6115_clocks[] = {
100108
//{ "mc_cc_debug_mux", &gcc.mux, 0x9e },
101109
{ "perfcl_clk", &cpu_cc, 0x1 },
@@ -219,6 +227,8 @@ static struct measure_clk sm6115_clocks[] = {
219227
{ "gpu_cc_gx_cxo_clk", &gpu_cc, 0xe },
220228
{ "gpu_cc_gx_gfx3d_clk", &gpu_cc, 0xb },
221229
{ "gpu_cc_sleep_clk", &gpu_cc, 0x16 },
230+
231+
{ "measure_only_mccc_clk", &mc_cc, 0x220 },
222232
{}
223233
};
224234

0 commit comments

Comments
 (0)