summaryrefslogtreecommitdiff
path: root/Documentation/ABI/testing/sysfs-bus-coresight-devices-cti
blob: bf2869c413e72253ba25d5ab8b373b55a6c597b6 (plain)
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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
What:		/sys/bus/coresight/devices/<cti-name>/enable
Date:		March 2020
KernelVersion	5.7
Contact:	Mike Leach or Mathieu Poirier
Description:	(RW) Enable/Disable the CTI hardware.

What:		/sys/bus/coresight/devices/<cti-name>/powered
Date:		March 2020
KernelVersion	5.7
Contact:	Mike Leach or Mathieu Poirier
Description:	(Read) Indicate if the CTI hardware is powered.

What:		/sys/bus/coresight/devices/<cti-name>/ctmid
Date:		March 2020
KernelVersion	5.7
Contact:	Mike Leach or Mathieu Poirier
Description:	(Read) Display the associated CTM ID

What:		/sys/bus/coresight/devices/<cti-name>/nr_trigger_cons
Date:		March 2020
KernelVersion	5.7
Contact:	Mike Leach or Mathieu Poirier
Description:	(Read) Number of devices connected to triggers on this CTI

What:		/sys/bus/coresight/devices/<cti-name>/triggers<N>/name
Date:		March 2020
KernelVersion	5.7
Contact:	Mike Leach or Mathieu Poirier
Description:	(Read) Name of connected device <N>

What:		/sys/bus/coresight/devices/<cti-name>/triggers<N>/in_signals
Date:		March 2020
KernelVersion	5.7
Contact:	Mike Leach or Mathieu Poirier
Description:	(Read) Input trigger signals from connected device <N>

What:		/sys/bus/coresight/devices/<cti-name>/triggers<N>/in_types
Date:		March 2020
KernelVersion	5.7
Contact:	Mike Leach or Mathieu Poirier
Description:	(Read) Functional types for the input trigger signals
		from connected device <N>

What:		/sys/bus/coresight/devices/<cti-name>/triggers<N>/out_signals
Date:		March 2020
KernelVersion	5.7
Contact:	Mike Leach or Mathieu Poirier
Description:	(Read) Output trigger signals to connected device <N>

What:		/sys/bus/coresight/devices/<cti-name>/triggers<N>/out_types
Date:		March 2020
KernelVersion	5.7
Contact:	Mike Leach or Mathieu Poirier
Description:	(Read) Functional types for the output trigger signals
		to connected device <N>

What:		/sys/bus/coresight/devices/<cti-name>/regs/inout_sel
Date:		March 2020
KernelVersion	5.7
Contact:	Mike Leach or Mathieu Poirier
Description:	(RW) Select the index for inen and outen registers.

What:		/sys/bus/coresight/devices/<cti-name>/regs/inen
Date:		March 2020
KernelVersion	5.7
Contact:	Mike Leach or Mathieu Poirier
Description:	(RW) Read or write the CTIINEN register selected by inout_sel.

What:		/sys/bus/coresight/devices/<cti-name>/regs/outen
Date:		March 2020
KernelVersion	5.7
Contact:	Mike Leach or Mathieu Poirier
Description:	(RW) Read or write the CTIOUTEN register selected by inout_sel.

What:		/sys/bus/coresight/devices/<cti-name>/regs/gate
Date:		March 2020
KernelVersion	5.7
Contact:	Mike Leach or Mathieu Poirier
Description:	(RW) Read or write CTIGATE register.

What:		/sys/bus/coresight/devices/<cti-name>/regs/asicctl
Date:		March 2020
KernelVersion	5.7
Contact:	Mike Leach or Mathieu Poirier
Description:	(RW) Read or write ASICCTL register.

What:		/sys/bus/coresight/devices/<cti-name>/regs/intack
Date:		March 2020
KernelVersion	5.7
Contact:	Mike Leach or Mathieu Poirier
Description:	(Write) Write the INTACK register.

What:		/sys/bus/coresight/devices/<cti-name>/regs/appset
Date:		March 2020
KernelVersion	5.7
Contact:	Mike Leach or Mathieu Poirier
Description:	(RW) Set CTIAPPSET register to activate channel. Read back to
		determine current value of register.

What:		/sys/bus/coresight/devices/<cti-name>/regs/appclear
Date:		March 2020
KernelVersion	5.7
Contact:	Mike Leach or Mathieu Poirier
Description:	(Write) Write APPCLEAR register to deactivate channel.

What:		/sys/bus/coresight/devices/<cti-name>/regs/apppulse
Date:		March 2020
KernelVersion	5.7
Contact:	Mike Leach or Mathieu Poirier
Description:	(Write) Write APPPULSE to pulse a channel active for one clock
		cycle.

What:		/sys/bus/coresight/devices/<cti-name>/regs/chinstatus
Date:		March 2020
KernelVersion	5.7
Contact:	Mike Leach or Mathieu Poirier
Description:	(Read) Read current status of channel inputs.

