Re: Question about fixed-clock

2013-03-12 Thread Mark Brown
On Fri, Mar 08, 2013 at 02:30:27PM +0100, Daniel Mack wrote: > On 08.03.2013 03:15, Mark Brown wrote: > > Wouldn't this just be set up by the DT in the same way that other > > off-SoC hardware is? > Well, I thought so too. To repeat, in my DT, I have: OK, I got CCed in part way through the

Re: Question about fixed-clock

2013-03-12 Thread Mark Brown
On Fri, Mar 08, 2013 at 02:30:27PM +0100, Daniel Mack wrote: On 08.03.2013 03:15, Mark Brown wrote: Wouldn't this just be set up by the DT in the same way that other off-SoC hardware is? Well, I thought so too. To repeat, in my DT, I have: OK, I got CCed in part way through the thread.

Re: Question about fixed-clock

2013-03-09 Thread Sebastian Hesselbarth
On 03/08/2013 02:30 PM, Daniel Mack wrote: On 08.03.2013 03:15, Mark Brown wrote: On Thu, Mar 07, 2013 at 11:31:59PM +0100, Daniel Mack wrote: On 07.03.2013 19:42, Afzal Mohammed wrote: Grep'ing through arch/arm, it seems that the imx arch does the same thing my patch does, but I could also

Re: Question about fixed-clock

2013-03-09 Thread Sebastian Hesselbarth
On 03/08/2013 02:30 PM, Daniel Mack wrote: On 08.03.2013 03:15, Mark Brown wrote: On Thu, Mar 07, 2013 at 11:31:59PM +0100, Daniel Mack wrote: On 07.03.2013 19:42, Afzal Mohammed wrote: Grep'ing through arch/arm, it seems that the imx arch does the same thing my patch does, but I could also

Re: Question about fixed-clock

2013-03-08 Thread Daniel Mack
On 08.03.2013 03:15, Mark Brown wrote: > On Thu, Mar 07, 2013 at 11:31:59PM +0100, Daniel Mack wrote: >> On 07.03.2013 19:42, Afzal Mohammed wrote: > >>> I feel that for a platform having it's clock tree in DT, of_clk_init >>> would take care of it, but if clock tree data is not in DT, clock >>>

Re: Question about fixed-clock

2013-03-08 Thread Daniel Mack
On 08.03.2013 03:15, Mark Brown wrote: On Thu, Mar 07, 2013 at 11:31:59PM +0100, Daniel Mack wrote: On 07.03.2013 19:42, Afzal Mohammed wrote: I feel that for a platform having it's clock tree in DT, of_clk_init would take care of it, but if clock tree data is not in DT, clock tree would

Re: Question about fixed-clock

2013-03-07 Thread Mark Brown
On Thu, Mar 07, 2013 at 11:31:59PM +0100, Daniel Mack wrote: > On 07.03.2013 19:42, Afzal Mohammed wrote: > > I feel that for a platform having it's clock tree in DT, of_clk_init > > would take care of it, but if clock tree data is not in DT, clock > > tree would have to be extended in a non-DT

Re: Question about fixed-clock

2013-03-07 Thread Daniel Mack
Hi Afzal, thanks for looking into this. On 07.03.2013 19:42, Afzal Mohammed wrote: > On Tue, Feb 19, 2013 at 09:09:31AM +0530, Afzal Mohammed wrote: > >> Hope invoking of_clk_init before clock generator driver helps > > Mails coming from this id are in my personal capacity. > > On Tue, Feb

Re: Question about fixed-clock

2013-03-07 Thread Afzal Mohammed
Hi Daniel, On Tue, Feb 19, 2013 at 09:09:31AM +0530, Afzal Mohammed wrote: > Hope invoking of_clk_init before clock generator driver helps Mails coming from this id are in my personal capacity. On Tue, Feb 19, 2013 at 10:53:18AM +0100, Daniel Mack wrote: > On 19.02.2013 02:33, Fabio Estevam

Re: Question about fixed-clock

2013-03-07 Thread Mark Brown
On Thu, Mar 07, 2013 at 11:31:59PM +0100, Daniel Mack wrote: On 07.03.2013 19:42, Afzal Mohammed wrote: I feel that for a platform having it's clock tree in DT, of_clk_init would take care of it, but if clock tree data is not in DT, clock tree would have to be extended in a non-DT way.

Re: Question about fixed-clock

2013-03-07 Thread Afzal Mohammed
Hi Daniel, On Tue, Feb 19, 2013 at 09:09:31AM +0530, Afzal Mohammed wrote: Hope invoking of_clk_init before clock generator driver helps Mails coming from this id are in my personal capacity. On Tue, Feb 19, 2013 at 10:53:18AM +0100, Daniel Mack wrote: On 19.02.2013 02:33, Fabio Estevam

Re: Question about fixed-clock

2013-03-07 Thread Daniel Mack
Hi Afzal, thanks for looking into this. On 07.03.2013 19:42, Afzal Mohammed wrote: On Tue, Feb 19, 2013 at 09:09:31AM +0530, Afzal Mohammed wrote: Hope invoking of_clk_init before clock generator driver helps Mails coming from this id are in my personal capacity. On Tue, Feb 19, 2013

Re: Question about fixed-clock

