1 What: /sys/bus/coresight/devices/<cti-name>/enable
4 Contact: Mike Leach or Mathieu Poirier
5 Description: (RW) Enable/Disable the CTI hardware.
7 What: /sys/bus/coresight/devices/<cti-name>/powered
10 Contact: Mike Leach or Mathieu Poirier
11 Description: (Read) Indicate if the CTI hardware is powered.
13 What: /sys/bus/coresight/devices/<cti-name>/ctmid
16 Contact: Mike Leach or Mathieu Poirier
17 Description: (Read) Display the associated CTM ID
19 What: /sys/bus/coresight/devices/<cti-name>/nr_trigger_cons
22 Contact: Mike Leach or Mathieu Poirier
23 Description: (Read) Number of devices connected to triggers on this CTI
25 What: /sys/bus/coresight/devices/<cti-name>/triggers<N>/name
28 Contact: Mike Leach or Mathieu Poirier
29 Description: (Read) Name of connected device <N>
31 What: /sys/bus/coresight/devices/<cti-name>/triggers<N>/in_signals
34 Contact: Mike Leach or Mathieu Poirier
35 Description: (Read) Input trigger signals from connected device <N>
37 What: /sys/bus/coresight/devices/<cti-name>/triggers<N>/in_types
40 Contact: Mike Leach or Mathieu Poirier
41 Description: (Read) Functional types for the input trigger signals
42 from connected device <N>
44 What: /sys/bus/coresight/devices/<cti-name>/triggers<N>/out_signals
47 Contact: Mike Leach or Mathieu Poirier
48 Description: (Read) Output trigger signals to connected device <N>
50 What: /sys/bus/coresight/devices/<cti-name>/triggers<N>/out_types
53 Contact: Mike Leach or Mathieu Poirier
54 Description: (Read) Functional types for the output trigger signals
55 to connected device <N>
57 What: /sys/bus/coresight/devices/<cti-name>/regs/inout_sel
60 Contact: Mike Leach or Mathieu Poirier
61 Description: (RW) Select the index for inen and outen registers.
63 What: /sys/bus/coresight/devices/<cti-name>/regs/inen
66 Contact: Mike Leach or Mathieu Poirier
67 Description: (RW) Read or write the CTIINEN register selected by inout_sel.
69 What: /sys/bus/coresight/devices/<cti-name>/regs/outen
72 Contact: Mike Leach or Mathieu Poirier
73 Description: (RW) Read or write the CTIOUTEN register selected by inout_sel.
75 What: /sys/bus/coresight/devices/<cti-name>/regs/gate
78 Contact: Mike Leach or Mathieu Poirier
79 Description: (RW) Read or write CTIGATE register.
81 What: /sys/bus/coresight/devices/<cti-name>/regs/asicctl
84 Contact: Mike Leach or Mathieu Poirier
85 Description: (RW) Read or write ASICCTL register.
87 What: /sys/bus/coresight/devices/<cti-name>/regs/intack
90 Contact: Mike Leach or Mathieu Poirier
91 Description: (Write) Write the INTACK register.
93 What: /sys/bus/coresight/devices/<cti-name>/regs/appset
96 Contact: Mike Leach or Mathieu Poirier
97 Description: (RW) Set CTIAPPSET register to activate channel. Read back to
98 determine current value of register.
100 What: /sys/bus/coresight/devices/<cti-name>/regs/appclear
103 Contact: Mike Leach or Mathieu Poirier
104 Description: (Write) Write APPCLEAR register to deactivate channel.
106 What: /sys/bus/coresight/devices/<cti-name>/regs/apppulse
109 Contact: Mike Leach or Mathieu Poirier
110 Description: (Write) Write APPPULSE to pulse a channel active for one clock
113 What: /sys/bus/coresight/devices/<cti-name>/regs/chinstatus
116 Contact: Mike Leach or Mathieu Poirier
117 Description: (Read) Read current status of channel inputs.
119 What: /sys/bus/coresight/devices/<cti-name>/regs/choutstatus
122 Contact: Mike Leach or Mathieu Poirier
123 Description: (Read) read current status of channel outputs.
125 What: /sys/bus/coresight/devices/<cti-name>/regs/triginstatus
128 Contact: Mike Leach or Mathieu Poirier
129 Description: (Read) read current status of input trigger signals
131 What: /sys/bus/coresight/devices/<cti-name>/regs/trigoutstatus
134 Contact: Mike Leach or Mathieu Poirier
135 Description: (Read) read current status of output trigger signals.
137 What: /sys/bus/coresight/devices/<cti-name>/channels/trigin_attach
140 Contact: Mike Leach or Mathieu Poirier
141 Description: (Write) Attach a CTI input trigger to a CTM channel.
143 What: /sys/bus/coresight/devices/<cti-name>/channels/trigin_detach
146 Contact: Mike Leach or Mathieu Poirier
147 Description: (Write) Detach a CTI input trigger from a CTM channel.
149 What: /sys/bus/coresight/devices/<cti-name>/channels/trigout_attach
152 Contact: Mike Leach or Mathieu Poirier
153 Description: (Write) Attach a CTI output trigger to a CTM channel.
155 What: /sys/bus/coresight/devices/<cti-name>/channels/trigout_detach
158 Contact: Mike Leach or Mathieu Poirier
159 Description: (Write) Detach a CTI output trigger from a CTM channel.
161 What: /sys/bus/coresight/devices/<cti-name>/channels/chan_gate_enable
164 Contact: Mike Leach or Mathieu Poirier
165 Description: (RW) Enable CTIGATE for single channel (Write) or list enabled
166 channels through the gate (R).
168 What: /sys/bus/coresight/devices/<cti-name>/channels/chan_gate_disable
171 Contact: Mike Leach or Mathieu Poirier
172 Description: (Write) Disable CTIGATE for single channel.
174 What: /sys/bus/coresight/devices/<cti-name>/channels/chan_set
177 Contact: Mike Leach or Mathieu Poirier
178 Description: (Write) Activate a single channel.
180 What: /sys/bus/coresight/devices/<cti-name>/channels/chan_clear
183 Contact: Mike Leach or Mathieu Poirier
184 Description: (Write) Deactivate a single channel.
186 What: /sys/bus/coresight/devices/<cti-name>/channels/chan_pulse
189 Contact: Mike Leach or Mathieu Poirier
190 Description: (Write) Pulse a single channel - activate for a single clock cycle.
192 What: /sys/bus/coresight/devices/<cti-name>/channels/trigout_filtered
195 Contact: Mike Leach or Mathieu Poirier
196 Description: (Read) List of output triggers filtered across all connections.
198 What: /sys/bus/coresight/devices/<cti-name>/channels/trig_filter_enable
201 Contact: Mike Leach or Mathieu Poirier
202 Description: (RW) Enable or disable trigger output signal filtering.
204 What: /sys/bus/coresight/devices/<cti-name>/channels/chan_inuse
207 Contact: Mike Leach or Mathieu Poirier
208 Description: (Read) show channels with at least one attached trigger signal.
210 What: /sys/bus/coresight/devices/<cti-name>/channels/chan_free
213 Contact: Mike Leach or Mathieu Poirier
214 Description: (Read) show channels with no attached trigger signals.
216 What: /sys/bus/coresight/devices/<cti-name>/channels/chan_xtrigs_sel
219 Contact: Mike Leach or Mathieu Poirier
220 Description: (RW) Write channel number to select a channel to view, read to
221 see selected channel number.
223 What: /sys/bus/coresight/devices/<cti-name>/channels/chan_xtrigs_in
226 Contact: Mike Leach or Mathieu Poirier
227 Description: (Read) Read to see input triggers connected to selected view
230 What: /sys/bus/coresight/devices/<cti-name>/channels/chan_xtrigs_out
233 Contact: Mike Leach or Mathieu Poirier
234 Description: (Read) Read to see output triggers connected to selected view
237 What: /sys/bus/coresight/devices/<cti-name>/channels/chan_xtrigs_reset
240 Contact: Mike Leach or Mathieu Poirier
241 Description: (Write) Clear all channel / trigger programming.