remarkable-linux/drivers/hwtracing/coresight
Linus Walleij 9875cd9ce2 coresight: replicator: retrieve and handle atclk
As can be seen from the datasheet of the CoreSight
Components, DDI0314 table A-4 the funnel has a clock signal
apart from the AHB interconnect ("amba_pclk", that we're
already handling) called ATCLK, ARM Trace Clock, that SoC
implementers may provide from an entirely different clock
source. So to model this correctly create an optional
path for handling ATCLK alongside the PCLK so we don't
break old platforms that only define PCLK ("amba_pclk") but
still makes it possible for SoCs that have both clock signals
(such as the DB8500) to fetch and prepare/enable/disable/
unprepare both clocks.

The ATCLK is enabled and disabled using the runtime PM
callbacks. As the replicator is a platform device, the
code is a bit different from the other CoreSight components
and the bus core does not activate runtime PM by default,
so we need a few extra calls.

Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-05-24 11:12:08 -07:00
..
coresight-etb10.c coresight: etb: retrieve and handle atclk 2015-05-24 11:12:08 -07:00
coresight-etm-cp14.c
coresight-etm.h coresight: etm: retrieve and handle atclk 2015-05-24 11:12:08 -07:00
coresight-etm3x.c coresight: etm: retrieve and handle atclk 2015-05-24 11:12:08 -07:00
coresight-etm4x.c coresight-etm4x: Read only access to the tracer's ID registers 2015-05-24 11:11:21 -07:00
coresight-etm4x.h coresight-etm4x: Adding CoreSight ETM4x driver 2015-05-24 11:11:20 -07:00
coresight-funnel.c coresight: funnel: retrieve and handle atclk 2015-05-24 11:12:08 -07:00
coresight-priv.h
coresight-replicator.c coresight: replicator: retrieve and handle atclk 2015-05-24 11:12:08 -07:00
coresight-tmc.c coresight: tmc: let runtime PM handle core clock 2015-05-24 11:12:08 -07:00
coresight-tpiu.c coresight: tpiu: retrieve and handle atclk 2015-05-24 11:12:08 -07:00
coresight.c
Kconfig coresight-etm4x: Adding CoreSight ETM4x driver 2015-05-24 11:11:20 -07:00
Makefile coresight-etm4x: Adding CoreSight ETM4x driver 2015-05-24 11:11:20 -07:00
of_coresight.c