Re: [RFC PATCH RESEND 1/2] clk: add clk accuracy retrieval support

2013-11-18 Thread boris brezillon
Hi Mike, Nothing related to this thread, but if you have some time, could you take a look at the last version (v5) of the at91 CCF port ? I know Nicolas was planning to add this for 3.14, and we'd like to have your feedback on the new dt bindings. Best Regards, Boris On 16/11/2013 02:59,

Re: [RFC PATCH RESEND 1/2] clk: add clk accuracy retrieval support

2013-11-18 Thread boris brezillon
Hi Mike, Nothing related to this thread, but if you have some time, could you take a look at the last version (v5) of the at91 CCF port ? I know Nicolas was planning to add this for 3.14, and we'd like to have your feedback on the new dt bindings. Best Regards, Boris On 16/11/2013 02:59,

Re: [RFC PATCH RESEND 1/2] clk: add clk accuracy retrieval support

2013-11-17 Thread boris brezillon
On 17/11/2013 16:33, boris brezillon wrote: Hello Mike, On 16/11/2013 01:50, Mike Turquette wrote: Quoting boris brezillon (2013-11-08 00:54:45) Hello Mike, On 08/11/2013 01:51, Mike Turquette wrote: Quoting Boris BREZILLON (2013-10-13 10:17:10) +/** + * clk_get_accuracy - return the

Re: [RFC PATCH RESEND 1/2] clk: add clk accuracy retrieval support

2013-11-17 Thread boris brezillon
Hello Mike, On 16/11/2013 01:50, Mike Turquette wrote: Quoting boris brezillon (2013-11-08 00:54:45) Hello Mike, On 08/11/2013 01:51, Mike Turquette wrote: Quoting Boris BREZILLON (2013-10-13 10:17:10) +/** + * clk_get_accuracy - return the accuracy of clk + * @clk: the clk whose accuracy

Re: [RFC PATCH RESEND 1/2] clk: add clk accuracy retrieval support

2013-11-17 Thread boris brezillon
Hello Mike, On 16/11/2013 01:50, Mike Turquette wrote: Quoting boris brezillon (2013-11-08 00:54:45) Hello Mike, On 08/11/2013 01:51, Mike Turquette wrote: Quoting Boris BREZILLON (2013-10-13 10:17:10) +/** + * clk_get_accuracy - return the accuracy of clk + * @clk: the clk whose accuracy

Re: [RFC PATCH RESEND 1/2] clk: add clk accuracy retrieval support

2013-11-17 Thread boris brezillon
On 17/11/2013 16:33, boris brezillon wrote: Hello Mike, On 16/11/2013 01:50, Mike Turquette wrote: Quoting boris brezillon (2013-11-08 00:54:45) Hello Mike, On 08/11/2013 01:51, Mike Turquette wrote: Quoting Boris BREZILLON (2013-10-13 10:17:10) +/** + * clk_get_accuracy - return the

Re: [RFC PATCH RESEND 1/2] clk: add clk accuracy retrieval support

2013-11-15 Thread Mike Turquette
Quoting Boris BREZILLON (2013-10-13 10:17:10) > diff --git a/include/linux/clk-provider.h b/include/linux/clk-provider.h > index 73bdb69..942811d 100644 > --- a/include/linux/clk-provider.h > +++ b/include/linux/clk-provider.h ... > @@ -194,6 +204,7 @@ struct clk_hw { > struct clk_fixed_rate { >

Re: [RFC PATCH RESEND 1/2] clk: add clk accuracy retrieval support

2013-11-15 Thread Mike Turquette
Quoting boris brezillon (2013-11-08 00:54:45) > Hello Mike, > > On 08/11/2013 01:51, Mike Turquette wrote: > > Quoting Boris BREZILLON (2013-10-13 10:17:10) > >> +/** > >> + * clk_get_accuracy - return the accuracy of clk > >> + * @clk: the clk whose accuracy is being returned > >> + * > >> + *

Re: [RFC PATCH RESEND 1/2] clk: add clk accuracy retrieval support

2013-11-15 Thread Mike Turquette
Quoting boris brezillon (2013-11-08 00:54:45) Hello Mike, On 08/11/2013 01:51, Mike Turquette wrote: Quoting Boris BREZILLON (2013-10-13 10:17:10) +/** + * clk_get_accuracy - return the accuracy of clk + * @clk: the clk whose accuracy is being returned + * + * Simply returns the

Re: [RFC PATCH RESEND 1/2] clk: add clk accuracy retrieval support

2013-11-15 Thread Mike Turquette
Quoting Boris BREZILLON (2013-10-13 10:17:10) diff --git a/include/linux/clk-provider.h b/include/linux/clk-provider.h index 73bdb69..942811d 100644 --- a/include/linux/clk-provider.h +++ b/include/linux/clk-provider.h ... @@ -194,6 +204,7 @@ struct clk_hw { struct clk_fixed_rate {

Re: [RFC PATCH RESEND 1/2] clk: add clk accuracy retrieval support

2013-11-08 Thread boris brezillon
Hello Mike, On 08/11/2013 01:51, Mike Turquette wrote: Quoting Boris BREZILLON (2013-10-13 10:17:10) The clock accuracy is expressed in ppb (parts per billion) and represents the possible clock drift. Say you have a clock (e.g. an oscillator) which provides a fixed clock of 20MHz with an

Re: [RFC PATCH RESEND 1/2] clk: add clk accuracy retrieval support

2013-11-08 Thread boris brezillon
Hello Mike, On 08/11/2013 01:51, Mike Turquette wrote: Quoting Boris BREZILLON (2013-10-13 10:17:10) The clock accuracy is expressed in ppb (parts per billion) and represents the possible clock drift. Say you have a clock (e.g. an oscillator) which provides a fixed clock of 20MHz with an

Re: [RFC PATCH RESEND 1/2] clk: add clk accuracy retrieval support

2013-11-07 Thread Mike Turquette
Quoting Boris BREZILLON (2013-10-13 10:17:10) > The clock accuracy is expressed in ppb (parts per billion) and represents > the possible clock drift. > Say you have a clock (e.g. an oscillator) which provides a fixed clock of > 20MHz with an accuracy of +- 20Hz. This accuracy expressed in ppb is >

Re: [RFC PATCH RESEND 1/2] clk: add clk accuracy retrieval support

2013-11-07 Thread Mike Turquette
Quoting Boris BREZILLON (2013-10-13 10:17:10) The clock accuracy is expressed in ppb (parts per billion) and represents the possible clock drift. Say you have a clock (e.g. an oscillator) which provides a fixed clock of 20MHz with an accuracy of +- 20Hz. This accuracy expressed in ppb is

[RFC PATCH RESEND 1/2] clk: add clk accuracy retrieval support

2013-10-13 Thread Boris BREZILLON
The clock accuracy is expressed in ppb (parts per billion) and represents the possible clock drift. Say you have a clock (e.g. an oscillator) which provides a fixed clock of 20MHz with an accuracy of +- 20Hz. This accuracy expressed in ppb is 20Hz/20MHz = 1000 ppb (or 1 ppm). Clock users may need

[RFC PATCH RESEND 1/2] clk: add clk accuracy retrieval support

2013-10-13 Thread Boris BREZILLON
The clock accuracy is expressed in ppb (parts per billion) and represents the possible clock drift. Say you have a clock (e.g. an oscillator) which provides a fixed clock of 20MHz with an accuracy of +- 20Hz. This accuracy expressed in ppb is 20Hz/20MHz = 1000 ppb (or 1 ppm). Clock users may need