[PATCH v1 0/3] coresight: Support for building more coresight paths

From: Tao Zhang
Date: Mon May 10 2021 - 08:02:50 EST


We are trying to achieve more types of Coresight source devices.
For example, we have a type of coresight source devic named TPDM.
In the process of using, sometimes mulitiple TPDMs need to be
connected to the different input ports on the same funnel.
Meanwhile, these TPDMs also need to output from different
ports on the funnel.
But, at present the Coresight driver assumes
a) Only support Coresight source type ETM, ETR and ETF
b) Funnels only support mulitiple inputs and one output
Which doesn't help to add the above feature for our new Coresight
source device TPDM. So, in order to accommodate the new device,
we develop the following patches.
a) Add support more types of Coresight source devices.
b) Add support for multiple output ports on funnel and the output
ports could be selected by Corsight source.

Applies on coresight/next.
http://git.linaro.org/kernel/coresight.git/log/?h=next

Tao Zhang (3):
coresight: add support to enable more coresight paths
coresight: funnel: add support for multiple output ports
dt-bindings: arm: add property for selecting funnel output port

.../devicetree/bindings/arm/coresight.txt | 5 +
drivers/hwtracing/coresight/coresight-core.c | 169 ++++++++++++++-------
drivers/hwtracing/coresight/coresight-platform.c | 9 ++
include/linux/coresight.h | 2 +
4 files changed, 127 insertions(+), 58 deletions(-)

--
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project