2013-03-02 Thread Daniel Mack
Hi eyerone, On 19.02.2013 18:32, Daniel Mack wrote: > On 19.02.2013 18:22, Mike Turquette wrote: >> > Quoting Daniel Mack (2013-02-19 01:53:18) >>> >> Hi Fabio, >>> >> Hi Afzal, >>> >> >>> >> On 19.02.2013 02:33, Fabio Estevam wrote: >>> On Mon, Feb 18, 2013 at 8:55 PM, Daniel Mack wrote:

Re: Question about fixed-clock

2013-03-02 Thread Daniel Mack
Hi eyerone, On 19.02.2013 18:32, Daniel Mack wrote: On 19.02.2013 18:22, Mike Turquette wrote: Quoting Daniel Mack (2013-02-19 01:53:18) Hi Fabio, Hi Afzal, On 19.02.2013 02:33, Fabio Estevam wrote: On Mon, Feb 18, 2013 at 8:55 PM, Daniel Mack zon...@gmail.com wrote: Hi, This

Re: Question about fixed-clock

2013-02-19 Thread Daniel Mack
On 19.02.2013 18:22, Mike Turquette wrote: > Quoting Daniel Mack (2013-02-19 01:53:18) >> Hi Fabio, >> Hi Afzal, >> >> On 19.02.2013 02:33, Fabio Estevam wrote: >>> On Mon, Feb 18, 2013 at 8:55 PM, Daniel Mack wrote: Hi, This might be a stupid question, but I'm somehow stuck here.

Re: Question about fixed-clock

2013-02-19 Thread Daniel Mack
Hi Fabio, Hi Afzal, On 19.02.2013 02:33, Fabio Estevam wrote: > On Mon, Feb 18, 2013 at 8:55 PM, Daniel Mack wrote: >> Hi, >> >> This might be a stupid question, but I'm somehow stuck here. I'm using a >> driver with the following DTS sub-node: >> >> ref25: ref25M { >>

Re: Question about fixed-clock

2013-02-19 Thread Daniel Mack
Hi Fabio, Hi Afzal, On 19.02.2013 02:33, Fabio Estevam wrote: On Mon, Feb 18, 2013 at 8:55 PM, Daniel Mack zon...@gmail.com wrote: Hi, This might be a stupid question, but I'm somehow stuck here. I'm using a driver with the following DTS sub-node: ref25: ref25M {

Re: Question about fixed-clock

2013-02-19 Thread Daniel Mack
On 19.02.2013 18:22, Mike Turquette wrote: Quoting Daniel Mack (2013-02-19 01:53:18) Hi Fabio, Hi Afzal, On 19.02.2013 02:33, Fabio Estevam wrote: On Mon, Feb 18, 2013 at 8:55 PM, Daniel Mack zon...@gmail.com wrote: Hi, This might be a stupid question, but I'm somehow stuck here. I'm

Re: Question about fixed-clock

2013-02-18 Thread Afzal Mohammed
Hi Daniel, On Tue, Feb 19, 2013 at 12:55:52AM +0100, Daniel Mack wrote: > ref25: ref25M { > compatible = "fixed-clock"; > #clock-cells = <0>; > clock-frequency = <2500>; > }; > > clock-generator@0 { >

Re: Question about fixed-clock

2013-02-18 Thread Fabio Estevam
Hi Daniel, On Mon, Feb 18, 2013 at 8:55 PM, Daniel Mack wrote: > Hi, > > This might be a stupid question, but I'm somehow stuck here. I'm using a > driver with the following DTS sub-node: > > ref25: ref25M { > compatible = "fixed-clock"; > #clock-cells =

Re: Question about fixed-clock

2013-02-18 Thread Daniel Mack
On Tue, Feb 19, 2013 at 12:55 AM, Daniel Mack wrote: > Hi, > > This might be a stupid question, but I'm somehow stuck here. I'm using a > driver with the following DTS sub-node: > > ref25: ref25M { > compatible = "fixed-clock"; > #clock-cells = <0>; >

Question about fixed-clock

2013-02-18 Thread Daniel Mack
Hi, This might be a stupid question, but I'm somehow stuck here. I'm using a driver with the following DTS sub-node: ref25: ref25M { compatible = "fixed-clock"; #clock-cells = <0>; clock-frequency = <2500>; };

Question about fixed-clock

2013-02-18 Thread Daniel Mack
Hi, This might be a stupid question, but I'm somehow stuck here. I'm using a driver with the following DTS sub-node: ref25: ref25M { compatible = fixed-clock; #clock-cells = 0; clock-frequency = 2500; };

Re: Question about fixed-clock

2013-02-18 Thread Daniel Mack
On Tue, Feb 19, 2013 at 12:55 AM, Daniel Mack zon...@gmail.com wrote: Hi, This might be a stupid question, but I'm somehow stuck here. I'm using a driver with the following DTS sub-node: ref25: ref25M { compatible = fixed-clock; #clock-cells = 0;

Re: Question about fixed-clock

2013-02-18 Thread Fabio Estevam
Hi Daniel, On Mon, Feb 18, 2013 at 8:55 PM, Daniel Mack zon...@gmail.com wrote: Hi, This might be a stupid question, but I'm somehow stuck here. I'm using a driver with the following DTS sub-node: ref25: ref25M { compatible = fixed-clock;

Re: Question about fixed-clock

2013-02-18 Thread Afzal Mohammed
Hi Daniel, On Tue, Feb 19, 2013 at 12:55:52AM +0100, Daniel Mack wrote: ref25: ref25M { compatible = fixed-clock; #clock-cells = 0; clock-frequency = 2500; }; clock-generator@0 { /* ... */