remarkable-linux/drivers/hwtracing/coresight
Linus Walleij ec36005910 coresight: etm: let runtime PM handle core clock
This uses runtime PM to manage the PCLK ("amba_pclk") instead
of screwing around with the framework by going in and taking
a copy from the amba device. The amba bus core will unprepare
and disable the clock when the device is unused when
CONFIG_PM is selected, else the clock will be always on.

Prior to this patch, as the AMBA primecell bus code enables
the PCLK, it would be left on after probe as
the clk_prepare_enable() and clk_disable_unprepare() was
called and thus just increase and decreas the refcount by
one, without it reaching zero and actually disabling the
clock. Now the runtime PM callbacks will make sure the PCLK
is properly disabled after probe.

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:07 -07:00
..
coresight-etb10.c coresight: etb10: Fix check for bogus buffer depth 2015-05-18 12:56:15 -07:00
coresight-etm-cp14.c
coresight-etm.h coresight: etm: let runtime PM handle core clock 2015-05-24 11:12:07 -07:00
coresight-etm3x.c coresight: etm: let runtime PM handle core clock 2015-05-24 11:12:07 -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-priv.h
coresight-replicator.c
coresight-tmc.c
coresight-tpiu.c coresight: support the TPIU version found in Ux500 2015-05-24 11:12:07 -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