devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Michal Bachraty <michal.bachraty-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: Sebastian Hesselbarth
	<sebastian.hesselbarth-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: Jean-Francois Moine <moinejf-GANU6spQydw@public.gmane.org>,
	Mike Turquette
	<mturquette-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>,
	linux-doc-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	Rob Herring <rob.herring-bsGFqQB8/DxBDgjK7y7TUQ@public.gmane.org>,
	Russell King - ARM Linux
	<linux-lFZ/pmaqli7XmaaqVzeoHQ@public.gmane.org>,
	Dom Cobley <popcornmix-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
	Stephen Warren <swarren-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>,
	Andrew Morton
	<akpm-de/tnXTf+JLsfHDXvbKv3WD2FQJk+8+b@public.gmane.org>,
	Rabeeh Khoury <rabeeh-UBr1pzP51AyaMJb+Lgu22Q@public.gmane.org>,
	fa.linux.kernel-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org,
	devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org
Subject: Re: [PATCH v3] clk: add si5351 i2c common clock driver
Date: Tue, 9 Apr 2013 10:34:29 +0200	[thread overview]
Message-ID: <CAAfrEwZPx69uAtUATHS-HAYHMeD53HWQPLsr136zE4nqFQrFmA@mail.gmail.com> (raw)
In-Reply-To: <CABJ1b_T2x-DkTuYZGLBiedFRWcgYbcN3VCorN2nm3Y54A--wyw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>


[-- Attachment #1.1: Type: text/plain, Size: 1968 bytes --]

Hi Sebastian,

I posted patch for gap-less tuning. It is based on v5 of your driver.  This
patch was tested for tuning with 1ppm clock step.

Best,
Michal.


On Mon, Mar 25, 2013 at 12:54 PM, Sebastian Hesselbarth <
sebastian.hesselbarth-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:

> On Wed, Mar 20, 2013 at 5:48 PM, Daniel Mack <zonque-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
> > On 20.03.2013 14:55, michal.bachraty-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org wrote:
> >> Thanks for writing this driver! I have tested your si5351 clock
> >> driver and his tuning capabilities. It works well, it generates
> >> proper clock frequency, but when new frequency is generated, little
> >> clock gap (1ms) is generated. Si5351 datasheet and WP claims, clock
> >> tuning can be without gaps -
> >>
> http://www.silabs.com/Support%20Documents/TechnicalDocs/Si5350-51-Frequency-Shifting-WP.pdf
> >>
> >> I made some tests with Si5351A chip and I found that when tuning touch
> >> only Multisynth registers, it can tune without gaps. There is no need
> >> for soft PLL reset. I found also, accessing Multisynth registers is not
> >> atomic, so there can be another frequency at output, while not all
> >> registers are written. Writing only to one register seems to be atomic.
>
> Michael,
>
> if you don't configure the clock output to modify the pll, changing output
> frequency will not alter pll config and there will be no reset of pll.
>
> > Yeah, but limiting possible changes to the PLLs to one single register
> > also means that you cannot offer to generate all the frequencies any
> > more. What could probably be done is refine the algorithm so that it
> > stays 'as close as possible' to the former values, but I'm not sure how
> > much work that implies.
> >
> > Can you provide a patch against Sebastian's v3 to do that? Then it can
> > be cleanly applied on top of the driver later.
>
> Ack. Feel free to post a patch on top of v4 now.
>
> Sebastian
>

[-- Attachment #1.2: Type: text/html, Size: 2956 bytes --]

[-- Attachment #2: Type: text/plain, Size: 192 bytes --]

_______________________________________________
devicetree-discuss mailing list
devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org
https://lists.ozlabs.org/listinfo/devicetree-discuss

  parent reply	other threads:[~2013-04-09  8:34 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <fa.WZVD0OA/Ooajh6BejiLf7TwBsJ8@ifi.uio.no>
     [not found] ` <fa.iIqrS6k+Vb5mLqAeL7iTsNsbKyo@ifi.uio.no>
     [not found]   ` <fa.L0b41q+fYFZG0WOFTGKLhn/cGPA@ifi.uio.no>
     [not found]     ` <fa.XCuSmq9Zwp3+wqFO8NEjpwADVZ0@ifi.uio.no>
     [not found]       ` <fa.XCuSmq9Zwp3+wqFO8NEjpwADVZ0-6miFZF/5cTBuMpJDpNschA@public.gmane.org>
2013-03-20 13:55         ` [PATCH v3] clk: add si5351 i2c common clock driver michal.bachraty-Re5JQEeQqe8AvxtiuMwx3w
2013-03-20 16:48           ` Daniel Mack
2013-03-25 11:54             ` Sebastian Hesselbarth
     [not found]               ` <CABJ1b_T2x-DkTuYZGLBiedFRWcgYbcN3VCorN2nm3Y54A--wyw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-04-09  8:34                 ` Michal Bachraty [this message]
2013-02-09 12:59 [PATCH] " Sebastian Hesselbarth
2013-03-18 10:43 ` [PATCH v3] " Sebastian Hesselbarth
2013-03-18 11:37   ` Daniel Mack
2013-03-20  0:26   ` Mike Turquette
2013-03-20  8:20     ` Sebastian Hesselbarth
2013-03-21 18:09   ` Lars-Peter Clausen
2013-03-21 21:32     ` Sebastian Hesselbarth
2013-03-23 10:07       ` Lars-Peter Clausen

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=CAAfrEwZPx69uAtUATHS-HAYHMeD53HWQPLsr136zE4nqFQrFmA@mail.gmail.com \
    --to=michal.bachraty-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
    --cc=akpm-de/tnXTf+JLsfHDXvbKv3WD2FQJk+8+b@public.gmane.org \
    --cc=devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org \
    --cc=fa.linux.kernel-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org \
    --cc=linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org \
    --cc=linux-doc-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=linux-lFZ/pmaqli7XmaaqVzeoHQ@public.gmane.org \
    --cc=moinejf-GANU6spQydw@public.gmane.org \
    --cc=mturquette-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org \
    --cc=popcornmix-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    --cc=rabeeh-UBr1pzP51AyaMJb+Lgu22Q@public.gmane.org \
    --cc=rob.herring-bsGFqQB8/DxBDgjK7y7TUQ@public.gmane.org \
    --cc=sebastian.hesselbarth-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    --cc=swarren-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).