summaryrefslogtreecommitdiffstats
path: root/lib/ts_fsm.c
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2015-05-19 18:55:15 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-05-24 20:12:08 +0200
commitdb341d3d516a1ae23746f61ea67c5e9918c43bb8 (patch)
tree1bc3c2983f326a164ad2194ef5d6b6c589326dd5 /lib/ts_fsm.c
parentcoresight: etm: retrieve and handle atclk (diff)
downloadlinux-db341d3d516a1ae23746f61ea67c5e9918c43bb8.tar.xz
linux-db341d3d516a1ae23746f61ea67c5e9918c43bb8.zip
coresight: tpiu: retrieve and handle atclk
As can be seen from the datasheet of the CoreSight Components, DDI0314H page A-19 the TPIU 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 in conjunction. The ATCLK is enabled and disabled using the runtime PM callbacks. 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>
Diffstat (limited to 'lib/ts_fsm.c')
0 files changed, 0 insertions, 0 deletions