All of lore.kernel.org
 help / color / mirror / Atom feed
From: Delio Brignoli <dbrignoli@audioscience.com>
To: Matthijs van Duin <matthijsvanduin@gmail.com>
Cc: Tony Lindgren <tony@atomide.com>,
	"linux-omap@vger.kernel.org" <linux-omap@vger.kernel.org>,
	"linux-arm-kernel@lists.infradead.org"
	<linux-arm-kernel@lists.infradead.org>
Subject: Re: Minimal support for dm814x
Date: Wed, 18 Nov 2015 09:26:49 +0100	[thread overview]
Message-ID: <D5E377BD-5AAE-4302-B2C3-2B17A00892B5@audioscience.com> (raw)
In-Reply-To: <CAALWOA-PjKW9M3qqxum4OqJ3V3AwKaaEDzA17jdZmgUNNE79Wg@mail.gmail.com>

On 18 Nov 2015, at 06:22, Matthijs van Duin <matthijsvanduin@gmail.com> wrote:
> The PLL code looks pretty mediocre to me. In particular, they make no
> effort whatsoever to configure an exact ratio. It seems their
> algorithm uses whatever pre divider was already programmed,

I believe the implementors assumed the bootloader was setting up the PLL, its adjustment may have been an afterthought added in order to support PTP.

> This works in principle, but both minimizing the DCO and (often
> needlessly) using the fractional multiplier seem like recipes to
> maximize the clock jitter. Mind you, I don't know how much jitter
> we’re talking about here, I don't recall having seen specs about this.

We haven’t seen any specs either but testing shows that changing DCO mode causes the PLL to lose lock at least temporarily.

—
Delio

WARNING: multiple messages have this Message-ID (diff)
From: dbrignoli@audioscience.com (Delio Brignoli)
To: linux-arm-kernel@lists.infradead.org
Subject: Minimal support for dm814x
Date: Wed, 18 Nov 2015 09:26:49 +0100	[thread overview]
Message-ID: <D5E377BD-5AAE-4302-B2C3-2B17A00892B5@audioscience.com> (raw)
In-Reply-To: <CAALWOA-PjKW9M3qqxum4OqJ3V3AwKaaEDzA17jdZmgUNNE79Wg@mail.gmail.com>

On 18 Nov 2015, at 06:22, Matthijs van Duin <matthijsvanduin@gmail.com> wrote:
> The PLL code looks pretty mediocre to me. In particular, they make no
> effort whatsoever to configure an exact ratio. It seems their
> algorithm uses whatever pre divider was already programmed,

I believe the implementors assumed the bootloader was setting up the PLL, its adjustment may have been an afterthought added in order to support PTP.

> This works in principle, but both minimizing the DCO and (often
> needlessly) using the fractional multiplier seem like recipes to
> maximize the clock jitter. Mind you, I don't know how much jitter
> we?re talking about here, I don't recall having seen specs about this.

We haven?t seen any specs either but testing shows that changing DCO mode causes the PLL to lose lock at least temporarily.

?
Delio

  reply	other threads:[~2015-11-18  8:26 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-05 13:08 Minimal support for dm814x Delio Brignoli
2015-11-09 15:06 ` Tony Lindgren
2015-11-09 15:06   ` Tony Lindgren
2015-11-10  8:50   ` Matthijs van Duin
2015-11-10  8:50     ` Matthijs van Duin
2015-11-10 10:23     ` Delio Brignoli
2015-11-10 10:23       ` Delio Brignoli
2015-11-10 10:44       ` Matthijs van Duin
2015-11-10 10:44         ` Matthijs van Duin
2015-11-11 17:40       ` Tony Lindgren
2015-11-11 17:40         ` Tony Lindgren
2015-11-12  9:20         ` Matthijs van Duin
2015-11-12  9:20           ` Matthijs van Duin
2015-11-12 17:41           ` Tony Lindgren
2015-11-12 17:41             ` Tony Lindgren
2015-11-13  7:14             ` Matthijs van Duin
2015-11-13  7:14               ` Matthijs van Duin
2015-11-13 10:59               ` Matthijs van Duin
2015-11-13 10:59                 ` Matthijs van Duin
2015-11-13 14:52                 ` Tony Lindgren
2015-11-13 14:52                   ` Tony Lindgren
2015-11-13 14:57                   ` Tony Lindgren
2015-11-13 14:57                     ` Tony Lindgren
2015-11-18  5:22                   ` Matthijs van Duin
2015-11-18  5:22                     ` Matthijs van Duin
2015-11-18  8:26                     ` Delio Brignoli [this message]
2015-11-18  8:26                       ` Delio Brignoli
2015-11-18 10:01                       ` Matthijs van Duin
2015-11-18 10:01                         ` Matthijs van Duin
2015-11-18 11:09                         ` Delio Brignoli
2015-11-18 11:09                           ` Delio Brignoli
2015-11-10 10:05   ` Delio Brignoli
2015-11-10 10:05     ` Delio Brignoli

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=D5E377BD-5AAE-4302-B2C3-2B17A00892B5@audioscience.com \
    --to=dbrignoli@audioscience.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-omap@vger.kernel.org \
    --cc=matthijsvanduin@gmail.com \
    --cc=tony@atomide.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.