xref: /linux/Documentation/trace/coresight/coresight-tpdm.rst (revision ae22a94997b8a03dcb3c922857c203246711f9d4)
1.. SPDX-License-Identifier: GPL-2.0
2
3==========================================================
4Trace performance monitoring and diagnostics monitor(TPDM)
5==========================================================
6
7    :Author:   Jinlong Mao <quic_jinlmao@quicinc.com>
8    :Date:     January 2023
9
10Hardware Description
11--------------------
12TPDM - The trace performance monitoring and diagnostics monitor or TPDM in
13short serves as data collection component for various dataset types.
14The primary use case of the TPDM is to collect data from different data
15sources and send it to a TPDA for packetization, timestamping and funneling.
16
17Sysfs files and directories
18---------------------------
19Root: ``/sys/bus/coresight/devices/tpdm<N>``
20
21----
22
23:File:            ``enable_source`` (RW)
24:Notes:
25    - > 0 : enable the datasets of TPDM.
26
27    - = 0 : disable the datasets of TPDM.
28
29:Syntax:
30    ``echo 1 > enable_source``
31
32----
33
34:File:            ``integration_test`` (wo)
35:Notes:
36    Integration test will generate test data for tpdm.
37
38:Syntax:
39    ``echo value > integration_test``
40
41    value -  1 or 2.
42
43----
44
45.. This text is intentionally added to make Sphinx happy.
46