[U-Boot] [PATCH v2 3/4] DMC: exynos5420: Gate CLKM to when reading PHY_CON13

Simon Glass sjg at chromium.org
Tue Jun 3 16:34:11 CEST 2014


On 26 May 2014 07:49, Akshay Saraswat <akshay.s at samsung.com> wrote:
> From: Doug Anderson <dianders at chromium.org>
>
> From experiments it appears that PHY_CON13 is glitchy if we sample it
> when CLKM is running.  If we stop CLKM when sampling it the glitches
> all go away, so we'll do that as per Samsung suggestion.
>
> We also check the "is it locked" bits of PHY_CON13 and loop until they
> show the the value sampled actually represents a locked value.  It
> doesn't appear that the glitching and "is it locked" are related, but
> it seems wise to wait until the PHY tells us the value is good before
> we use it.  In practice we will not loop more than a couple times (and
> usually won't loop at all).
>
> Signed-off-by: Doug Anderson <dianders at chromium.org>
> Signed-off-by: Akshay Saraswat <akshay.s at samsung.com>
> Acked-by: Simon Glass <sjg at chromium.org>

Tested on pit
Tested-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list