Re: [resend] Timer broadcast question

2013-02-20 Thread Thomas Gleixner
On Tue, 19 Feb 2013, Andy Lutomirski wrote: On 02/19/2013 10:21 AM, Daniel Lezcano wrote: On 02/19/2013 07:10 PM, Thomas Gleixner wrote: On Tue, 19 Feb 2013, Daniel Lezcano wrote: I am working on identifying the different wakeup sources from the interrupts and I have a question regarding

Re: [PATCH v7 1/3] Documentation: common clk API

2012-03-16 Thread Thomas Gleixner
On Fri, 16 Mar 2012, Linus Walleij wrote: On Fri, Mar 16, 2012 at 7:11 AM, Mike Turquette mturque...@linaro.org wrote: Provide documentation for the common clk structures and APIs.  This code can be found in drivers/clk/ and include/linux/clk*.h. Acked-by: Linus Wallej

Re: [PATCH v5 3/4] clk: introduce the common clock framework

2012-03-14 Thread Thomas Gleixner
On Wed, 14 Mar 2012, Turquette, Mike wrote: Could you folks please trim your replies? It's annoying to page down a gazillion of lines to find the gist. On Wed, Mar 14, 2012 at 1:48 AM, Sascha Hauer s.ha...@pengutronix.de wrote: Also, do you forsee needing hole in parent_names for any reason

Re: [PATCH v5 3/4] clk: introduce the common clock framework

2012-03-14 Thread Thomas Gleixner
On Wed, 14 Mar 2012, Turquette, Mike wrote: On Wed, Mar 14, 2012 at 2:28 PM, Thomas Gleixner t...@linutronix.de wrote: So the right way to deal with it is to have an array of valid names with no holes and NULL pointers allowed and have a mapping from the array index to the register value

Re: [PATCH v6 2/3] clk: introduce the common clock framework

2012-03-10 Thread Thomas Gleixner
initialization question should not hold off this set from being merged, though settling it before growing users would be nice. Otherwise this is a very well done infrastructure implementation! Thanks a lot Mike! Reviewed-by: Thomas Gleixner t...@linutronix.de

Re: [PATCH v5 3/4] clk: introduce the common clock framework

2012-03-09 Thread Thomas Gleixner
On Wed, 7 Mar 2012, Turquette, Mike wrote: Assuming that some day OMAP code can be refactored to allow for lazy (or at least initcall-based) registration of clocks then perhaps your suggestion can take root. Which leads me to this question: are there any other platforms out there that require

Re: clock_getres() and real resolution

2012-02-09 Thread Thomas Gleixner
On Wed, 8 Feb 2012, Dmitry Antipov wrote: IIUC, an idea behind clock_getres() is to give a hint about the resolution of specified clock. This hint may be used by an application programmer to check whether this clock is suitable for a some purpose. So why clock_getres() always returns

Re: [PATCH v4 3/6] clk: introduce the common clock framework

2011-12-14 Thread Thomas Gleixner
On Tue, 13 Dec 2011, Mike Turquette wrote: +void __clk_unprepare(struct clk *clk) +{ + if (!clk) + return; + + if (WARN_ON(clk-prepare_count == 0)) + return; + + if (--clk-prepare_count 0) + return; + + WARN_ON(clk-enable_count 0);