xref: /linux/Documentation/ABI/testing/sysfs-bus-coresight-devices-cti (revision cdd38c5f1ce4398ec58fec95904b75824daab7b5)
105bd70c0SMike LeachWhat:		/sys/bus/coresight/devices/<cti-name>/enable
205bd70c0SMike LeachDate:		March 2020
305bd70c0SMike LeachKernelVersion	5.7
405bd70c0SMike LeachContact:	Mike Leach or Mathieu Poirier
505bd70c0SMike LeachDescription:	(RW) Enable/Disable the CTI hardware.
605bd70c0SMike Leach
705bd70c0SMike LeachWhat:		/sys/bus/coresight/devices/<cti-name>/powered
805bd70c0SMike LeachDate:		March 2020
905bd70c0SMike LeachKernelVersion	5.7
1005bd70c0SMike LeachContact:	Mike Leach or Mathieu Poirier
11*4119f0dfSMauro Carvalho ChehabDescription:	(Read) Indicate if the CTI hardware is powered.
1205bd70c0SMike Leach
1305bd70c0SMike LeachWhat:		/sys/bus/coresight/devices/<cti-name>/ctmid
1405bd70c0SMike LeachDate:		March 2020
1505bd70c0SMike LeachKernelVersion	5.7
1605bd70c0SMike LeachContact:	Mike Leach or Mathieu Poirier
17*4119f0dfSMauro Carvalho ChehabDescription:	(Read) Display the associated CTM ID
1805bd70c0SMike Leach
1905bd70c0SMike LeachWhat:		/sys/bus/coresight/devices/<cti-name>/nr_trigger_cons
2005bd70c0SMike LeachDate:		March 2020
2105bd70c0SMike LeachKernelVersion	5.7
2205bd70c0SMike LeachContact:	Mike Leach or Mathieu Poirier
23*4119f0dfSMauro Carvalho ChehabDescription:	(Read) Number of devices connected to triggers on this CTI
2405bd70c0SMike Leach
2505bd70c0SMike LeachWhat:		/sys/bus/coresight/devices/<cti-name>/triggers<N>/name
2605bd70c0SMike LeachDate:		March 2020
2705bd70c0SMike LeachKernelVersion	5.7
2805bd70c0SMike LeachContact:	Mike Leach or Mathieu Poirier
29*4119f0dfSMauro Carvalho ChehabDescription:	(Read) Name of connected device <N>
3005bd70c0SMike Leach
3105bd70c0SMike LeachWhat:		/sys/bus/coresight/devices/<cti-name>/triggers<N>/in_signals
3205bd70c0SMike LeachDate:		March 2020
3305bd70c0SMike LeachKernelVersion	5.7
3405bd70c0SMike LeachContact:	Mike Leach or Mathieu Poirier
35*4119f0dfSMauro Carvalho ChehabDescription:	(Read) Input trigger signals from connected device <N>
3605bd70c0SMike Leach
3705bd70c0SMike LeachWhat:		/sys/bus/coresight/devices/<cti-name>/triggers<N>/in_types
3805bd70c0SMike LeachDate:		March 2020
3905bd70c0SMike LeachKernelVersion	5.7
4005bd70c0SMike LeachContact:	Mike Leach or Mathieu Poirier
41*4119f0dfSMauro Carvalho ChehabDescription:	(Read) Functional types for the input trigger signals
4205bd70c0SMike Leach		from connected device <N>
4305bd70c0SMike Leach
4405bd70c0SMike LeachWhat:		/sys/bus/coresight/devices/<cti-name>/triggers<N>/out_signals
4505bd70c0SMike LeachDate:		March 2020
4605bd70c0SMike LeachKernelVersion	5.7
4705bd70c0SMike LeachContact:	Mike Leach or Mathieu Poirier
48*4119f0dfSMauro Carvalho ChehabDescription:	(Read) Output trigger signals to connected device <N>
4905bd70c0SMike Leach
5005bd70c0SMike LeachWhat:		/sys/bus/coresight/devices/<cti-name>/triggers<N>/out_types
5105bd70c0SMike LeachDate:		March 2020
5205bd70c0SMike LeachKernelVersion	5.7
5305bd70c0SMike LeachContact:	Mike Leach or Mathieu Poirier
54*4119f0dfSMauro Carvalho ChehabDescription:	(Read) Functional types for the output trigger signals
5505bd70c0SMike Leach		to connected device <N>
5605bd70c0SMike Leach
5705bd70c0SMike LeachWhat:		/sys/bus/coresight/devices/<cti-name>/regs/inout_sel
5805bd70c0SMike LeachDate:		March 2020
5905bd70c0SMike LeachKernelVersion	5.7
6005bd70c0SMike LeachContact:	Mike Leach or Mathieu Poirier
6105bd70c0SMike LeachDescription:	(RW) Select the index for inen and outen registers.
6205bd70c0SMike Leach
6305bd70c0SMike LeachWhat:		/sys/bus/coresight/devices/<cti-name>/regs/inen
6405bd70c0SMike LeachDate:		March 2020
6505bd70c0SMike LeachKernelVersion	5.7
6605bd70c0SMike LeachContact:	Mike Leach or Mathieu Poirier
6705bd70c0SMike LeachDescription:	(RW) Read or write the CTIINEN register selected by inout_sel.
6805bd70c0SMike Leach
6905bd70c0SMike LeachWhat:		/sys/bus/coresight/devices/<cti-name>/regs/outen
7005bd70c0SMike LeachDate:		March 2020
7105bd70c0SMike LeachKernelVersion	5.7
7205bd70c0SMike LeachContact:	Mike Leach or Mathieu Poirier
7305bd70c0SMike LeachDescription:	(RW) Read or write the CTIOUTEN register selected by inout_sel.
7405bd70c0SMike Leach
7505bd70c0SMike LeachWhat:		/sys/bus/coresight/devices/<cti-name>/regs/gate
7605bd70c0SMike LeachDate:		March 2020
7705bd70c0SMike LeachKernelVersion	5.7
7805bd70c0SMike LeachContact:	Mike Leach or Mathieu Poirier
7905bd70c0SMike LeachDescription:	(RW) Read or write CTIGATE register.
8005bd70c0SMike Leach
8105bd70c0SMike LeachWhat:		/sys/bus/coresight/devices/<cti-name>/regs/asicctl
8205bd70c0SMike LeachDate:		March 2020
8305bd70c0SMike LeachKernelVersion	5.7
8405bd70c0SMike LeachContact:	Mike Leach or Mathieu Poirier
8505bd70c0SMike LeachDescription:	(RW) Read or write ASICCTL register.
8605bd70c0SMike Leach
8705bd70c0SMike LeachWhat:		/sys/bus/coresight/devices/<cti-name>/regs/intack
8805bd70c0SMike LeachDate:		March 2020
8905bd70c0SMike LeachKernelVersion	5.7
9005bd70c0SMike LeachContact:	Mike Leach or Mathieu Poirier
91*4119f0dfSMauro Carvalho ChehabDescription:	(Write) Write the INTACK register.
9205bd70c0SMike Leach
9305bd70c0SMike LeachWhat:		/sys/bus/coresight/devices/<cti-name>/regs/appset
9405bd70c0SMike LeachDate:		March 2020
9505bd70c0SMike LeachKernelVersion	5.7
9605bd70c0SMike LeachContact:	Mike Leach or Mathieu Poirier
9705bd70c0SMike LeachDescription:	(RW) Set CTIAPPSET register to activate channel. Read back to
9805bd70c0SMike Leach		determine current value of register.
9905bd70c0SMike Leach
10005bd70c0SMike LeachWhat:		/sys/bus/coresight/devices/<cti-name>/regs/appclear
10105bd70c0SMike LeachDate:		March 2020
10205bd70c0SMike LeachKernelVersion	5.7
10305bd70c0SMike LeachContact:	Mike Leach or Mathieu Poirier
104*4119f0dfSMauro Carvalho ChehabDescription:	(Write) Write APPCLEAR register to deactivate channel.
10505bd70c0SMike Leach
10605bd70c0SMike LeachWhat:		/sys/bus/coresight/devices/<cti-name>/regs/apppulse
10705bd70c0SMike LeachDate:		March 2020
10805bd70c0SMike LeachKernelVersion	5.7
10905bd70c0SMike LeachContact:	Mike Leach or Mathieu Poirier
110*4119f0dfSMauro Carvalho ChehabDescription:	(Write) Write APPPULSE to pulse a channel active for one clock
11105bd70c0SMike Leach		cycle.
11205bd70c0SMike Leach
11305bd70c0SMike LeachWhat:		/sys/bus/coresight/devices/<cti-name>/regs/chinstatus
11405bd70c0SMike LeachDate:		March 2020
11505bd70c0SMike LeachKernelVersion	5.7
11605bd70c0SMike LeachContact:	Mike Leach or Mathieu Poirier
117*4119f0dfSMauro Carvalho ChehabDescription:	(Read) Read current status of channel inputs.
11805bd70c0SMike Leach
11905bd70c0SMike LeachWhat:		/sys/bus/coresight/devices/<cti-name>/regs/choutstatus
12005bd70c0SMike LeachDate:		March 2020
12105bd70c0SMike LeachKernelVersion	5.7
12205bd70c0SMike LeachContact:	Mike Leach or Mathieu Poirier
123*4119f0dfSMauro Carvalho ChehabDescription:	(Read) read current status of channel outputs.
12405bd70c0SMike Leach
12505bd70c0SMike LeachWhat:		/sys/bus/coresight/devices/<cti-name>/regs/triginstatus
12605bd70c0SMike LeachDate:		March 2020
12705bd70c0SMike LeachKernelVersion	5.7
12805bd70c0SMike LeachContact:	Mike Leach or Mathieu Poirier
129*4119f0dfSMauro Carvalho ChehabDescription:	(Read) read current status of input trigger signals
13005bd70c0SMike Leach
13105bd70c0SMike LeachWhat:		/sys/bus/coresight/devices/<cti-name>/regs/trigoutstatus
13205bd70c0SMike LeachDate:		March 2020
13305bd70c0SMike LeachKernelVersion	5.7
13405bd70c0SMike LeachContact:	Mike Leach or Mathieu Poirier
135*4119f0dfSMauro Carvalho ChehabDescription:	(Read) read current status of output trigger signals.
13605bd70c0SMike Leach
13705bd70c0SMike LeachWhat:		/sys/bus/coresight/devices/<cti-name>/channels/trigin_attach
13805bd70c0SMike LeachDate:		March 2020
13905bd70c0SMike LeachKernelVersion	5.7
14005bd70c0SMike LeachContact:	Mike Leach or Mathieu Poirier
141*4119f0dfSMauro Carvalho ChehabDescription:	(Write) Attach a CTI input trigger to a CTM channel.
14205bd70c0SMike Leach
14305bd70c0SMike LeachWhat:		/sys/bus/coresight/devices/<cti-name>/channels/trigin_detach
14405bd70c0SMike LeachDate:		March 2020
14505bd70c0SMike LeachKernelVersion	5.7
14605bd70c0SMike LeachContact:	Mike Leach or Mathieu Poirier
147*4119f0dfSMauro Carvalho ChehabDescription:	(Write) Detach a CTI input trigger from a CTM channel.
14805bd70c0SMike Leach
14905bd70c0SMike LeachWhat:		/sys/bus/coresight/devices/<cti-name>/channels/trigout_attach
15005bd70c0SMike LeachDate:		March 2020
15105bd70c0SMike LeachKernelVersion	5.7
15205bd70c0SMike LeachContact:	Mike Leach or Mathieu Poirier
153*4119f0dfSMauro Carvalho ChehabDescription:	(Write) Attach a CTI output trigger to a CTM channel.
15405bd70c0SMike Leach
15505bd70c0SMike LeachWhat:		/sys/bus/coresight/devices/<cti-name>/channels/trigout_detach
15605bd70c0SMike LeachDate:		March 2020
15705bd70c0SMike LeachKernelVersion	5.7
15805bd70c0SMike LeachContact:	Mike Leach or Mathieu Poirier
159*4119f0dfSMauro Carvalho ChehabDescription:	(Write) Detach a CTI output trigger from a CTM channel.
16005bd70c0SMike Leach
16105bd70c0SMike LeachWhat:		/sys/bus/coresight/devices/<cti-name>/channels/chan_gate_enable
16205bd70c0SMike LeachDate:		March 2020
16305bd70c0SMike LeachKernelVersion	5.7
16405bd70c0SMike LeachContact:	Mike Leach or Mathieu Poirier
165*4119f0dfSMauro Carvalho ChehabDescription:	(RW) Enable CTIGATE for single channel (Write) or list enabled
16605bd70c0SMike Leach		channels through the gate (R).
16705bd70c0SMike Leach
16805bd70c0SMike LeachWhat:		/sys/bus/coresight/devices/<cti-name>/channels/chan_gate_disable
16905bd70c0SMike LeachDate:		March 2020
17005bd70c0SMike LeachKernelVersion	5.7
17105bd70c0SMike LeachContact:	Mike Leach or Mathieu Poirier
172*4119f0dfSMauro Carvalho ChehabDescription:	(Write) Disable CTIGATE for single channel.
17305bd70c0SMike Leach
17405bd70c0SMike LeachWhat:		/sys/bus/coresight/devices/<cti-name>/channels/chan_set
17505bd70c0SMike LeachDate:		March 2020
17605bd70c0SMike LeachKernelVersion	5.7
17705bd70c0SMike LeachContact:	Mike Leach or Mathieu Poirier
178*4119f0dfSMauro Carvalho ChehabDescription:	(Write) Activate a single channel.
17905bd70c0SMike Leach
18005bd70c0SMike LeachWhat:		/sys/bus/coresight/devices/<cti-name>/channels/chan_clear
18105bd70c0SMike LeachDate:		March 2020
18205bd70c0SMike LeachKernelVersion	5.7
18305bd70c0SMike LeachContact:	Mike Leach or Mathieu Poirier
184*4119f0dfSMauro Carvalho ChehabDescription:	(Write) Deactivate a single channel.
18505bd70c0SMike Leach
18605bd70c0SMike LeachWhat:		/sys/bus/coresight/devices/<cti-name>/channels/chan_pulse
18705bd70c0SMike LeachDate:		March 2020
18805bd70c0SMike LeachKernelVersion	5.7
18905bd70c0SMike LeachContact:	Mike Leach or Mathieu Poirier
190*4119f0dfSMauro Carvalho ChehabDescription:	(Write) Pulse a single channel - activate for a single clock cycle.
19105bd70c0SMike Leach
19205bd70c0SMike LeachWhat:		/sys/bus/coresight/devices/<cti-name>/channels/trigout_filtered
19305bd70c0SMike LeachDate:		March 2020
19405bd70c0SMike LeachKernelVersion	5.7
19505bd70c0SMike LeachContact:	Mike Leach or Mathieu Poirier
196*4119f0dfSMauro Carvalho ChehabDescription:	(Read) List of output triggers filtered across all connections.
19705bd70c0SMike Leach
19805bd70c0SMike LeachWhat:		/sys/bus/coresight/devices/<cti-name>/channels/trig_filter_enable
19905bd70c0SMike LeachDate:		March 2020
20005bd70c0SMike LeachKernelVersion	5.7
20105bd70c0SMike LeachContact:	Mike Leach or Mathieu Poirier
20205bd70c0SMike LeachDescription:	(RW) Enable or disable trigger output signal filtering.
20305bd70c0SMike Leach
20405bd70c0SMike LeachWhat:		/sys/bus/coresight/devices/<cti-name>/channels/chan_inuse
20505bd70c0SMike LeachDate:		March 2020
20605bd70c0SMike LeachKernelVersion	5.7
20705bd70c0SMike LeachContact:	Mike Leach or Mathieu Poirier
208*4119f0dfSMauro Carvalho ChehabDescription:	(Read) show channels with at least one attached trigger signal.
20905bd70c0SMike Leach
21005bd70c0SMike LeachWhat:		/sys/bus/coresight/devices/<cti-name>/channels/chan_free
21105bd70c0SMike LeachDate:		March 2020
21205bd70c0SMike LeachKernelVersion	5.7
21305bd70c0SMike LeachContact:	Mike Leach or Mathieu Poirier
214*4119f0dfSMauro Carvalho ChehabDescription:	(Read) show channels with no attached trigger signals.
21505bd70c0SMike Leach
21605bd70c0SMike LeachWhat:		/sys/bus/coresight/devices/<cti-name>/channels/chan_xtrigs_sel
21705bd70c0SMike LeachDate:		March 2020
21805bd70c0SMike LeachKernelVersion	5.7
21905bd70c0SMike LeachContact:	Mike Leach or Mathieu Poirier
22005bd70c0SMike LeachDescription:	(RW) Write channel number to select a channel to view, read to
22105bd70c0SMike Leach		see selected channel number.
22205bd70c0SMike Leach
22305bd70c0SMike LeachWhat:		/sys/bus/coresight/devices/<cti-name>/channels/chan_xtrigs_in
22405bd70c0SMike LeachDate:		March 2020
22505bd70c0SMike LeachKernelVersion	5.7
22605bd70c0SMike LeachContact:	Mike Leach or Mathieu Poirier
227*4119f0dfSMauro Carvalho ChehabDescription:	(Read) Read to see input triggers connected to selected view
22805bd70c0SMike Leach		channel.
22905bd70c0SMike Leach
23005bd70c0SMike LeachWhat:		/sys/bus/coresight/devices/<cti-name>/channels/chan_xtrigs_out
23105bd70c0SMike LeachDate:		March 2020
23205bd70c0SMike LeachKernelVersion	5.7
23305bd70c0SMike LeachContact:	Mike Leach or Mathieu Poirier
234*4119f0dfSMauro Carvalho ChehabDescription:	(Read) Read to see output triggers connected to selected view
23505bd70c0SMike Leach		channel.
23605bd70c0SMike Leach
23705bd70c0SMike LeachWhat:		/sys/bus/coresight/devices/<cti-name>/channels/chan_xtrigs_reset
23805bd70c0SMike LeachDate:		March 2020
23905bd70c0SMike LeachKernelVersion	5.7
24005bd70c0SMike LeachContact:	Mike Leach or Mathieu Poirier
241*4119f0dfSMauro Carvalho ChehabDescription:	(Write) Clear all channel / trigger programming.
242