File: debugcc.1

package info (click to toggle)
debugcc 0.0~git20251107.a01ea9e-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 408 kB
  • sloc: ansic: 6,693; makefile: 5
file content (105 lines) | stat: -rw-r--r-- 1,668 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
.TH DEBUGCC 1 "November 2025" "debugcc" "User Commands"
.SH NAME
debugcc \- inspect Qualcomm clock controller configuration

.SH SYNOPSIS
.B debugcc
<-p \fIplatform\fR> [-b \fIblock\fR] <-a | -l | \fIclk\fR>
.br
.B <platform>-debugcc
[-b \fIblock\fR] <-a | -l | \fIclk\fR>

.SH DESCRIPTION
.B debugcc
is a utility for inspecting and dumping clock controller information on
Qualcomm SoCs. It provides access to clock tree data exposed by the
debug clock controller framework and can list all known clocks, dump all
clock states or query a specific clock.

The tool requires specifying a supported platform unless invoked via a
symlink of the form \fI<platform>\fR\-debugcc, in which case the platform is
inferred automatically.

.SH OPTIONS
.TP
.BR -p " " \fIplatform\fR
Select the target platform. Mandatory unless the binary was invoked
through a \fI<platform>\fR\-debugcc symlink.

.TP
.BR -b " " \fIblock\fR
Specify a clock controller block to inspect.

.TP
.BR -a
Dump all clocks for the platform.

.TP
.BR -l
List all available clocks for the platform.

.TP
.I clk
Query a specific clock by name.

.SH SUPPORTED PLATFORMS
The following platforms are supported:

.nf
ipq8064
msm8936
msm8974
msm8994
msm8996
msm8998
qcm2290
qcs404
sc7180
sc8280xp
sdm845
sm6115
sm6125
sm6350
sm6375
sm8150
sm8250
sm8350
sm8450
sm8550
sm8650
.fi

.SH EXAMPLES
.TP
Dump all clocks on sdm845:
.PP
.nf
debugcc -p sdm845 -a
.fi

.TP
List clocks on sm8250:
.PP
.nf
debugcc -p sm8250 -l
.fi

.TP
Query a specific clock:
.PP
.nf
debugcc -p sc7180 gcc_uart1_clk
.fi

.TP
Using a platform symlink:
.PP
.nf
sdm845-debugcc -a
.fi

.SH AUTHOR
Written by Linaro Ltd.

.SH LICENSE
BSD\-3\-Clause.