[PATCH v7 3/3] clk: basic clock hardware types

2012-03-16 Thread Mike Turquette
Many platforms support simple gateable clocks, fixed-rate clocks, adjustable divider clocks and multi-parent multiplexer clocks. This patch introduces basic clock types for the above-mentioned hardware which share some common characteristics. Based on original work by Jeremy Kerr and

[PATCH v7 0/3] common clk framework

2012-03-16 Thread Mike Turquette
The common clock framework defines a common struct clk as well as an implementation of the clk api that unifies clock operations on various platforms and devices. The net result is consolidation of many different struct clk definitions and platform-specific clock framework implementations. This

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

2012-03-16 Thread Mike Turquette
Provide documentation for the common clk structures and APIs. This code can be found in drivers/clk/ and include/linux/clk*.h. Signed-off-by: Mike Turquette mturque...@linaro.org Signed-off-by: Mike Turquette mturque...@ti.com Reviewed-by: Andrew Lunn and...@lunn.ch Cc: Russell King

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

2012-03-16 Thread Turquette, Mike
On Thu, Mar 15, 2012 at 2:43 AM, Sascha Hauer s.ha...@pengutronix.de wrote: On Wed, Mar 14, 2012 at 05:51:48PM -0700, Turquette, Mike wrote: @@ -84,9 +78,9 @@ static int clk_divider_bestdiv(struct clk_hw *hw, unsigned long rate,       for (i = 1; i = maxdiv; i++) {               parent_rate

Re: Changes to Blueprint work items in Launchpad

2012-03-16 Thread Fathi Boudra
On 15 March 2012 21:53, Guilherme Salgado wrote: Hi there, Launchpad now supports blueprint work items natively and we've already migrated the work items from the whiteboards of most Linaro Blueprints. Most of us wouldn't even notice those changes because we still have a text field to enter

[PATCH v10] mfd: Add anatop mfd driver

2012-03-16 Thread Ying-Chun Liu (PaulLiu)
From: Ying-Chun Liu (PaulLiu) paul@linaro.org Anatop is a mfd chip embedded in Freescale i.MX6Q SoC. Anatop provides regulators and thermal. This driver handles the address space and the operation of the mfd device. Signed-off-by: Ying-Chun Liu (PaulLiu) paul@linaro.org Acked-by: Shawn

Another Friday, another ARM Porting Jam!

2012-03-16 Thread Ricardo Salveti
Hello, Continuing on the ARM Porting effort to fix the remaining issues with Precise, we'll be having the ARM Porting Jam this friday as well! The main focus for this Friday, besides the usual FTBFS issues described at

Re: [PATCH v10] mfd: Add anatop mfd driver

2012-03-16 Thread Arnd Bergmann
On Friday 16 March 2012, Ying-Chun Liu (PaulLiu) wrote: From: Ying-Chun Liu (PaulLiu) paul@linaro.org Anatop is a mfd chip embedded in Freescale i.MX6Q SoC. Anatop provides regulators and thermal. This driver handles the address space and the operation of the mfd device.

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

2012-03-16 Thread Linus Walleij
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 linus.wall...@linaro.org For this three-piece v7 patchset. It

Re: [PATCH v7 0/3] common clk framework

2012-03-16 Thread Sascha Hauer
On Thu, Mar 15, 2012 at 11:11:17PM -0700, Mike Turquette wrote: The common clock framework defines a common struct clk as well as an implementation of the clk api that unifies clock operations on various platforms and devices. The net result is consolidation of many different struct clk

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

2012-03-16 Thread Amit Kucheria
On Fri, Mar 16, 2012 at 12:29 PM, Thomas Gleixner t...@linutronix.de wrote: 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

Re: Slow/broken USB and Ethernet on Snowballs/Origen boards?

2012-03-16 Thread Sangwook Lee
On 16 March 2012 04:14, Sachin Kamat sachin.ka...@linaro.org wrote: Hi, On 15/03/2012, Mans Rullgard mans.rullg...@linaro.org wrote: On 14 March 2012 20:04, Jannis Pohlmann jannis.pohlm...@codethink.co.uk wrote: Hi, I am currently playing with a couple of the development boards for

Re: Slow/broken USB and Ethernet on Snowballs/Origen boards?

2012-03-16 Thread Mans Rullgard
On 16 March 2012 04:14, Sachin Kamat sachin.ka...@linaro.org wrote: Hi, On 15/03/2012, Mans Rullgard mans.rullg...@linaro.org wrote: On 14 March 2012 20:04, Jannis Pohlmann jannis.pohlm...@codethink.co.uk wrote: Hi, I am currently playing with a couple of the development boards for which

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

2012-03-16 Thread Arnd Bergmann
On Friday 16 March 2012, Amit Kucheria wrote: On Fri, Mar 16, 2012 at 12:29 PM, Thomas Gleixner t...@linutronix.de wrote: 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

Re: [PATCH v7 3/3] clk: basic clock hardware types

2012-03-16 Thread Richard Zhao
[...] +static int clk_divider_bestdiv(struct clk_hw *hw, unsigned long rate, + unsigned long *best_parent_rate) +{ + struct clk_divider *divider = to_clk_divider(hw); + int i, bestdiv = 0; + unsigned long parent_rate, best = 0, now, maxdiv; + + if (!rate) +

Re: Slow/broken USB and Ethernet on Snowballs/Origen boards?

2012-03-16 Thread Sangwook Lee
Hi Mans On 16 March 2012 11:50, Mans Rullgard mans.rullg...@linaro.org wrote: On 16 March 2012 04:14, Sachin Kamat sachin.ka...@linaro.org wrote: Hi, On 15/03/2012, Mans Rullgard mans.rullg...@linaro.org wrote: On 14 March 2012 20:04, Jannis Pohlmann jannis.pohlm...@codethink.co.uk

[PATCH] usb: gadget: s3c-hsotg: fix kernel panic

2012-03-16 Thread Sangwook Lee
Fix kernel panic from s3c_hsotg_udc_stop. if udc_is_newstyle is true, s3c_hsotg_udc_stop should not call disconnect, unbind. As running rmmod g_mass_storage, kernel panic happens. (composite_unbind+0x14/0x164 [g_mass_storage]) from [c023e950] (s3c_hsotg_udc_stop) This patch is based on Lukasz

Re: Slow/broken USB and Ethernet on Snowballs/Origen boards?

2012-03-16 Thread Mans Rullgard
On 16 March 2012 12:36, Sangwook Lee sangwook@linaro.org wrote: Hi Mans On 16 March 2012 11:50, Mans Rullgard mans.rullg...@linaro.org wrote: On 16 March 2012 04:14, Sachin Kamat sachin.ka...@linaro.org wrote: Hi, On 15/03/2012, Mans Rullgard mans.rullg...@linaro.org wrote: On 14

Re: Slow/broken USB and Ethernet on Snowballs/Origen boards?

2012-03-16 Thread Sangwook Lee
On 16 March 2012 14:55, Mans Rullgard mans.rullg...@linaro.org wrote: On 16 March 2012 12:36, Sangwook Lee sangwook@linaro.org wrote: Hi Mans On 16 March 2012 11:50, Mans Rullgard mans.rullg...@linaro.org wrote: On 16 March 2012 04:14, Sachin Kamat sachin.ka...@linaro.org wrote:

Re: Slow/broken USB and Ethernet on Snowballs/Origen boards?

2012-03-16 Thread Jannis Pohlmann
On 03/16/2012 03:35 PM, Sangwook Lee wrote: On 16 March 2012 14:55, Mans Rullgard mans.rullg...@linaro.org wrote: On 16 March 2012 12:36, Sangwook Lee sangwook@linaro.org wrote: Hi Mans On 16 March 2012 11:50, Mans Rullgard mans.rullg...@linaro.org wrote: On 16 March 2012 04:14,

Re: [PATCH v7 3/3] clk: basic clock hardware types

2012-03-16 Thread Turquette, Mike
On Fri, Mar 16, 2012 at 5:25 AM, Richard Zhao richard.z...@linaro.org wrote: [...] +static int clk_divider_bestdiv(struct clk_hw *hw, unsigned long rate, +             unsigned long *best_parent_rate) +{ +     struct clk_divider *divider = to_clk_divider(hw); +     int i, bestdiv = 0; +    

Re: [PATCH v10] mfd: Add anatop mfd driver

2012-03-16 Thread Mark Brown
On Fri, Mar 16, 2012 at 04:16:56PM +0800, Ying-Chun Liu (PaulLiu) wrote: From: Ying-Chun Liu (PaulLiu) paul@linaro.org Anatop is a mfd chip embedded in Freescale i.MX6Q SoC. Anatop provides regulators and thermal. This driver handles the address space and the operation of the mfd device.

Linux kernel with rpmsg and possibility for compiling powervr drivers

2012-03-16 Thread Martin Ertsås
Hi. I'm currently fumbling around in the dark, trying to find a kernel which I can use to compile the powervr drivers, as well as with rpmsg support. Ideally the rpmsg should already be in the kernel, but I can see that this might be hard, and cherry picking is an ok solution. I'm wondering if

Re: Linux kernel with rpmsg and possibility for compiling powervr drivers

2012-03-16 Thread Martin Ertsas (mertsas)
Sent from Samsung MobileAndy Green andy.gr...@linaro.org wrote:On 03/16/2012 10:46 PM, Somebody in the thread at some point said: If you look at tilt-android-tracking, there is a complete 1.8 SGX (usable on ICS) on fairly recent basis which includes its own rpmsg stack as part of the SGX

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: Plan for changing the binary toolchain to 4.7 and hardfloat

2012-03-16 Thread Loïc Minier
On Fri, Mar 16, 2012, Michael Hope wrote: https://wiki.linaro.org/MichaelHope/Sandbox/BinariesMigration Is there a separate plan for gcc-4.5 deprecation in source releases? The triplet situation is sad; is there any hope that we fix this upstream? -- Loïc Minier

Re: Linux kernel with rpmsg and possibility for compiling powervr drivers

2012-03-16 Thread C.A, Subramaniam
Mertsas, On Fri, Mar 16, 2012 at 10:58 AM, Martin Ertsas (mertsas) mert...@cisco.com wrote: Sent from Samsung Mobile Andy Green andy.gr...@linaro.org wrote: On 03/16/2012 10:46 PM, Somebody in the thread at some point said: If you look at tilt-android-tracking, there is a complete 1.8

Last call for topics for the 12.03 release of linux-linaro kernel

2012-03-16 Thread Andrey Konovalov
Greetings, If you haven't submitted your topic(s) for the 12.03 yet, but still plan to, please make sure to do this before the end of Tuesday, March 20. Otherwise the topic wouldn't get into the 12.03 release. Please also provide (attach to email) a config fragment for your topic: a config

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

2012-03-16 Thread Arnd Bergmann
On Friday 16 March 2012, Arnd Bergmann wrote: Can we shoe-horn this thing into 3.4 (it is a bit late, i know) so that platform ports can gather speed? Several people are waiting for a somewhat stable version before starting their ports. And what is the path into mainline - will

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

2012-03-16 Thread Turquette, Mike
On Fri, Mar 16, 2012 at 1:57 PM, Arnd Bergmann a...@arndb.de wrote: On Friday 16 March 2012, Arnd Bergmann wrote: Can we shoe-horn this thing into 3.4 (it is a bit late, i know) so that platform ports can gather speed? Several people are waiting for a somewhat stable version before

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

2012-03-16 Thread Nicolas Pitre
On Fri, 16 Mar 2012, Arnd Bergmann wrote: FWIW, it's in arm-soc now, and it's the last thing I put in there for v3.4. Amen! Nicolas ___ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev

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

2012-03-16 Thread Turquette, Mike
On Fri, Mar 16, 2012 at 3:21 PM, Paul Walmsley p...@pwsan.com wrote: From: Paul Walmsley p...@pwsan.com Date: Fri, 16 Mar 2012 16:06:30 -0600 Subject: [PATCH] clk: mark the common clk code as EXPERIMENTAL for now Mark the common clk code as depending on CONFIG_EXPERIMENTAL.  The API is not

Re: [PATCH v10] mfd: Add anatop mfd driver

2012-03-16 Thread Samuel Ortiz
Hi, On Fri, Mar 16, 2012 at 04:16:56PM +0800, Ying-Chun Liu (PaulLiu) wrote: From: Ying-Chun Liu (PaulLiu) paul@linaro.org Anatop is a mfd chip embedded in Freescale i.MX6Q SoC. Anatop provides regulators and thermal. This driver handles the address space and the operation of the mfd

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

2012-03-16 Thread Paul Walmsley
Hi On Fri, 16 Mar 2012, Arnd Bergmann wrote: On Friday 16 March 2012, Arnd Bergmann wrote: Can we shoe-horn this thing into 3.4 (it is a bit late, i know) so that platform ports can gather speed? Several people are waiting for a somewhat stable version before starting their ports.

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

2012-03-16 Thread Sascha Hauer
Hi Paul, On Fri, Mar 16, 2012 at 04:21:17PM -0600, Paul Walmsley wrote: Hi On Fri, 16 Mar 2012, Arnd Bergmann wrote: If the common clock code is to go upstream now, it should be marked as experimental. No, please don't do this. This effectively marks the architectures using the

Re: Linux kernel with rpmsg and possibility for compiling powervr drivers

2012-03-16 Thread Andy Green
On 03/17/2012 04:14 AM, Somebody in the thread at some point said: Mertsas, On Fri, Mar 16, 2012 at 10:58 AM, Martin Ertsas (mertsas) mert...@cisco.com wrote: Sent from Samsung Mobile Andy Green andy.gr...@linaro.org wrote: On 03/16/2012 10:46 PM, Somebody in the thread at some point

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

2012-03-16 Thread Rob Herring
On 03/16/2012 06:47 PM, Sascha Hauer wrote: Hi Paul, On Fri, Mar 16, 2012 at 04:21:17PM -0600, Paul Walmsley wrote: Hi On Fri, 16 Mar 2012, Arnd Bergmann wrote: If the common clock code is to go upstream now, it should be marked as experimental. No, please don't do this. This