]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
coresight: tpdm: add static tpdm support
authorJie Gan <jie.gan@oss.qualcomm.com>
Tue, 28 Oct 2025 10:11:41 +0000 (18:11 +0800)
committerSuzuki K Poulose <suzuki.poulose@arm.com>
Thu, 6 Nov 2025 11:37:05 +0000 (11:37 +0000)
commit14ae052f794715c1d78113d87f3d42adf2ae24d0
tree92f42b4ecbf7917242c5aa0993127b95447cb3af
parent8d204b6f1f7a6d5c74e5cbf09539e6081ee0a9be
coresight: tpdm: add static tpdm support

The static TPDM function as a dummy source, however, it is essential
to enable the port connected to the TPDA and configure the element size.
Without this, the TPDA cannot correctly receive trace data from the
static TPDM. Since the static TPDM does not require MMIO mapping to
access its registers, a clock controller is not mandatory for its
operation.

Signed-off-by: Jie Gan <jie.gan@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20251028-add_static_tpdm_support-v4-2-84e21b98e727@oss.qualcomm.com
Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com>
drivers/hwtracing/coresight/coresight-tpda.c
drivers/hwtracing/coresight/coresight-tpdm.c
drivers/hwtracing/coresight/coresight-tpdm.h