Re: [PATCH PM-QA] cputopology: add scheduler domain flag test

2015-02-27 Thread Mike Turquette
Quoting Vincent Guittot (2015-02-27 00:39:53) On 27 February 2015 at 01:32, Mike Turquette mturque...@linaro.org wrote: Quoting Larry Bassel (2015-02-24 13:50:51) On 24 Feb 15 21:53, Vincent Guittot wrote: On 8 February 2015 at 01:08, Larry Bassel larry.bas...@linaro.org wrote

Re: [PATCH PM-QA] cputopology: add scheduler domain flag test

2015-02-26 Thread Mike Turquette
Quoting Larry Bassel (2015-02-24 13:50:51) On 24 Feb 15 21:53, Vincent Guittot wrote: On 8 February 2015 at 01:08, Larry Bassel larry.bas...@linaro.org wrote: +check_sched_domain_flags() { + +cpu_num=$1 +domain_num=$2 + +

embedding html into the wiki

2013-09-03 Thread Mike Turquette
Hi all, I wanted to create a google doc spreadsheet for tracking some team activity and then embed in iframe for that spreadsheet into the team wiki page. I tried adding something like the following: === Project Status === {{{#!html iframe width='500' height='300' frameborder='0'

Re: embedding html into the wiki

2013-09-03 Thread Mike Turquette
On Tue, Sep 3, 2013 at 2:29 PM, Fathi Boudra fathi.bou...@linaro.org wrote: Hi Mike, On 4 September 2013 00:09, Mike Turquette mturque...@linaro.org wrote: Hi all, I wanted to create a google doc spreadsheet for tracking some team activity and then embed in iframe for that spreadsheet

Re: embedding html into the wiki

2013-09-03 Thread Mike Turquette
On Tue, Sep 3, 2013 at 5:03 PM, John Stultz john.stu...@linaro.org wrote: On 09/03/2013 04:33 PM, Mike Turquette wrote: On Tue, Sep 3, 2013 at 2:29 PM, Fathi Boudra fathi.bou...@linaro.org wrote: Hi Mike, On 4 September 2013 00:09, Mike Turquette mturque...@linaro.org wrote: Hi all, I

Re: embedding html into the wiki

2013-09-03 Thread Mike Turquette
On Tue, Sep 3, 2013 at 5:56 PM, Mike Turquette mturque...@linaro.org wrote: On Tue, Sep 3, 2013 at 5:03 PM, John Stultz john.stu...@linaro.org wrote: On 09/03/2013 04:33 PM, Mike Turquette wrote: On Tue, Sep 3, 2013 at 2:29 PM, Fathi Boudra fathi.bou...@linaro.org wrote: Hi Mike, On 4

Re: Panda, Android Bluetooth

2013-08-20 Thread Mike Turquette
Quoting Vishal Bhoj (2013-08-19 20:35:48)  Even on ICS it was partially working. File transfer resulted in crashes on 4.0.4. You can try this release which is based on 4.0.3 : http://releases.linaro.org/12.03/android/leb-panda/ Great, thanks for pointer. snip I am trying to get this build

Re: Panda, Android Bluetooth

2013-08-19 Thread Mike Turquette
On Sat, Aug 17, 2013 at 11:55 PM, Andy Green andy.gr...@linaro.org wrote: On 18 August 2013 14:41, Fathi Boudra fathi.bou...@linaro.org wrote: Hey Mike, On 17 August 2013 20:07, Mike Turquette mturque...@linaro.org wrote: On Thu, Aug 15, 2013 at 6:02 PM, Andy Green andy.gr...@linaro.org wrote

Re: Panda, Android Bluetooth

2013-08-17 Thread Mike Turquette
On Thu, Aug 15, 2013 at 6:02 PM, Andy Green andy.gr...@linaro.org wrote: On 16 August 2013 08:22, Mike Turquette mturque...@linaro.org wrote: Hi all, I'm interested in looking at some Bluetooth stuff on my OMAP 4460 Panda ES. Looking at the bug reports I don't see any Jelly Bean releases

Panda, Android Bluetooth

2013-08-15 Thread Mike Turquette
Hi all, I'm interested in looking at some Bluetooth stuff on my OMAP 4460 Panda ES. Looking at the bug reports I don't see any Jelly Bean releases that have BT working properly on Panda. Is this correct? Can you please point me to a release where BT and display/hdmi are working for Panda? It's

automated testing at ARM Summit

2013-08-05 Thread Mike Turquette
Hi all, There is currently a thread on LAKML that once again touches on the issue of automated build/boot testing: http://permalink.gmane.org/gmane.linux.ports.arm.kernel/257669 There seemed to be some good discussions between the LAVA team and Kevin at LCE13 and I wanted to make others are

automated build coverage

2013-05-09 Thread Mike Turquette
Hi all, I just wanted to forward this thread from LAKML to linaro-dev: http://article.gmane.org/gmane.linux.ports.tegra/10683 Seems there is lots desire for an improvement to automated build coverage and automated reporting along with it. Regards, Mike

Re: [PATCH powerdebug] clock: show only active clocks

2013-05-06 Thread Mike Turquette
Quoting Sanjay Singh Rawat (2013-05-04 13:27:58) - use the clk_summary file of CCF for showing clocks - add option to show active or all clocks Signed-off-by: Sanjay Singh Rawat sanjay.ra...@linaro.org clk_dump gives a JSON-formatted description of the clock tree, so it is a bit more machine

Re: [PATCH 1/1] clk: Add notifier support in clk_prepare/clk_unprepare

2013-03-28 Thread Mike Turquette
Quoting Colin Cross (2013-03-21 17:06:25) On Thu, Mar 21, 2013 at 3:36 PM, Mike Turquette mturque...@linaro.org wrote: To my knowledge, devfreq performs one task: implements an algorithm (typically one that loops/polls) and applies this heuristic towards a dvfs transition

Re: [PATCH 1/5] clk: allow reentrant calls into the clk framework

2013-03-27 Thread Mike Turquette
Quoting Bill Huang (2013-03-26 20:33:31) On Thu, 2013-02-28 at 12:49 +0800, Mike Turquette wrote: Reentrancy into the clock framework from the clk.h api is highly desirable. This feature is necessary for clocks that are prepared and unprepared via i2c_transfer (which includes many PMICs

Re: [RFC 1/1] clk: Add notifier support in clk_prepare_enable/clk_disable_unprepare

2013-03-21 Thread Mike Turquette
Quoting Ulf Hansson (2013-03-18 03:36:29) On 15 March 2013 20:38, Stephen Warren swar...@wwwdotorg.org wrote: On 03/15/2013 06:33 AM, Ulf Hansson wrote: On 15 March 2013 13:06, Bill Huang bilhu...@nvidia.com wrote: On Fri, 2013-03-15 at 18:08 +0800, Ulf Hansson wrote: ... Some

Re: [PATCH 1/1] clk: Add notifier support in clk_prepare/clk_unprepare

2013-03-21 Thread Mike Turquette
Quoting Ulf Hansson (2013-03-20 14:06:14) On 20 March 2013 15:47, Mike Turquette mturque...@linaro.org wrote: Quoting Bill Huang (2013-03-19 21:39:44) On Wed, 2013-03-20 at 11:31 +0800, Mike Turquette wrote: Quoting Bill Huang (2013-03-19 19:55:49) On Wed, 2013-03-20 at 01:01 +0800

Re: [PATCH 1/1] clk: Add notifier support in clk_prepare/clk_unprepare

2013-03-20 Thread Mike Turquette
Quoting Bill Huang (2013-03-19 21:39:44) On Wed, 2013-03-20 at 11:31 +0800, Mike Turquette wrote: Quoting Bill Huang (2013-03-19 19:55:49) On Wed, 2013-03-20 at 01:01 +0800, Mike Turquette wrote: Quoting Bill Huang (2013-03-19 06:28:32) Add notifier calls in clk_prepare

Re: [PATCH 1/1] clk: Add notifier support in clk_prepare/clk_unprepare

2013-03-19 Thread Mike Turquette
Quoting Bill Huang (2013-03-19 06:28:32) Add notifier calls in clk_prepare and clk_unprepare so drivers which are interested in knowing that clk_prepare/unprepare call can act accordingly. The existing clk_set_rate notifier is not enough for normal DVFS inplementation since clock might be

Re: [PATCH 1/1] clk: Add notifier support in clk_prepare/clk_unprepare

2013-03-19 Thread Mike Turquette
Quoting Bill Huang (2013-03-19 19:55:49) On Wed, 2013-03-20 at 01:01 +0800, Mike Turquette wrote: Quoting Bill Huang (2013-03-19 06:28:32) Add notifier calls in clk_prepare and clk_unprepare so drivers which are interested in knowing that clk_prepare/unprepare call can act accordingly

Re: [PATCH 1/5] clk: allow reentrant calls into the clk framework

2013-03-18 Thread Mike Turquette
Quoting Ulf Hansson (2013-02-28 01:54:34) On 28 February 2013 05:49, Mike Turquette mturque...@linaro.org wrote: @@ -703,10 +744,29 @@ int clk_enable(struct clk *clk) unsigned long flags; int ret; + /* this call re-enters if it is from the same context

Re: [PATCH 1/5] clk: allow reentrant calls into the clk framework

2013-03-18 Thread Mike Turquette
Quoting Russell King - ARM Linux (2013-03-18 14:00:11) On Mon, Mar 18, 2013 at 01:15:51PM -0700, Mike Turquette wrote: Quoting Ulf Hansson (2013-02-28 01:54:34) On 28 February 2013 05:49, Mike Turquette mturque...@linaro.org wrote: @@ -703,10 +744,29 @@ int clk_enable(struct clk *clk

Re: LCA13: Video: Scheduler Internals by: Vincent Guittot

2013-03-17 Thread Mike Turquette
Quoting Amit Kucheria (2013-03-10 21:13:34) On Sun, Mar 10, 2013 at 8:38 AM, Viresh Kumar viresh.ku...@linaro.org wrote: Hi Guys, Below are hangout upstreams of Scheduler Internals by Vincent Guittot done in LCA13. We have got another version of this recording that is done by some

Re: [PATCH 2/5] clk: notifier handler for dynamic voltage scaling

2013-03-03 Thread Mike Turquette
Quoting Richard Zhao (2013-03-02 00:22:19) On Fri, Mar 01, 2013 at 06:55:54PM -0800, Bill Huang wrote: On Sat, 2013-03-02 at 04:48 +0800, Mike Turquette wrote: Quoting Mike Turquette (2013-03-01 10:22:34) Quoting Bill Huang (2013-03-01 01:41:31) On Thu, 2013-02-28 at 12:49 +0800

Re: [PATCH 2/5] clk: notifier handler for dynamic voltage scaling

2013-03-03 Thread Mike Turquette
Quoting Richard Zhao (2013-03-03 05:27:52) Hi Mike, On Sun, Mar 03, 2013 at 02:54:24AM -0800, Mike Turquette wrote: Quoting Richard Zhao (2013-03-02 00:22:19) On Fri, Mar 01, 2013 at 06:55:54PM -0800, Bill Huang wrote: On Sat, 2013-03-02 at 04:48 +0800, Mike Turquette wrote

Re: [PATCH 2/5] clk: notifier handler for dynamic voltage scaling

2013-03-01 Thread Mike Turquette
Quoting Bill Huang (2013-03-01 01:41:31) On Thu, 2013-02-28 at 12:49 +0800, Mike Turquette wrote: Dynamic voltage and frequency scaling (dvfs) is a common power saving technique in many of today's modern processors. This patch introduces a common clk rate-change notifier handler which

Re: [PATCH 2/5] clk: notifier handler for dynamic voltage scaling

2013-03-01 Thread Mike Turquette
Quoting Mike Turquette (2013-03-01 10:22:34) Quoting Bill Huang (2013-03-01 01:41:31) On Thu, 2013-02-28 at 12:49 +0800, Mike Turquette wrote: Dynamic voltage and frequency scaling (dvfs) is a common power saving technique in many of today's modern processors. This patch introduces

[PATCH 4/5] HACK: set_parent callback for OMAP4 non-core DPLLs

2013-02-27 Thread Mike Turquette
, and vice versa. omap3_noncore_dpll_set_rate is modified to call clk_set_parent when appropriate as a way to test reentrancy. Not-signed-off-by: Mike Turquette mturque...@linaro.org --- arch/arm/mach-omap2/cclock44xx_data.c |1 + arch/arm/mach-omap2/clock.h |1 + arch/arm/mach

[PATCH v3 0/5] common clk framework reentrancy dvfs, take 3

2013-02-27 Thread Mike Turquette
: http://marc.info/?l=linux-kernelm=134507429302463w=2 Mike Turquette (5): clk: allow reentrant calls into the clk framework clk: notifier handler for dynamic voltage scaling cpufreq: omap: scale regulator from clk notifier HACK: set_parent callback for OMAP4 non-core DPLLs HACK: omap: opp

[PATCH 5/5] HACK: omap: opp: add fake 400MHz OPP to bypass MPU

2013-02-27 Thread Mike Turquette
From: Mike Turquette mturque...@ti.com The following is another silly patch which was done to test calling clk_set_parent from within a call to clk_set_rate. It may make your board burst into flames or otherwise void various warrantees. This patch introduces a 400MHz OPP for the MPU, which

[PATCH 2/5] clk: notifier handler for dynamic voltage scaling

2013-02-27 Thread Mike Turquette
another way, the voltage chosen for a rail during a call to clk_set_rate is a function of the device, not the clock. Signed-off-by: Mike Turquette mturque...@linaro.org --- drivers/clk/Makefile |1 + drivers/clk/dvfs.c | 125 ++ include/linux

[PATCH 3/5] cpufreq: omap: scale regulator from clk notifier

2013-02-27 Thread Mike Turquette
. For now there is still some other stuff needed there (jiffies per loop, rounding the rate, etc etc). Signed-off-by: Mike Turquette mturque...@linaro.org --- drivers/cpufreq/omap-cpufreq.c | 82 ++-- 1 file changed, 20 insertions(+), 62 deletions(-) diff --git

[PATCH 1/5] clk: allow reentrant calls into the clk framework

2013-02-27 Thread Mike Turquette
for the original idea to use get_current() and to David Brown for the suggestion to replace my previous rwlock scheme with atomic operations during code review at ELC 2013. Signed-off-by: Mike Turquette mturque...@linaro.org Cc: Rajagopal Venkat rajagopal.ven...@linaro.org Cc: David Brown dav

Re: [powerdebug,1/1] clock: support common clock framework

2013-01-25 Thread Mike Turquette
Quoting Amit Kucheria (2013-01-25 03:18:05) On Fri, Jan 25, 2013 at 9:08 AM, Sanjay Singh Rawat sanjay.ra...@linaro.org wrote: On Thursday 24 January 2013 11:24 PM, Mike Turquette wrote: Quoting Sanjay Singh Rawat (2013-01-24 08:01:33) You're missing a changelog describing why

Re: [powerdebug,1/1] clock: support common clock framework

2013-01-24 Thread Mike Turquette
Quoting Sanjay Singh Rawat (2013-01-24 08:01:33) Signed-off-by: Sanjay Singh Rawat sanjay.ra...@linaro.com Sanjay, Have you seen the patch to dump the CCF tree from a single sysfs file, in JSON format?

Re: [PATCH] clk: remove unreachable code

2013-01-18 Thread Mike Turquette
Quoting Rajagopal Venkat (2013-01-16 04:45:13) On 16 January 2013 04:15, Mike Turquette mturque...@linaro.org wrote: Quoting Rajagopal Venkat (2013-01-08 22:29:48) while reparenting a clock, NULL check is done for clock in consideration and its new parent. So re-check is not required

Re: [PATCH] clk: remove unreachable code

2013-01-15 Thread Mike Turquette
. Untested patch below fixes the real bug: From a4d56e3ee51452366365749873710e16631e9de7 Mon Sep 17 00:00:00 2001 From: Mike Turquette mturque...@linaro.org Date: Tue, 15 Jan 2013 14:39:06 -0800 Subject: [PATCH] clk: allow re-parenting to NULL clks __clk_reparent presently bails early if the new

Re: Question: What is the current level of Free Software support by vendors?

2012-10-01 Thread Mike Turquette
Quoting Graeme Russ (2012-10-01 19:58:14) Hello, Firstly, sorry if this is the wrong forum - please feel free to re-direct me to a more appropriate place. I've been searching around for the 'net for a while but really have not come across a conclusive answer to just how well the free

omapconf tool publicly released

2012-09-21 Thread Mike Turquette
Hi all, Some of you may have heard of a tool we use inside TI for debugging on OMAP. It's a nice userspace tool which can inspect many aspects of hardware state called omapconf. The tool has just been open sourced and can be found at: https://github.com/omapconf/omapconf Regards, Mike

Re: First cut of a TCP/IP triggered NI battery simulator power measurement

2012-09-14 Thread Mike Turquette
Quoting Zach Pfeffer (2012-09-13 23:51:47) Video here: https://plus.google.com/u/0/104422661029399872488/posts/gKZxeTmEkMe This is cool because it lets us easily integrate the system into LAVA. It *is* cool. Are setup instructions captured somewhere on a wiki? This would be useful to

Re: [RFC] power: opp: rcu reclaim

2012-09-13 Thread Mike Turquette
+Nishanth Menon Quoting Vincent Guittot (2012-09-12 21:13:33) synchronize_rcu blocks the caller of opp_enable/disbale for a complete grace period. This blocking duration prevents any intensive use of the functions. Replace synchronize_rcu by call_rcu which will call our function for freeing

[PATCH 1/5] MAINTAINERS: add entry for common clk framework

2012-05-06 Thread Mike Turquette
Signed-off-by: Mike Turquette mturque...@linaro.org --- MAINTAINERS | 10 ++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index 1a2f8f5..164e9a1 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1882,6 +1882,16 @@ F: Documentation

[PATCH 2/5] clk: prevent spurious parent rate propagation

2012-05-06 Thread Mike Turquette
handling the case where the CLK_SET_RATE_PARENT flag is not set. Signed-off-by: Mike Turquette mturque...@linaro.org Reported-by: Sascha Hauers.ha...@pengutronix.de --- drivers/clk/clk.c |7 ++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/drivers/clk/clk.c b/drivers/clk

[PATCH 4/5] clk: mux: assign init data

2012-05-06 Thread Mike Turquette
The original conversion to struct clk_hw_init failed to add the pointer assignment in clk_register_mux. Signed-off-by: Mike Turquette mturque...@linaro.org Reported-by: Sascha Hauer s.ha...@pengutronix.de --- drivers/clk/clk-mux.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff

[PATCH 3/5] clk: remove COMMON_CLK_DISABLE_UNUSED

2012-05-06 Thread Mike Turquette
Exposing this option generates confusion and incorrect behavior for single-image builds across platforms. Enable this behavior permanently. Signed-off-by: Mike Turquette mturque...@linaro.org --- drivers/clk/Kconfig | 11 --- drivers/clk/clk.c |2 -- 2 files changed, 0

[PATCH 02/13] clk: core: remove dead code paths

2012-04-11 Thread Mike Turquette
Some static inline dummy functions were left over from before the clock core was consolidated from several C files down to one. Remove them. Reported-by: Shawn Guo shawn@linaro.org Signed-off-by: Mike Turquette mturque...@linaro.org Cc: Arnd Bergman arnd.bergm...@linaro.org Cc: Olof

[PATCH 05/13] clk: use kzalloc in clk_register_mux

2012-04-11 Thread Mike Turquette
From: Shawn Guo shawn@linaro.org Change clk_register_mux to use kzalloc, just like what all other basic clk registration functions do. Signed-off-by: Shawn Guo shawn@linaro.org Signed-off-by: Mike Turquette mturque...@linaro.org Cc: Arnd Bergman arnd.bergm...@linaro.org Cc: Olof

[PATCH 03/13] clk: core: clk_calc_new_rates handles NULL parents

2012-04-11 Thread Mike Turquette
-off-by: Mike Turquette mturque...@linaro.org Cc: Arnd Bergman arnd.bergm...@linaro.org Cc: Olof Johansson o...@lixom.net Cc: Russell King li...@arm.linux.org.uk Cc: Sascha Hauer s.ha...@pengutronix.de Cc: Shawn Guo shawn@freescale.com Cc: Richard Zhao richard.z...@linaro.org Cc: Saravana Kannan

[PATCH 10/13] clk: Remove comment for end of CONFIG_COMMON_CLK section

2012-04-11 Thread Mike Turquette
-off-by: Mike Turquette mturque...@linaro.org Cc: Arnd Bergman arnd.bergm...@linaro.org Cc: Olof Johansson o...@lixom.net Cc: Russell King li...@arm.linux.org.uk Cc: Sascha Hauer s.ha...@pengutronix.de Cc: Shawn Guo shawn@freescale.com Cc: Richard Zhao richard.z...@linaro.org Cc: Saravana Kannan

[PATCH 09/13] clk: Make clk_get_rate() return 0 on error

2012-04-11 Thread Mike Turquette
-by: Rajendra nayak rna...@ti.com Signed-off-by: Mike Turquette mturque...@linaro.org Cc: Arnd Bergman arnd.bergm...@linaro.org Cc: Olof Johansson o...@lixom.net Cc: Russell King li...@arm.linux.org.uk Cc: Sascha Hauer s.ha...@pengutronix.de Cc: Shawn Guo shawn@freescale.com Cc: Richard Zhao

[PATCH 06/13] clk: remove unnecessary EXPORT_SYMBOL_GPL

2012-04-11 Thread Mike Turquette
From: Shawn Guo shawn@linaro.org It makes no sense to have EXPORT_SYMBOL_GPL on static functions. Signed-off-by: Shawn Guo shawn@linaro.org Signed-off-by: Mike Turquette mturque...@linaro.org Cc: Arnd Bergman arnd.bergm...@linaro.org Cc: Olof Johansson o...@lixom.net Cc: Russell King li

[PATCH 11/13] clk: Constify parent name arrays

2012-04-11 Thread Mike Turquette
From: Mark Brown broo...@opensource.wolfsonmicro.com Drivers should be able to declare their arrays of parent names as const so the APIs need to accept const arguments. Signed-off-by: Mark Brown broo...@opensource.wolfsonmicro.com [mturque...@linaro.org: constified gate] Signed-off-by: Mike

[PATCH 00/13] common clk framework misc fixes

2012-04-11 Thread Mike Turquette
? Thanks, Mike Mark Brown (2): clk: Remove comment for end of CONFIG_COMMON_CLK section clk: Constify parent name arrays Mike Turquette (6): clk: core: correct clk_set_rate kerneldoc clk: core: remove dead code paths clk: core: clk_calc_new_rates handles NULL parents clk: core: enforce

[PATCH 04/13] clk: core: enforce clk_ops consistency

2012-04-11 Thread Mike Turquette
Documentation/clk.txt has some handsome ASCII art outlining which clk_ops are mandatory for a given clock, given the capability of the hardware. Enforce those mandates with sanity checks in __clk_init. Signed-off-by: Mike Turquette mturque...@linaro.org Cc: Arnd Bergman arnd.bergm...@linaro.org

[PATCH 07/13] clk: add const for clk_ops of basic clks

2012-04-11 Thread Mike Turquette
From: Shawn Guo shawn@linaro.org The clk_ops of basic clks should have const to match the definition in struct clk and clk_register prototype. Signed-off-by: Shawn Guo shawn@linaro.org Signed-off-by: Mike Turquette mturque...@linaro.org Cc: Arnd Bergman arnd.bergm...@linaro.org Cc: Olof

[PATCH 13/13] clk: basic: improve parent_names return errors

2012-04-11 Thread Mike Turquette
registration functions to return error codes which better aligns them with the existing clk.h api. Signed-off-by: Mike Turquette mturque...@linaro.org Cc: Arnd Bergman arnd.bergm...@linaro.org Cc: Olof Johansson o...@lixom.net Cc: Russell King li...@arm.linux.org.uk Cc: Sascha Hauer s.ha...@pengutronix.de

[PATCH 08/13] clk: declare clk_ops of basic clks in clk-provider.h

2012-04-11 Thread Mike Turquette
not need to include clk-private.h to access those clk_ops. Signed-off-by: Shawn Guo shawn@linaro.org Signed-off-by: Mike Turquette mturque...@linaro.org Cc: Arnd Bergman arnd.bergm...@linaro.org Cc: Olof Johansson o...@lixom.net Cc: Russell King li...@arm.linux.org.uk Cc: Sascha Hauer s.ha

[PATCH 12/13] clk: core: copy parent_names return error codes

2012-04-11 Thread Mike Turquette
array, thus allowing platforms to declare their parent_names arrays as __initdata. Signed-off-by: Mike Turquette mturque...@linaro.org Cc: Arnd Bergman arnd.bergm...@linaro.org Cc: Olof Johansson o...@lixom.net Cc: Russell King li...@arm.linux.org.uk Cc: Sascha Hauer s.ha...@pengutronix.de Cc: Shawn

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

2012-03-16 Thread Mike Turquette
and contribution by Jamie Iles. Dividers and multiplexor clocks originally contributed by Richard Zhao Sascha Hauer. Signed-off-by: Mike Turquette mturque...@linaro.org Signed-off-by: Mike Turquette mturque...@ti.com Reviewed-by: Andrew Lunn and...@lunn.ch Tested-by: Andrew Lunn and...@lunn.ch Reviewed-by: Rob

[PATCH v7 0/3] common clk framework

2012-03-16 Thread Mike Turquette
://article.gmane.org/gmane.linux.kernel/1265022 v5 can be found at, http://article.gmane.org/gmane.linux.kernel/1261472 v4 can be found at, http://article.gmane.org/gmane.linux.linaro.devel/8896/ v3 can be found at, http://article.gmane.org/gmane.linux.kernel/1218622 Mike Turquette (3

[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 li

[PATCH v6 0/3] common clk framework

2012-03-09 Thread Mike Turquette
be found at, http://article.gmane.org/gmane.linux.linaro.devel/8896/ v3 can be found at, http://article.gmane.org/gmane.linux.kernel/1218622 Mike Turquette (3): Documentation: common clk API clk: introduce the common clock framework clk: basic clock hardware types Documentation/clk.txt

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

2012-03-09 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 Cc: Russell King li...@arm.linux.org.uk Cc: Jeremy Kerr jeremy.k

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

2012-03-09 Thread Mike Turquette
. 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 Turquette mturque...@linaro.org Signed-off-by: Mike Turquette mturque...@ti.com Cc: Russell King li...@arm.linux.org.uk Cc: Jeremy

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

2012-03-09 Thread Mike Turquette
and contribution by Jamie Iles. Dividers and multiplexor clocks originally contributed by Richard Zhao Sascha Hauer. Signed-off-by: Mike Turquette mturque...@linaro.org Signed-off-by: Mike Turquette mturque...@ti.com Cc: Russell King li...@arm.linux.org.uk Cc: Jeremy Kerr jeremy.k...@canonical.com Cc: Thomas

[PATCH v5 1/4] Documentation: common clk API

2012-03-03 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 Cc: Jeremy Kerr jeremy.k...@canonical.com Cc: Thomas Gleixner t

[PATCH v5 2/4] clk: Kconfig: add entry for HAVE_CLK_PREPARE

2012-03-03 Thread Mike Turquette
The common clk framework provides clk_prepare and clk_unprepare implementations. Create an entry for HAVE_CLK_PREPARE so that COMMON_CLK can select it. Signed-off-by: Mike Turquette mturque...@linaro.org Signed-off-by: Mike Turquette mturque...@ti.com Acked-by: Shawn Guo shawn@linaro.org Cc

[PATCH v5 0/4] common clk framework

2012-03-03 Thread Mike Turquette
From: Mike Turquette mturque...@ti.com 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

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

2012-03-03 Thread Mike Turquette
. 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 Turquette mturque...@linaro.org Signed-off-by: Mike Turquette mturque...@ti.com Cc: Jeremy Kerr jeremy.k...@canonical.com Cc

[PATCH v5 4/4] clk: basic clock hardware types

2012-03-03 Thread Mike Turquette
and contribution by Jamie Iles. Dividers and multiplexor clocks originally contributed by Richard Zhao Sascha Hauer. Signed-off-by: Mike Turquette mturque...@linaro.org Signed-off-by: Mike Turquette mturque...@ti.com Cc: Jeremy Kerr jeremy.k...@canonical.com Cc: Thomas Gleixner t...@linutronix.de Cc: Arnd

Re: using cpuidle on panda board

2012-01-13 Thread Mike Turquette
On Fri, Jan 13, 2012 at 2:41 PM, Amit Kucheria amit.kuche...@linaro.org wrote: On Fri, Jan 13, 2012 at 7:14 PM, Dechesne, Nicolas n-deche...@ti.com wrote: On Fri, Jan 13, 2012 at 5:59 PM, Andy Green andy.gr...@linaro.org wrote: Amit, do you know of a good place to raid for better cpuidle,

[PATCH v4 1/6] clk: Kconfig: add entry for HAVE_CLK_PREPARE

2011-12-13 Thread Mike Turquette
The common clk framework provides clk_prepare and clk_unprepare implementations. Create an entry for HAVE_CLK_PREPARE so that GENERIC_CLK can select it. Signed-off-by: Mike Turquette mturque...@linaro.org Acked-by: Shawn Guo shawn@linaro.org --- drivers/clk/Kconfig |3 +++ 1 files

[PATCH v4 5/6] clk: basic gateable and fixed-rate clks

2011-12-13 Thread Mike Turquette
and contribution by Jamie Iles. Signed-off-by: Mike Turquette mturque...@linaro.org Cc: Jeremy Kerr jeremy.k...@canonical.com Cc: Jamie Iles ja...@jamieiles.com --- drivers/clk/Kconfig |7 ++ drivers/clk/Makefile|5 +- drivers/clk/clk-basic.c | 208

[PATCH v4 6/6] clk: export the clk tree topology to debugfs

2011-12-13 Thread Mike Turquette
: http://git.pengutronix.de/?p=imx/linux-2.6.git;a=commit;h=30aa15230747b3b92da16d841b1cf369f07192e7 Signed-off-by: Mike Turquette mturque...@linaro.org Cc: Yong Shen yong.s...@linaro.org Cc: Sascha Hauer s.ha...@pengutronix.de --- drivers/clk/Kconfig |9 +++ drivers/clk/clk.c | 176

[PATCH v4 4/6] clk: introduce rate change notifiers

2011-12-13 Thread Mike Turquette
in this implementation, such as use of SRCU notifers instead of blocking, and the use of a new .speculate_rate function pointer (similar .recalc_rate) for predicting rate changes down the sub-tree of clks. Signed-off-by: Mike Turquette mturque...@linaro.org Cc: Paul Walmsley p...@pwsan.com --- drivers/clk

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

2011-12-13 Thread Mike Turquette
Herrenschmidt. Big thanks to both of them for kickstarting this effort. Signed-off-by: Mike Turquette mturque...@linaro.org Cc: Jeremy Kerr jeremy.k...@canonical.com --- drivers/clk/Kconfig |4 + drivers/clk/Makefile |1 + drivers/clk/clk.c| 564

[PATCH 6/7] omap: dss: use clk_prepare in dss reset

2011-12-13 Thread Mike Turquette
Signed-off-by: Mike Turquette mturque...@ti.com --- arch/arm/mach-omap2/display.c |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/arch/arm/mach-omap2/display.c b/arch/arm/mach-omap2/display.c index dce9905..21f8fcc 100644 --- a/arch/arm/mach-omap2/display.c +++ b/arch

[PATCH 1/7] OMAP: Kconfig: select GENERIC_CLK

2011-12-13 Thread Mike Turquette
From: Mike Turquette mturque...@linaro.org Signed-off-by: Mike Turquette mturque...@ti.com --- arch/arm/mach-omap2/Kconfig |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-omap2/Kconfig b/arch/arm/mach-omap2/Kconfig index e1293aa..921451c 100644 --- a/arch

[PATCH 0/7] RFC: convert OMAP to common struct clk

2011-12-13 Thread Mike Turquette
-pm This series will be followed up shortly with another set of patches for testing the clk rate change notifiers, parent propagation of rate changes and debugfs re-parenting. Mike Turquette (7): OMAP: Kconfig: select GENERIC_CLK HACK: omap4: clk: convert to common struct clk HACK: omap

[PATCH 7/7] HACK: comment WARN_ON in _clkdm_clk_hwmod_disable

2011-12-13 Thread Mike Turquette
Not-signed-off-by: Mike Turquette mturque...@ti.com --- arch/arm/mach-omap2/clockdomain.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/arm/mach-omap2/clockdomain.c b/arch/arm/mach-omap2/clockdomain.c index ad07689..825248b 100644 --- a/arch/arm/mach-omap2

[PATCH 4/6] HACK: cpufreq: omap: change mpu_clk's rate

2011-12-13 Thread Mike Turquette
simplies passing up a rate change request to the parent. Not for merging, just to get discussion going around the common clk patches and future OMAP adaptations. Not-signed-off-by: Mike Turquette mturque...@ti.com --- drivers/cpufreq/omap-cpufreq.c |2 +- 1 files changed, 1 insertions(+), 1

[PATCH 3/6] HACK: omap: clk: add mpu_periphclk clk node

2011-12-13 Thread Mike Turquette
From: Mike Turquette mturque...@linaro.org The ARM periphclk drives various peripherals for the MPU including the TWD and local timers. This patch creates the missing clk tree data to represent this relationship: dpll_mpu_ck | dpll_mpu_m2_ck (divide by 1) | mpu_clk (divide by 1

[PATCH 5/6] smp_twd: Reconfigure clockevents after cpufreq change

2011-12-13 Thread Mike Turquette
From: Linus Walleij (address hidden) The localtimer's clock changes with the cpu clock. After a cpufreq transition, update the clockevent's frequency and reprogram the next clock event. Adds a clock called smp_twd that is used to determine the twd frequency, which can also be used at init time

Re: [PATCH v3 0/5] common clk framework

2011-11-22 Thread Mike Turquette
On Tue, Nov 22, 2011 at 9:45 AM, Russell King - ARM Linux li...@arm.linux.org.uk wrote: On Tue, Nov 22, 2011 at 07:42:59AM -0800, Greg KH wrote: On Mon, Nov 21, 2011 at 05:40:42PM -0800, Mike Turquette wrote:   .sysfs support.  Visualize your clk tree at /sys/clk!  Where would be a better

Re: Bus framework

2011-10-26 Thread Mike Turquette
On Wed, Oct 26, 2011 at 3:36 AM, Richard Zhao richard.z...@linaro.org wrote: On 26 October 2011 14:39, Amit Kucheria amit.kuche...@linaro.org wrote: On 11 Oct 26, Richard Zhao wrote: Hi Amit, Is there anyone working on a SoC bus framework? The bus framework can manage the bus fabric, ddr,

Re: cpu hotplug test scenarii

2011-09-29 Thread Mike Turquette
On Thu, Sep 29, 2011 at 12:46 AM, Daniel Lezcano daniel.lezc...@linaro.org wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 09/29/2011 09:11 AM, Amit Kucheria wrote: On Thu, Sep 29, 2011 at 9:14 AM, Daniel Lezcano daniel.lezc...@linaro.org wrote: -BEGIN PGP SIGNED MESSAGE-

[PATCH v2 0/7] Add a generic struct clk

2011-09-22 Thread Mike Turquette
Hi all, The goal of this series is to provide a cross-platform clock framework that platforms can use to model their clock trees and perform common operations on them. Currently everyone re-invents their own clock tree inside platform code which makes it impossible for drivers to use the clock

[PATCH v2 3/7] clk: Add fixed-rate clock

2011-09-22 Thread Mike Turquette
From: Jeremy Kerr jeremy.k...@canonical.com Signed-off-by: Jeremy Kerr jeremy.k...@canonical.com Signed-off-by: Mark Brown broo...@opensource.wolfsonmicro.com Signed-off-by: Mike Turquette mturque...@ti.com --- Changes since v1: Add copyright header drivers/clk/Kconfig |4 drivers

[PATCH v2 4/7] clk: Add simple gated clock

2011-09-22 Thread Mike Turquette
From: Jeremy Kerr jeremy.k...@canonical.com Signed-off-by: Jeremy Kerr jeremy.k...@canonical.com Signed-off-by: Mark Brown broo...@opensource.wolfsonmicro.com Signed-off-by: Jamie Iles ja...@jamieiles.com Signed-off-by: Mike Turquette mturque...@ti.com --- Changes since v1: Add copyright header

[PATCH v2 2/7] clk: Implement clk_set_rate

2011-09-22 Thread Mike Turquette
: Upstream propagation is not yet implemented. Device pre-change and post-change notifications are not implemented, but are marked up as FIXME comments. Signed-off-by: Jeremy Kerr jeremy.k...@canonical.com Signed-off-by: Mark Brown broo...@opensource.wolfsonmicro.com Signed-off-by: Mike Turquette

[PATCH v2 7/7] x86: Enable generic clk API on x86

2011-09-22 Thread Mike Turquette
From: Mark Brown broo...@opensource.wolfsonmicro.com Enable the generic clk API on x86, enabling use of the API by drivers for x86 modules and also improving build coverage for clock API using devices. Signed-off-by: Mark Brown broo...@opensource.wolfsonmicro.com --- No change since v1

[PATCH v2 5/7] clk: Add Kconfig option to build all generic clk drivers

2011-09-22 Thread Mike Turquette
From: Mark Brown broo...@opensource.wolfsonmicro.com Currently drivers for the generic clk subsystem must be selected by platforms using them in order to enable build. When doing development on the API or generic build time testing it is useful to be able to build unused drivers in order to

[PATCH v2 6/7] clk: Add initial WM831x clock driver

2011-09-22 Thread Mike Turquette
the clock tree configuration cannot be changed at runtime. Due to a lack of access to systems where the core SoC has been converted to use the generic clock API this driver has been compile tested only. Signed-off-by: Mark Brown broo...@opensource.wolfsonmicro.com Signed-off-by: Mike Turquette mturque

[PATCH v2 1/7] clk: Add a generic clock infrastructure

2011-09-22 Thread Mike Turquette
Signed-off-by: Mike Turquette mturque...@ti.com --- Changes since v1: Create a dummy clk_unregister and prototype/document it and clk_register Constify struct clk_hw_ops Remove spinlock.h header, include kernel.h Use EOPNOTSUPP instead of ENOTSUPP Add might_sleep to clk_prepare/clk_unprepare stubs

Re: cpuset configuration and measurements for power management

2011-08-23 Thread Mike Turquette
On Tue, Aug 23, 2011 at 6:07 AM, Vincent Guittot vincent.guit...@linaro.org wrote: On 23 August 2011 14:41, Daniel Lezcano daniel.lezc...@linaro.org wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all, I did the following cpuset configuration: if [ ! -d /sys/fs/cgroup ]; then    

[PATCH 2/6] cpumask: introduce cpumask for hotpluggable CPUs

2011-08-19 Thread Mike Turquette
are as a thermal event mitigation technique or as a power capping mechanism. Signed-off-by: Mike Turquette mturque...@ti.com --- include/linux/cpumask.h | 27 ++- kernel/cpu.c| 18 ++ 2 files changed, 40 insertions(+), 5 deletions(-) diff --git a/include

[PATCH 3/6] cpu: update cpu_hotpluggable_mask in register_cpu

2011-08-19 Thread Mike Turquette
Update the cpu_hotpluggable_mask for each registered CPU which supports hotplug. This makes it trivial for kernel code to know which CPUs support hotplug operations. Signed-off-by: Mike Turquette mturque...@ti.com --- drivers/base/cpu.c |4 +++- 1 files changed, 3 insertions(+), 1 deletions

[PATCH 0/6] CPUoffline framework

2011-08-19 Thread Mike Turquette
that supports hotplug. Mike Turquette (6): ARM: do not mark CPU 0 as hotpluggable cpumask: introduce cpumask for hotpluggable CPUs cpu: update cpu_hotpluggable_mask in register_cpu cpuoffline core governors arm kconfig arch/arm/Kconfig |2 + arch/arm/kernel

[PATCH 1/6] ARM: do not mark CPU 0 as hotpluggable

2011-08-19 Thread Mike Turquette
the creation of an 'online' sysfs interface for that CPU. Signed-off-by: Mike Turquette mturque...@ti.com --- arch/arm/kernel/setup.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/arch/arm/kernel/setup.c b/arch/arm/kernel/setup.c index 70bca64..5f3f4bb 100644 --- a/arch/arm

[PATCH 6/6] arm kconfig

2011-08-19 Thread Mike Turquette
--- arch/arm/Kconfig |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 2c71a8f..5804b21 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -1980,6 +1980,8 @@ endif source drivers/cpuidle/Kconfig +source

  1   2   >