diff options
author | Pratik Patel <pratikp@codeaurora.org> | 2014-11-03 13:07:35 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-11-07 18:19:32 -0500 |
commit | a06ae8609b3dd06b957a6e4e965772a8a14d3af5 (patch) | |
tree | 7fb5339deabb245bce1803f1e9628b8dc5b20ab2 /drivers/amba | |
parent | f4c9485f9f5d816bb21333b517d0e3d2746dd285 (diff) |
coresight: add CoreSight core layer framework
CoreSight components are compliant with the ARM CoreSight
architecture specification and can be connected in various
topologies to suit a particular SoC tracing needs. These trace
components can generally be classified as sources, links and
sinks. Trace data produced by one or more sources flows through
the intermediate links connecting the source to the currently
selected sink.
The CoreSight framework provides an interface for the CoreSight trace
drivers to register themselves with. It's intended to build up a
topological view of the CoreSight components and configure the
correct serie of components on user input via sysfs.
For eg., when enabling a source, the framework builds up a path
consisting of all the components connecting the source to the
currently selected sink(s) and enables all of them.
The framework also supports switching between available sinks
and provides status information to user space applications
through the debugfs interface.
Signed-off-by: Pratik Patel <pratikp@codeaurora.org>
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/amba')
-rw-r--r-- | drivers/amba/bus.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/amba/bus.c b/drivers/amba/bus.c index 47bbdc1b5be3..a4ac490dd784 100644 --- a/drivers/amba/bus.c +++ b/drivers/amba/bus.c | |||
@@ -336,7 +336,7 @@ int amba_device_add(struct amba_device *dev, struct resource *parent) | |||
336 | 336 | ||
337 | amba_put_disable_pclk(dev); | 337 | amba_put_disable_pclk(dev); |
338 | 338 | ||
339 | if (cid == AMBA_CID) | 339 | if (cid == AMBA_CID || cid == CORESIGHT_CID) |
340 | dev->periphid = pid; | 340 | dev->periphid = pid; |
341 | 341 | ||
342 | if (!dev->periphid) | 342 | if (!dev->periphid) |