Re: [PATCH] ARM: dts: fix bad merge of display timing node to exynos5250-smdk5250.dts

From: Doug Anderson
Date: Mon Apr 08 2013 - 15:41:34 EST


Tomasz,

On Mon, Apr 8, 2013 at 12:27 PM, Tomasz Figa <tomasz.figa@xxxxxxxxx> wrote:
> Common Clock Framework by default automatically gates unused clocks, just
> like regulator core does with unused regulators. Maybe this is the cause?

Yes, I'm nearly certain that's the case here. The reset code doesn't
belong to any driver (it's in mach-exynos/common.c) it certainly
doesn't grab any clock.

I tried quickly to see if there was an easy clock to grab but got a
bit stuck. In the old way of doing things clocks could be global and
grabbed without a dev node. That may still be possible now, but in
the 15 minutes I spent I couldn't figure it out and so it went to the
back burner. ...or we could make a real reset device, but that might
be overkill?

> There is a CLK_IGNORE_UNUSED flag which disables this behavior for all
> clocks which have it set. Maybe it should be set for the problematic
> clock?

Didn't know about that one, thanks! It seems like a bit annoying that
we'd have to keep this clock all the time just to get reset working,
though. I guess in 3.4 that's what we did, though I don't know if it
was intentional...

-Doug
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/