What:		/sys/bus/coresight/devices/<cti-name>/regs/choutstatus
Date:		March 2020
KernelVersion	5.7
Contact:	Mike Leach or Mathieu Poirier
Description:	(Read) read current status of channel outputs.

What:		/sys/bus/coresight/devices/<cti-name>/regs/triginstatus
Date:		March 2020
KernelVersion	5.7
Contact:	Mike Leach or Mathieu Poirier
Description:	(Read) read current status of input trigger signals

What:		/sys/bus/coresight/devices/<cti-name>/regs/trigoutstatus
Date:		March 2020
KernelVersion	5.7
Contact:	Mike Leach or Mathieu Poirier
Description:	(Read) read current status of output trigger signals.

What:		/sys/bus/coresight/devices/<cti-name>/channels/trigin_attach
Date:		March 2020
KernelVersion	5.7
Contact:	Mike Leach or Mathieu Poirier
Description:	(Write) Attach a CTI input trigger to a CTM channel.

What:		/sys/bus/coresight/devices/<cti-name>/channels/trigin_detach
Date:		March 2020
KernelVersion	5.7
Contact:	Mike Leach or Mathieu Poirier
Description:	(Write) Detach a CTI input trigger from a CTM channel.

What:		/sys/bus/coresight/devices/<cti-name>/channels/trigout_attach
Date:		March 2020
KernelVersion	5.7
Contact:	Mike Leach or Mathieu Poirier
Description:	(Write) Attach a CTI output trigger to a CTM channel.

What:		/sys/bus/coresight/devices/<cti-name>/channels/trigout_detach
Date:		March 2020
KernelVersion	5.7
Contact:	Mike Leach or Mathieu Poirier
Description:	(Write) Detach a CTI output trigger from a CTM channel.

What:		/sys/bus/coresight/devices/<cti-name>/channels/chan_gate_enable
Date:		March 2020
KernelVersion	5.7
Contact:	Mike Leach or Mathieu Poirier
Description:	(RW) Enable CTIGATE for single channel (Write) or list enabled
		channels through the gate (R).

What:		/sys/bus/coresight/devices/<cti-name>/channels/chan_gate_disable
Date:		March 2020
KernelVersion	5.7
Contact:	Mike Leach or Mathieu Poirier
Description:	(Write) Disable CTIGATE for single channel.

What:		/sys/bus/coresight/devices/<cti-name>/channels/chan_set
Date:		March 2020
KernelVersion	5.7
Contact:	Mike Leach or Mathieu Poirier
Description:	(Write) Activate a single channel.

What:		/sys/bus/coresight/devices/<cti-name>/channels/chan_clear
Date:		March 2020
KernelVersion	5.7
Contact:	Mike Leach or Mathieu Poirier
Description:	(Write) Deactivate a single channel.

What:		/sys/bus/coresight/devices/<cti-name>/channels/chan_pulse
Date:		March 2020
KernelVersion	5.7
Contact:	Mike Leach or Mathieu Poirier
Description:	(Write) Pulse a single channel - activate for a single clock cycle.

What:		/sys/bus/coresight/devices/<cti-name>/channels/trigout_filtered
Date:		March 2020
KernelVersion	5.7
Contact:	Mike Leach or Mathieu Poirier
Description:	(Read) List of output triggers filtered across all connections.

What:		/sys/bus/coresight/devices/<cti-name>/channels/trig_filter_enable
Date:		March 2020
KernelVersion	5.7
Contact:	Mike Leach or Mathieu Poirier
Description:	(RW) Enable or disable trigger output signal filtering.

What:		/sys/bus/coresight/devices/<cti-name>/channels/chan_inuse
Date:		March 2020
KernelVersion	5.7
Contact:	Mike Leach or Mathieu Poirier
Description:	(Read) show channels with at least one attached trigger signal.

What:		/sys/bus/coresight/devices/<cti-name>/channels/chan_free
Date:		March 2020
KernelVersion	5.7
Contact:	Mike Leach or Mathieu Poirier
Description:	(Read) show channels with no attached trigger signals.

What:		/sys/bus/coresight/devices/<cti-name>/channels/chan_xtrigs_sel
Date:		March 2020
KernelVersion	5.7
Contact:	Mike Leach or Mathieu Poirier
Description:	(RW) Write channel number to select a channel to view, read to
		see selected channel number.

What:		/sys/bus/coresight/devices/<cti-name>/channels/chan_xtrigs_in
Date:		March 2020
KernelVersion	5.7
Contact:	Mike Leach or Mathieu Poirier
Description:	(Read) Read to see input triggers connected to selected view
		channel.

What:		/sys/bus/coresight/devices/<cti-name>/channels/chan_xtrigs_out
Date:		March 2020
KernelVersion	5.7
Contact:	Mike Leach or Mathieu Poirier
Description:	(Read) Read to see output triggers connected to selected view
		channel.

What:		/sys/bus/coresight/devices/<cti-name>/channels/chan_xtrigs_reset
Date:		March 2020
KernelVersion	5.7
Contact:	Mike Leach or Mathieu Poirier
Description:	(Write) Clear all channel / trigger programming.