1 What: /sys/bus/coresight/devices/<memory_map>.tmc/trigger_cntr
4 Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
5 Description: (RW) Disables write access to the Trace RAM by stopping the
6 formatter after a defined number of words have been stored
7 following the trigger event. Additional interface for this
8 driver are expected to be added as it matures.
10 What: /sys/bus/coresight/devices/<memory_map>.tmc/mgmt/rsz
13 Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
14 Description: (Read) Defines the size, in 32-bit words, of the local RAM buffer.
15 The value is read directly from HW register RSZ, 0x004.
17 What: /sys/bus/coresight/devices/<memory_map>.tmc/mgmt/sts
20 Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
21 Description: (Read) Shows the value held by the TMC status register. The value
22 is read directly from HW register STS, 0x00C.
24 What: /sys/bus/coresight/devices/<memory_map>.tmc/mgmt/rrp
27 Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
28 Description: (Read) Shows the value held by the TMC RAM Read Pointer register
29 that is used to read entries from the Trace RAM over the APB
30 interface. The value is read directly from HW register RRP,
33 What: /sys/bus/coresight/devices/<memory_map>.tmc/mgmt/rwp
36 Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
37 Description: (Read) Shows the value held by the TMC RAM Write Pointer register
38 that is used to sets the write pointer to write entries from
39 the CoreSight bus into the Trace RAM. The value is read directly
40 from HW register RWP, 0x018.
42 What: /sys/bus/coresight/devices/<memory_map>.tmc/mgmt/trg
45 Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
46 Description: (Read) Similar to "trigger_cntr" above except that this value is
47 read directly from HW register TRG, 0x01C.
49 What: /sys/bus/coresight/devices/<memory_map>.tmc/mgmt/ctl
52 Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
53 Description: (Read) Shows the value held by the TMC Control register. The value
54 is read directly from HW register CTL, 0x020.
56 What: /sys/bus/coresight/devices/<memory_map>.tmc/mgmt/ffsr
59 Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
60 Description: (Read) Shows the value held by the TMC Formatter and Flush Status
61 register. The value is read directly from HW register FFSR,
64 What: /sys/bus/coresight/devices/<memory_map>.tmc/mgmt/ffcr
67 Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
68 Description: (Read) Shows the value held by the TMC Formatter and Flush Control
69 register. The value is read directly from HW register FFCR,
72 What: /sys/bus/coresight/devices/<memory_map>.tmc/mgmt/mode
75 Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
76 Description: (Read) Shows the value held by the TMC Mode register, which
77 indicate the mode the device has been configured to enact. The
78 The value is read directly from the MODE register, 0x028.
80 What: /sys/bus/coresight/devices/<memory_map>.tmc/mgmt/devid
83 Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
84 Description: (Read) Indicates the capabilities of the Coresight TMC.
85 The value is read directly from the DEVID register, 0xFC8,
87 What: /sys/bus/coresight/devices/<memory_map>.tmc/buffer_size
90 Contact: Mathieu Poirier <mathieu.poirier@linaro.org>
91 Description: (RW) Size of the trace buffer for TMC-ETR when used in SYSFS
92 mode. Writable only for TMC-ETR configurations. The value
93 should be aligned to the kernel pagesize.