xref: /linux/Documentation/ABI/testing/sysfs-bus-coresight-devices-cti (revision 7362b5b493102c6b71827c2da22117b475528f6d)
105bd70c0SMike LeachWhat:		/sys/bus/coresight/devices/<cti-name>/enable
205bd70c0SMike LeachDate:		March 2020
3fc80c4f0SMauro Carvalho ChehabKernelVersion:	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
9fc80c4f0SMauro Carvalho ChehabKernelVersion:	5.7
1005bd70c0SMike LeachContact:	Mike Leach or Mathieu Poirier
114119f0dfSMauro 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
15fc80c4f0SMauro Carvalho ChehabKernelVersion:	5.7
1605bd70c0SMike LeachContact:	Mike Leach or Mathieu Poirier
174119f0dfSMauro 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
21fc80c4f0SMauro Carvalho ChehabKernelVersion:	5.7
2205bd70c0SMike LeachContact:	Mike Leach or Mathieu Poirier
234119f0dfSMauro 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
27fc80c4f0SMauro Carvalho ChehabKernelVersion:	5.7
2805bd70c0SMike LeachContact:	Mike Leach or Mathieu Poirier
294119f0dfSMauro 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
33fc80c4f0SMauro Carvalho ChehabKernelVersion:	5.7
3405bd70c0SMike LeachContact:	Mike Leach or Mathieu Poirier
354119f0dfSMauro 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
39fc80c4f0SMauro Carvalho ChehabKernelVersion:	5.7
4005bd70c0SMike LeachContact:	Mike Leach or Mathieu Poirier
414119f0dfSMauro 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
46fc80c4f0SMauro Carvalho ChehabKernelVersion:	5.7
4705bd70c0SMike LeachContact:	Mike Leach or Mathieu Poirier
484119f0dfSMauro 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
52fc80c4f0SMauro Carvalho ChehabKernelVersion:	5.7
5305bd70c0SMike LeachContact:	Mike Leach or Mathieu Poirier
544119f0dfSMauro 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
59fc80c4f0SMauro Carvalho ChehabKernelVersion:	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
65fc80c4f0SMauro Carvalho ChehabKernelVersion:	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
71fc80c4f0SMauro Carvalho ChehabKernelVersion:	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
77fc80c4f0SMauro Carvalho ChehabKernelVersion:	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
83fc80c4f0SMauro Carvalho ChehabKernelVersion:	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
89fc80c4f0SMauro Carvalho ChehabKernelVersion:	5.7
9005bd70c0SMike LeachContact:	Mike Leach or Mathieu Poirier
914119f0dfSMauro Carvalho ChehabDescription:	(Write) Write the INTACK register.
9205bd70c0SMike Leach
9305bd70c0SMike LeachWhat:		/sys/bus/coresight/devices/<cti-name>/regs/appset
9405bd70c0SMike LeachDate:		March 2020
95fc80c4f0SMauro Carvalho ChehabKernelVersion:	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
102fc80c4f0SMauro Carvalho ChehabKernelVersion:	5.7
10305bd70c0SMike LeachContact:	Mike Leach or Mathieu Poirier
1044119f0dfSMauro 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
108fc80c4f0SMauro Carvalho ChehabKernelVersion:	5.7
10905bd70c0SMike LeachContact:	Mike Leach or Mathieu Poirier
1104119f0dfSMauro 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
115fc80c4f0SMauro Carvalho ChehabKernelVersion:	5.7
11605bd70c0SMike LeachContact:	Mike Leach or Mathieu Poirier
1174119f0dfSMauro 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
121fc80c4f0SMauro Carvalho ChehabKernelVersion:	5.7
12205bd70c0SMike LeachContact:	Mike Leach or Mathieu Poirier
1234119f0dfSMauro 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
127fc80c4f0SMauro Carvalho ChehabKernelVersion:	5.7
12805bd70c0SMike LeachContact:	Mike Leach or Mathieu Poirier
1294119f0dfSMauro 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
133fc80c4f0SMauro Carvalho ChehabKernelVersion:	5.7
13405bd70c0SMike LeachContact:	Mike Leach or Mathieu Poirier
1354119f0dfSMauro 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
139fc80c4f0SMauro Carvalho ChehabKernelVersion:	5.7
14005bd70c0SMike LeachContact:	Mike Leach or Mathieu Poirier
1414119f0dfSMauro 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
145fc80c4f0SMauro Carvalho ChehabKernelVersion:	5.7
14605bd70c0SMike LeachContact:	Mike Leach or Mathieu Poirier
1474119f0dfSMauro 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
151fc80c4f0SMauro Carvalho ChehabKernelVersion:	5.7
15205bd70c0SMike LeachContact:	Mike Leach or Mathieu Poirier
1534119f0dfSMauro 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
157fc80c4f0SMauro Carvalho ChehabKernelVersion:	5.7
15805bd70c0SMike LeachContact:	Mike Leach or Mathieu Poirier
1594119f0dfSMauro 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
163fc80c4f0SMauro Carvalho ChehabKernelVersion:	5.7
16405bd70c0SMike LeachContact:	Mike Leach or Mathieu Poirier
1654119f0dfSMauro 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
170fc80c4f0SMauro Carvalho ChehabKernelVersion:	5.7
17105bd70c0SMike LeachContact:	Mike Leach or Mathieu Poirier
1724119f0dfSMauro 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
176fc80c4f0SMauro Carvalho ChehabKernelVersion:	5.7
17705bd70c0SMike LeachContact:	Mike Leach or Mathieu Poirier
1784119f0dfSMauro Carvalho ChehabDescription:	(Write) Activate a single channel.
17905bd70c0SMike Leach
18005bd70c0SMike LeachWhat:		/sys/bus/coresight/devices/<cti-name>/channels/chan_clear
18105bd70c0SMike LeachDate:		March 2020
182fc80c4f0SMauro Carvalho ChehabKernelVersion:	5.7
18305bd70c0SMike LeachContact:	Mike Leach or Mathieu Poirier
1844119f0dfSMauro Carvalho ChehabDescription:	(Write) Deactivate a single channel.
18505bd70c0SMike Leach
18605bd70c0SMike LeachWhat:		/sys/bus/coresight/devices/<cti-name>/channels/chan_pulse
18705bd70c0SMike LeachDate:		March 2020
188fc80c4f0SMauro Carvalho ChehabKernelVersion:	5.7
18905bd70c0SMike LeachContact:	Mike Leach or Mathieu Poirier
1904119f0dfSMauro 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
194fc80c4f0SMauro Carvalho ChehabKernelVersion:	5.7
19505bd70c0SMike LeachContact:	Mike Leach or Mathieu Poirier
1964119f0dfSMauro 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
200fc80c4f0SMauro Carvalho ChehabKernelVersion:	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
206fc80c4f0SMauro Carvalho ChehabKernelVersion:	5.7
20705bd70c0SMike LeachContact:	Mike Leach or Mathieu Poirier
2084119f0dfSMauro 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
212fc80c4f0SMauro Carvalho ChehabKernelVersion:	5.7
21305bd70c0SMike LeachContact:	Mike Leach or Mathieu Poirier
2144119f0dfSMauro 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
218fc80c4f0SMauro Carvalho ChehabKernelVersion:	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
225fc80c4f0SMauro Carvalho ChehabKernelVersion:	5.7
22605bd70c0SMike LeachContact:	Mike Leach or Mathieu Poirier
2274119f0dfSMauro 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
232fc80c4f0SMauro Carvalho ChehabKernelVersion:	5.7
23305bd70c0SMike LeachContact:	Mike Leach or Mathieu Poirier
2344119f0dfSMauro 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
239fc80c4f0SMauro Carvalho ChehabKernelVersion:	5.7
24005bd70c0SMike LeachContact:	Mike Leach or Mathieu Poirier
2414119f0dfSMauro Carvalho ChehabDescription:	(Write) Clear all channel / trigger programming.
242*01f96b81SMao Jinlong
243*01f96b81SMao JinlongWhat:           /sys/bus/coresight/devices/<cti-name>/label
244*01f96b81SMao JinlongDate:           Aug 2025
245*01f96b81SMao JinlongKernelVersion   6.18
246*01f96b81SMao JinlongContact:        Mao Jinlong <quic_jinlmao@quicinc.com>
247*01f96b81SMao JinlongDescription:    (Read) Show hardware context information of device.
248