Coresight: Add TPDA link driver
authorMao Jinlong <quic_jinlmao@quicinc.com>
Tue, 17 Jan 2023 14:57:05 +0000 (06:57 -0800)
committerSuzuki K Poulose <suzuki.poulose@arm.com>
Fri, 20 Jan 2023 11:39:03 +0000 (11:39 +0000)
commit5b7916625c017ef1bbea4092835740f9161ab7c9
tree59ab52d5a02b8cb2499cfaf052a98635e9dea384
parent436cca9a2c0f05a3802a6a5a7c6849853590f919
Coresight: Add TPDA link driver

TPDA(Trace, Profiling and Diagnostics Aggregator) is
to provide packetization, funneling and timestamping of
TPDM data. Multiple monitors are connected to different
input ports of TPDA.This change is to add tpda
enable/disable/probe functions for coresight tpda driver.

 - - - -         - - - -        - - - -
| TPDM 0|      | TPDM 1 |     | TPDM 2|
 - - - -         - - - -        - - - -
    |               |             |
    |_ _ _ _ _ _    |     _ _ _ _ |
                |   |    |
                |   |    |
           ------------------
          |        TPDA      |
           ------------------

Reviewed-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Signed-off-by: Tao Zhang <quic_taozha@quicinc.com>
Signed-off-by: Mao Jinlong <quic_jinlmao@quicinc.com>
Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Link: https://lore.kernel.org/r/20230120095301.30792-2-quic_jinlmao@quicinc.com
drivers/hwtracing/coresight/Kconfig
drivers/hwtracing/coresight/Makefile
drivers/hwtracing/coresight/coresight-tpda.c [new file with mode: 0644]
drivers/hwtracing/coresight/coresight-tpda.h [new file with mode: 0644]