aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/coresight.h
diff options
context:
space:
mode:
authorHao Zhang <quic_hazha@quicinc.com>2023-06-02 16:41:47 +0800
committerSuzuki K Poulose <suzuki.poulose@arm.com>2023-06-15 08:50:23 +0100
commit9d3ba0b6c056918355cf36094d6ed63cdd01a2ab (patch)
treef102b2b507ee71e7e804d08eca9b389aa800b2f3 /include/linux/coresight.h
parentMAINTAINERS: coresight: Add James Clark as Reviewer (diff)
downloadwireguard-linux-9d3ba0b6c056918355cf36094d6ed63cdd01a2ab.tar.xz
wireguard-linux-9d3ba0b6c056918355cf36094d6ed63cdd01a2ab.zip
Coresight: Add coresight dummy driver
Some Coresight devices that kernel don't have permission to access or configure. For these devices, a dummy driver is needed to register them as Coresight devices. The module may also be used to define components that may not have any programming interfaces, so that paths can be created in the driver. It provides Coresight API for operations on dummy devices, such as enabling and disabling them. It also provides the Coresight dummy sink/source paths for debugging. Signed-off-by: Hao Zhang <quic_hazha@quicinc.com> Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com> Link: https://lore.kernel.org/r/20230602084149.40031-2-quic_hazha@quicinc.com
Diffstat (limited to 'include/linux/coresight.h')
-rw-r--r--include/linux/coresight.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/coresight.h b/include/linux/coresight.h
index 949aa24f46bd..bf70987240e4 100644
--- a/include/linux/coresight.h
+++ b/include/linux/coresight.h
@@ -45,6 +45,7 @@ enum coresight_dev_type {
};
enum coresight_dev_subtype_sink {
+ CORESIGHT_DEV_SUBTYPE_SINK_DUMMY,
CORESIGHT_DEV_SUBTYPE_SINK_PORT,
CORESIGHT_DEV_SUBTYPE_SINK_BUFFER,
CORESIGHT_DEV_SUBTYPE_SINK_SYSMEM,