diff options
author | Hao Zhang <quic_hazha@quicinc.com> | 2023-06-02 16:41:47 +0800 |
---|---|---|
committer | Suzuki K Poulose <suzuki.poulose@arm.com> | 2023-06-15 08:50:23 +0100 |
commit | 9d3ba0b6c056918355cf36094d6ed63cdd01a2ab (patch) | |
tree | f102b2b507ee71e7e804d08eca9b389aa800b2f3 /drivers/hwtracing/coresight/Kconfig | |
parent | 83e92e301eb2f1eee9415eca55ce1547d22dae6f (diff) | |
download | linux-stable-9d3ba0b6c056918355cf36094d6ed63cdd01a2ab.tar.gz linux-stable-9d3ba0b6c056918355cf36094d6ed63cdd01a2ab.tar.bz2 linux-stable-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 'drivers/hwtracing/coresight/Kconfig')
-rw-r--r-- | drivers/hwtracing/coresight/Kconfig | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/hwtracing/coresight/Kconfig b/drivers/hwtracing/coresight/Kconfig index 2b5bbfffbc4f..06f0a7594169 100644 --- a/drivers/hwtracing/coresight/Kconfig +++ b/drivers/hwtracing/coresight/Kconfig @@ -236,4 +236,15 @@ config CORESIGHT_TPDA To compile this driver as a module, choose M here: the module will be called coresight-tpda. + +config CORESIGHT_DUMMY + tristate "Dummy driver support" + help + Enables support for dummy driver. Dummy driver can be used for + CoreSight sources/sinks that are owned and configured by some + other subsystem and use Linux drivers to configure rest of trace + path. + + To compile this driver as a module, choose M here: the module will be + called coresight-dummy. endif |