Re: [PATCH] clk: tegra: mark TEGRA210_CLK_DBGAPB as always on

From: Peter De Schrijver
Date: Mon Mar 13 2017 - 06:45:56 EST


On Wed, Mar 08, 2017 at 11:48:21AM +0000, Jon Hunter wrote:
>
> On 08/03/17 11:38, Geert Uytterhoeven wrote:
> > Hi Jon,
> >
> > On Wed, Mar 8, 2017 at 11:13 AM, Jon Hunter <jonathanh@xxxxxxxxxx> wrote:
> >>> I had a similar issue with SH-Mobile AG5, where the power domain containing
> >>> the JTAG interface is powered down.
> >>
> >> This reminds me, does your patch assume that the DFD power domain is
> >> enabled? I am guessing that it needs to be for JTAG to work.
> >
> > Yes. The pm-rmobile driver looks for "arm,coresight-etm3x" devices, and
> > marks the corresponding PM Domain as always-on, as long as the
> > Coresight code doesn't handle runtime PM.
>
> Sorry Geert, but I was asking Peter specifically about the power-domain
> on Tegra as I have a feeling we may have the same scenario ;-)

We don't have a specific power domain for DFD on Tegra210. It's part of the
non-powergateable core domain.

Cheers,

Peter.