On 03/15/2012 11:11 PM, Mike Turquette wrote:
The common clock framework defines a common struct clk useful across most platforms as well as an implementation of the clk api that drivers can use safely for managing clocks.
The net result is consolidation of many different struct clk definitions and platform-specific clock framework implementations.
This patch introduces the common struct clk, struct clk_ops and an implementation of the well-known clock api in include/clk/clk.h. Platforms may define their own hardware-specific clock structure and their own clock operation callbacks, so long as it wraps an instance of struct clk_hw.
See Documentation/clk.txt for more details.
This patch is based on the work of Jeremy Kerr, which in turn was based on the work of Ben Herrenschmidt.
Signed-off-by: Mike Turquettemturquette@linaro.org Signed-off-by: Mike Turquettemturquette@ti.com Reviewed-by: Thomas Gleixnertglx@linutronix.de Tested-by: Andrew Lunnandrew@lunn.ch Reviewed-by: Rob Herring<rob.herring<at> calxeda.com> Cc: Russell Kinglinux@arm.linux.org.uk Cc: Jeremy Kerrjeremy.kerr@canonical.com Cc: Arnd Bergmanarnd.bergmann@linaro.org Cc: Paul Walmsleypaul@pwsan.com Cc: Shawn Guoshawn.guo@freescale.com Cc: Sascha Hauers.hauer@pengutronix.de Cc: Richard Zhaorichard.zhao@linaro.org Cc: Saravana Kannanskannan@codeaurora.org Cc: Magnus Dammmagnus.damm@gmail.com Cc: Mark Brownbroonie@opensource.wolfsonmicro.com Cc: Linus Walleijlinus.walleij@stericsson.com Cc: Stephen Boydsboyd@codeaurora.org Cc: Amit Kucheriaamit.kucheria@linaro.org Cc: Deepak Saxenadsaxena@linaro.org Cc: Grant Likelygrant.likely@secretlab.ca
Mike,
Thanks for the patches! Glad to see that it's finally getting in! I sent a request for a minor change as a reply to the v5 series (since it had more context). Can you please take a look at that and let me know if you can send out a v8 or a patch on top of this to do that?
Thanks, Saravana