summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorHao Zhang <quic_hazha@quicinc.com>2023-06-02 11:41:47 +0300
committerSuzuki K Poulose <suzuki.poulose@arm.com>2023-06-15 10:50:23 +0300
commit9d3ba0b6c056918355cf36094d6ed63cdd01a2ab (patch)
treef102b2b507ee71e7e804d08eca9b389aa800b2f3 /include/linux
parent83e92e301eb2f1eee9415eca55ce1547d22dae6f (diff)
downloadlinux-9d3ba0b6c056918355cf36094d6ed63cdd01a2ab.tar.xz
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')
-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,