summaryrefslogtreecommitdiffstats
path: root/drivers/amba/bus.c
diff options
context:
space:
mode:
authorPratik Patel <pratikp@codeaurora.org>2014-11-03 11:07:35 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-11-07 15:19:32 -0800
commita06ae8609b3dd06b957a6e4e965772a8a14d3af5 (patch)
tree7fb5339deabb245bce1803f1e9628b8dc5b20ab2 /drivers/amba/bus.c
parentf4c9485f9f5d816bb21333b517d0e3d2746dd285 (diff)
downloadop-kernel-dev-a06ae8609b3dd06b957a6e4e965772a8a14d3af5.zip
op-kernel-dev-a06ae8609b3dd06b957a6e4e965772a8a14d3af5.tar.gz
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/bus.c')
-rw-r--r--drivers/amba/bus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/amba/bus.c b/drivers/amba/bus.c
index 47bbdc1..a4ac490 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)
amba_put_disable_pclk(dev);
- if (cid == AMBA_CID)
+ if (cid == AMBA_CID || cid == CORESIGHT_CID)
dev->periphid = pid;
if (!dev->periphid)
OpenPOWER on IntegriCloud