Re: [PATCH v5 0/3] ARM: S5PV210: move to common clk framework

2013-10-21 Thread Mike Turquette
Quoting Kukjin Kim (2013-10-20 13:51:42) > On 10/20/13 01:03, Tomasz Figa wrote: > > Hi Mike, Kukjin, Rafael, > > > > On Tuesday 24 of September 2013 14:50:06 Mateusz Krawczuk wrote: > >> This patch series is the new s5pv210 clock implementation > >> (using common clk framework). > >> > >> This

Re: [PATCH v5 0/3] ARM: S5PV210: move to common clk framework

2013-10-21 Thread Mike Turquette
Quoting Kukjin Kim (2013-10-20 13:51:42) On 10/20/13 01:03, Tomasz Figa wrote: Hi Mike, Kukjin, Rafael, On Tuesday 24 of September 2013 14:50:06 Mateusz Krawczuk wrote: This patch series is the new s5pv210 clock implementation (using common clk framework). This implementation is

Re: pull request for tegra clocks (resend with some CCs added this time)

2013-10-16 Thread Mike Turquette
I'm happy for the changes to be based on an -rc or clk-next. Either is fine. Thanks, Mike On Tue, Oct 15, 2013 at 8:42 AM, Stephen Warren wrote: > On 10/15/2013 09:36 AM, Peter De Schrijver wrote: >> The following changes since commit a0cf1abc25ac197dd97b857c0f6341066a8cb1cf: >> >> Add

Re: pull request for tegra clocks (resend with some CCs added this time)

2013-10-16 Thread Mike Turquette
I'm happy for the changes to be based on an -rc or clk-next. Either is fine. Thanks, Mike On Tue, Oct 15, 2013 at 8:42 AM, Stephen Warren swar...@wwwdotorg.org wrote: On 10/15/2013 09:36 AM, Peter De Schrijver wrote: The following changes since commit a0cf1abc25ac197dd97b857c0f6341066a8cb1cf:

Re: [PATCHv2 1/1] clk/zynq: Fix possible memory leak

2013-10-07 Thread Mike Turquette
Quoting Felipe Pena (2013-10-07 19:25:44) > The zynq_clk_register_fclk function can leak memory (fclk_lock) when unable > to alloc memory for fclk_gate_lock > > Signed-off-by: Felipe Pena > Acked-by: Sören Brinkmann Taken into clk-next. Thanks! Mike > --- > drivers/clk/zynq/clkc.c | 16

Re: [PATCH v4] ARM: kirkwood: retain MAC address for DT ethernet

2013-10-07 Thread Mike Turquette
-by: Ezequiel Garcia > Tested-by: Andrew Lunn Reviewed-by: Mike Turquette Regards, Mike > --- > Just to make sure they don't get lost this time: > Added Jason's and Ezequiel's Reviewed-by to honor their constant reviews, > and Andrew's last Tested-by because I know he will be test

Re: [PATCH v4] ARM: kirkwood: retain MAC address for DT ethernet

2013-10-07 Thread Mike Turquette
...@obsidianresearch.com Reviewed-by: Ezequiel Garcia ezequiel.gar...@free-electrons.com Tested-by: Andrew Lunn and...@lunn.ch Reviewed-by: Mike Turquette mturque...@linaro.org Regards, Mike --- Just to make sure they don't get lost this time: Added Jason's and Ezequiel's Reviewed-by to honor their constant

Re: [PATCHv2 1/1] clk/zynq: Fix possible memory leak

2013-10-07 Thread Mike Turquette
Quoting Felipe Pena (2013-10-07 19:25:44) The zynq_clk_register_fclk function can leak memory (fclk_lock) when unable to alloc memory for fclk_gate_lock Signed-off-by: Felipe Pena felipe...@gmail.com Acked-by: Sören Brinkmann soren.brinkm...@xilinx.com Taken into clk-next. Thanks! Mike

Re: [PATCH v6] clk: add MOXA ART SoCs clock driver

2013-10-06 Thread Mike Turquette
Quoting Jonas Jensen (2013-07-29 02:44:22) > This patch adds MOXA ART SoCs clock driver support. > > Signed-off-by: Jonas Jensen I've taken this patch into clk-next. Thanks for the rework. Is it possible for parent clocks of these moxa core clocks to change rate? It might make sense for your

Re: [PATCH] clk: provide public clk_is_enabled function

2013-10-06 Thread Mike Turquette
On Sun, Oct 6, 2013 at 3:24 PM, Sebastian Hesselbarth wrote: > On 10/06/2013 10:02 PM, Mike Turquette wrote: >> >> Quoting Sebastian Hesselbarth (2013-10-06 12:42:01) >>> >>> On 10/06/2013 06:30 PM, Andrew Lunn wrote: >>>> >>>> On Su

Re: [PATCH] clk: provide public clk_is_enabled function

2013-10-06 Thread Mike Turquette
Quoting Sebastian Hesselbarth (2013-10-06 12:42:01) > On 10/06/2013 06:30 PM, Andrew Lunn wrote: > > On Sun, Oct 06, 2013 at 11:06:09AM +0200, Gerhard Sittig wrote: > >> On Sat, Oct 05, 2013 at 22:42 +0200, Andrew Lunn wrote: > >>> > >>> On Sat, Oct 05, 2013 at 10:24:30PM +0200, Uwe Kleine-König

Re: [PATCH] clk: provide public clk_is_enabled function

2013-10-06 Thread Mike Turquette
Quoting Sebastian Hesselbarth (2013-10-06 12:42:01) On 10/06/2013 06:30 PM, Andrew Lunn wrote: On Sun, Oct 06, 2013 at 11:06:09AM +0200, Gerhard Sittig wrote: On Sat, Oct 05, 2013 at 22:42 +0200, Andrew Lunn wrote: On Sat, Oct 05, 2013 at 10:24:30PM +0200, Uwe Kleine-König wrote: On

Re: [PATCH] clk: provide public clk_is_enabled function

2013-10-06 Thread Mike Turquette
On Sun, Oct 6, 2013 at 3:24 PM, Sebastian Hesselbarth sebastian.hesselba...@gmail.com wrote: On 10/06/2013 10:02 PM, Mike Turquette wrote: Quoting Sebastian Hesselbarth (2013-10-06 12:42:01) On 10/06/2013 06:30 PM, Andrew Lunn wrote: On Sun, Oct 06, 2013 at 11:06:09AM +0200, Gerhard Sittig

Re: [PATCH v6] clk: add MOXA ART SoCs clock driver

2013-10-06 Thread Mike Turquette
Quoting Jonas Jensen (2013-07-29 02:44:22) This patch adds MOXA ART SoCs clock driver support. Signed-off-by: Jonas Jensen jonas.jen...@gmail.com I've taken this patch into clk-next. Thanks for the rework. Is it possible for parent clocks of these moxa core clocks to change rate? It might

Re: [PATCH] clk: palmas: add clock driver for palmas

2013-10-04 Thread Mike Turquette
Quoting Mark Brown (2013-10-04 09:41:39) > On Thu, Oct 03, 2013 at 06:00:07PM +0530, Laxman Dewangan wrote: > > > + Optional subnode properties: > > + ti,clock-boot-enable: Enable clock at the time of booting. > > Shouldn't this be a generic clock subsystem thing? It seems like >

Re: [PATCH] clk: palmas: add clock driver for palmas

2013-10-04 Thread Mike Turquette
Quoting Mark Brown (2013-10-04 09:41:39) On Thu, Oct 03, 2013 at 06:00:07PM +0530, Laxman Dewangan wrote: + Optional subnode properties: + ti,clock-boot-enable: Enable clock at the time of booting. Shouldn't this be a generic clock subsystem thing? It seems like something that

Re: [PATCH v5] clk: si570: Add a driver for SI570 oscillators

2013-10-02 Thread Mike Turquette
Quoting Sören Brinkmann (2013-10-02 10:20:38) > Hi Mike, > > could you please comment on this/apply it to clk-next? It looks good and is in the queue. Will show up in clk-next in a few days. Thanks, Mike > > Thanks, > Sören > > On Sat, Sep 21, 2013 at 04:40:39PM -0700, Soren

Re: [PATCH v6 0/5] clk: clock deregistration support

2013-10-02 Thread Mike Turquette
Quoting Sylwester Nawrocki (2013-09-24 14:38:44) > On 08/30/2013 04:53 PM, Sylwester Nawrocki wrote: > > This patch series implements clock deregistration in the common clock > > framework. Comparing to v5 it only includes further corrections of NULL > > clock handling. > [...] > >clk: Provide

Re: [PATCH] clk: wm831x: get rid of the implementation of remove function

2013-10-02 Thread Mike Turquette
Quoting Mark Brown (2013-09-26 07:47:43) > On Thu, Sep 26, 2013 at 07:18:15PM +0530, Laxman Dewangan wrote: > > The remove function implemented for platform driver's remove callback > > just return 0 as part of its implementation. > > > > Remove this APIs and do not pass the valid .remove for

Re: [PATCH] clk: wm831x: get rid of the implementation of remove function

2013-10-02 Thread Mike Turquette
Quoting Mark Brown (2013-09-26 07:47:43) On Thu, Sep 26, 2013 at 07:18:15PM +0530, Laxman Dewangan wrote: The remove function implemented for platform driver's remove callback just return 0 as part of its implementation. Remove this APIs and do not pass the valid .remove for platform

Re: [PATCH v6 0/5] clk: clock deregistration support

2013-10-02 Thread Mike Turquette
Quoting Sylwester Nawrocki (2013-09-24 14:38:44) On 08/30/2013 04:53 PM, Sylwester Nawrocki wrote: This patch series implements clock deregistration in the common clock framework. Comparing to v5 it only includes further corrections of NULL clock handling. [...] clk: Provide not

Re: [PATCH v5] clk: si570: Add a driver for SI570 oscillators

2013-10-02 Thread Mike Turquette
Quoting Sören Brinkmann (2013-10-02 10:20:38) Hi Mike, could you please comment on this/apply it to clk-next? It looks good and is in the queue. Will show up in clk-next in a few days. Thanks, Mike Thanks, Sören On Sat, Sep 21, 2013 at 04:40:39PM -0700, Soren

Re: [PATCH 1/3] clk: Add error handling to clk_fetch_parent_index()

2013-10-01 Thread Mike Turquette
Quoting Tomasz Figa (2013-09-28 17:37:14) > There are at least two different error cases that can happen in > clk_fetch_parent_index() function: > - allocation failure, > - parent clock lookup failure, > however it returns only an u8, which is supposed to contain parent clock > index. > > This

Re: [PATCH 1/3] clk: Add error handling to clk_fetch_parent_index()

2013-10-01 Thread Mike Turquette
Quoting Tomasz Figa (2013-09-28 17:37:14) There are at least two different error cases that can happen in clk_fetch_parent_index() function: - allocation failure, - parent clock lookup failure, however it returns only an u8, which is supposed to contain parent clock index. This patch

Re: [PATCH v2] clk: si570: Add a driver for SI570 oscillators

2013-09-19 Thread Mike Turquette
Quoting Soren Brinkmann (2013-09-18 15:43:38) > diff --git a/Documentation/devicetree/bindings/clock/silabs,si570.txt > b/Documentation/devicetree/bindings/clock/silabs,si570.txt > new file mode 100644 > index 000..7ab5c8b > --- /dev/null > +++

Re: [PATCH v2] clk: si570: Add a driver for SI570 oscillators

2013-09-19 Thread Mike Turquette
Quoting Soren Brinkmann (2013-09-18 15:43:38) diff --git a/Documentation/devicetree/bindings/clock/silabs,si570.txt b/Documentation/devicetree/bindings/clock/silabs,si570.txt new file mode 100644 index 000..7ab5c8b --- /dev/null +++

[GIT PULL] clk: changes for 3.12

2013-09-09 Thread Mike Turquette
: Add Allwinner A20 gates Mike Turquette (6): Merge branch 'clk-next-s3c64xx' into clk-next clk: export fixed-factor, gate & mux registration Merge tag 'zynq-clk-for-3.12' of git://git.xilinx.com/linux-xlnx into clk-next clk: handle NULL struct clk gracefully M

Re: [GIT PULL] clk: changes for 3.12

2013-09-09 Thread Mike Turquette
On Mon, Sep 9, 2013 at 2:54 PM, Mike Turquette wrote: > The following changes since commit 3b2f64d00c46e1e4e9bd0bb9bb12619adac27a4b: > > Linux 3.11-rc2 (2013-07-21 12:05:29 -0700) > > are available in the git repository at: > > git://git.linaro.org/people/mturquet

Re: [GIT PULL] clk: changes for 3.12

2013-09-09 Thread Mike Turquette
On Mon, Sep 9, 2013 at 2:54 PM, Mike Turquette mturque...@linaro.org wrote: The following changes since commit 3b2f64d00c46e1e4e9bd0bb9bb12619adac27a4b: Linux 3.11-rc2 (2013-07-21 12:05:29 -0700) are available in the git repository at: git://git.linaro.org/people/mturquette/linux.git

[GIT PULL] clk: changes for 3.12

2013-09-09 Thread Mike Turquette
clk: sunxi: Add Allwinner A20 gates Mike Turquette (6): Merge branch 'clk-next-s3c64xx' into clk-next clk: export fixed-factor, gate mux registration Merge tag 'zynq-clk-for-3.12' of git://git.xilinx.com/linux-xlnx into clk-next clk: handle NULL struct clk gracefully

Re: [PATCH v4 3/5] clk: dt: binding for basic multiplexer clock

2013-09-05 Thread Mike Turquette
On Wed, Sep 4, 2013 at 11:36 AM, Stephen Warren wrote: > On 09/03/2013 05:22 PM, Mike Turquette wrote: >> Quoting Stephen Warren (2013-08-30 14:37:46) >>> On 08/30/2013 02:33 PM, Mike Turquette wrote: > ... >>>> The clock _data_ seems to always have some chur

Re: [PATCH v4 3/5] clk: dt: binding for basic multiplexer clock

2013-09-05 Thread Mike Turquette
On Wed, Sep 4, 2013 at 11:36 AM, Stephen Warren swar...@wwwdotorg.org wrote: On 09/03/2013 05:22 PM, Mike Turquette wrote: Quoting Stephen Warren (2013-08-30 14:37:46) On 08/30/2013 02:33 PM, Mike Turquette wrote: ... The clock _data_ seems to always have some churn to it. Moving it out

Re: [PATCH RFC v2 15/16] clk: vt8500: remove call to of_clk_init

2013-08-27 Thread Mike Turquette
Quoting Sebastian Hesselbarth (2013-08-27 14:28:09) > With arch/arm calling of_clk_init(NULL) from time_init(), we can now > remove it from corresponding drivers/clk code. > > Signed-off-by: Sebastian Hesselbarth Acked-by: Mike Turquette > --- > Cc: Mike Turquette > C

Re: [PATCH RFC v2 08/16] ARM: mxs: remove custom .init_time hook

2013-08-27 Thread Mike Turquette
; > Signed-off-by: Sebastian Hesselbarth Acked-by: Mike Turquette Need Shawn's Ack for this as well. > --- > Cc: Shawn Guo > Cc: Mike Turquette > Cc: Russell King > Cc: Arnd Bergmann > Cc: linux-arm-ker...@lists.infradead.org > Cc: linux-kernel@vger.kernel.org >

Re: [PATCH RFC v2 04/16] ARM: highbank: remove custom .init_time hook

2013-08-27 Thread Mike Turquette
rch code now. > > Signed-off-by: Sebastian Hesselbarth > Acked-by: Rob Herring Acked-by: Mike Turquette > --- > Cc: Rob Herring > Cc: Mike Turquette > Cc: Russell King > Cc: Arnd Bergmann > Cc: linux-arm-ker...@lists.infradead.org > Cc: linux-kernel@vger.

Re: linux-next: manual merge of the clk tree with Linus' tree

2013-08-27 Thread Mike Turquette
Quoting Sören Brinkmann (2013-08-27 08:44:11) > On Tue, Aug 27, 2013 at 11:09:52AM +0100, James Hogan wrote: > > On 27/08/13 10:03, Stephen Rothwell wrote: > > > Hi Mike, > > > > > > Today's linux-next merge of the clk tree got a conflict in > > > drivers/clk/zynq/clkc.c between commits

Re: linux-next: manual merge of the clk tree with Linus' tree

2013-08-27 Thread Mike Turquette
Quoting Sören Brinkmann (2013-08-27 08:44:11) On Tue, Aug 27, 2013 at 11:09:52AM +0100, James Hogan wrote: On 27/08/13 10:03, Stephen Rothwell wrote: Hi Mike, Today's linux-next merge of the clk tree got a conflict in drivers/clk/zynq/clkc.c between commits 252957cc3a2d

Re: [PATCH RFC v2 04/16] ARM: highbank: remove custom .init_time hook

2013-08-27 Thread Mike Turquette
. Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com Acked-by: Rob Herring rob.herr...@calxeda.com Acked-by: Mike Turquette mturque...@linaro.org --- Cc: Rob Herring rob.herr...@calxeda.com Cc: Mike Turquette mturque...@linaro.org Cc: Russell King li...@arm.linux.org.uk Cc

Re: [PATCH RFC v2 08/16] ARM: mxs: remove custom .init_time hook

2013-08-27 Thread Mike Turquette
Hesselbarth sebastian.hesselba...@gmail.com Acked-by: Mike Turquette mturque...@linaro.org Need Shawn's Ack for this as well. --- Cc: Shawn Guo shawn@linaro.org Cc: Mike Turquette mturque...@linaro.org Cc: Russell King li...@arm.linux.org.uk Cc: Arnd Bergmann a...@arndb.de Cc: linux-arm

Re: [PATCH RFC v2 15/16] clk: vt8500: remove call to of_clk_init

2013-08-27 Thread Mike Turquette
Quoting Sebastian Hesselbarth (2013-08-27 14:28:09) With arch/arm calling of_clk_init(NULL) from time_init(), we can now remove it from corresponding drivers/clk code. Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com Acked-by: Mike Turquette mturque...@linaro.org

Re: [PATCHv3 02/10] clk: sunxi: fix initialization of basic clocks

2013-08-25 Thread Mike Turquette
g the only other > simple clock (osc24M) to use CLK_OF_DECLARE(...) and call of_clk_init(NULL) > to initialize both of them. > > Signed-off-by: Emilio López > Signed-off-by: Maxime Ripard > Cc: Mike Turquette Taken into clk-next. Regards, Mike > --- > drivers/clk/sunxi/

Re: [PATCHv3 02/10] clk: sunxi: fix initialization of basic clocks

2013-08-25 Thread Mike Turquette
simple clock (osc24M) to use CLK_OF_DECLARE(...) and call of_clk_init(NULL) to initialize both of them. Signed-off-by: Emilio López emi...@elopez.com.ar Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com Cc: Mike Turquette mturque...@linaro.org Taken into clk-next. Regards, Mike

Re: [PATCH v2 2/4] clk: implement clk_unregister

2013-08-23 Thread Mike Turquette
Quoting Sylwester Nawrocki (2013-08-20 10:34:21) > clk_unregister() is currently not implemented and it is required when > a clock provider module needs to be unloaded. > > Normally the clock supplier module is prevented to be unloaded by > taking reference on the module in clk_get(). > > For

Re: [PATCH v2 3/4] clk: mvebu: add missing iounmap

2013-08-23 Thread Mike Turquette
Quoting Jisheng Zhang (2013-08-22 19:34:01) > Add missing iounmap to setup error path. > > Change-Id: I4371569d14d7026aa9f90d7cd53f669d365fe26a Please remove Change-Id's from the commit message for upstream patch submissions in the future. I can remove this one, this time. I've taken the patch

Re: [PATCH v2 3/4] clk: mvebu: add missing iounmap

2013-08-23 Thread Mike Turquette
Quoting Jisheng Zhang (2013-08-22 19:34:01) Add missing iounmap to setup error path. Change-Id: I4371569d14d7026aa9f90d7cd53f669d365fe26a Please remove Change-Id's from the commit message for upstream patch submissions in the future. I can remove this one, this time. I've taken the patch

Re: [PATCH v2 2/4] clk: implement clk_unregister

2013-08-23 Thread Mike Turquette
Quoting Sylwester Nawrocki (2013-08-20 10:34:21) clk_unregister() is currently not implemented and it is required when a clock provider module needs to be unloaded. Normally the clock supplier module is prevented to be unloaded by taking reference on the module in clk_get(). For cases

Re: [PATCH 3/4] clk: mvebu: add missing iounmap

2013-08-22 Thread Mike Turquette
Quoting Jisheng Zhang (2013-08-22 05:46:50) > Add missing iounmap to setup error path. > > Signed-off-by: Jisheng Zhang Patch looks good with one minor nitpick below. > @@ -145,10 +147,8 @@ void __init mvebu_clk_gating_setup(struct device_node > *np, > ctrl->num_gates = n; >

Re: [RFC 02/17] ARM: call clk_of_init from time_init

2013-08-22 Thread Mike Turquette
Quoting Arnd Bergmann (2013-08-21 11:54:10) > On Tuesday 20 August 2013, Sebastian Hesselbarth wrote: > > Perhaps Tegra is the common case but other SoC haven't dug deep enough? > > IMHO from a HW point-of-view clocks are really among the essential > > things that need to be running before you can

[PATCH] clk: handle NULL struct clk gracefully

2013-08-22 Thread Mike Turquette
of zero. Signed-off-by: Mike Turquette --- drivers/clk/clk.c | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/drivers/clk/clk.c b/drivers/clk/clk.c index bc02037..7c43762 100644 --- a/drivers/clk/clk.c +++ b/drivers/clk/clk.c @@ -1428,6 +1428,9 @@ int clk_set_rate

[PATCH] clk: handle NULL struct clk gracefully

2013-08-22 Thread Mike Turquette
of zero. Signed-off-by: Mike Turquette mturque...@linaro.org --- drivers/clk/clk.c | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/drivers/clk/clk.c b/drivers/clk/clk.c index bc02037..7c43762 100644 --- a/drivers/clk/clk.c +++ b/drivers/clk/clk.c @@ -1428,6 +1428,9

Re: [RFC 02/17] ARM: call clk_of_init from time_init

2013-08-22 Thread Mike Turquette
Quoting Arnd Bergmann (2013-08-21 11:54:10) On Tuesday 20 August 2013, Sebastian Hesselbarth wrote: Perhaps Tegra is the common case but other SoC haven't dug deep enough? IMHO from a HW point-of-view clocks are really among the essential things that need to be running before you can do

Re: [PATCH 3/4] clk: mvebu: add missing iounmap

2013-08-22 Thread Mike Turquette
Quoting Jisheng Zhang (2013-08-22 05:46:50) Add missing iounmap to setup error path. Signed-off-by: Jisheng Zhang jszh...@marvell.com Patch looks good with one minor nitpick below. @@ -145,10 +147,8 @@ void __init mvebu_clk_gating_setup(struct device_node *np, ctrl-num_gates = n;

[PATCH v4 3/5] clk: dt: binding for basic multiplexer clock

2013-08-21 Thread Mike Turquette
style. Tero Kristo contributed helpful bug fixes to this patch. Signed-off-by: Mike Turquette Tested-by: Heiko Stuebner Reviewed-by: Heiko Stuebner --- Changes since v3: * replaced underscores with dashes in DT property names * bail from of clock setup function early if of_iomap fails * removed

[PATCH v4 0/5] clk: dt: bindings for mux, divider & gate clocks

2013-08-21 Thread Mike Turquette
bail from of clock setup function early if of_iomap fails * removed unecessary explict cast Mike Turquette (5): clk: divider: replace bitfield width with mask clk: of: helper for determining number of parent clocks clk: dt: binding for basic multiplexer clock clk: dt: binding for basic div

[PATCH v4 4/5] clk: dt: binding for basic divider clock

2013-08-21 Thread Mike Turquette
Devicetree binding for the basic clock divider, plus the setup function to register the clock. Based on the existing fixed-clock binding. Tero Kristo contributed helpful bug fixes to this patch. Signed-off-by: Mike Turquette Tested-by: Heiko Stuebner Reviewed-by: Heiko Stuebner --- Changes

[PATCH v4 5/5] clk: dt: binding for basic gate clock

2013-08-21 Thread Mike Turquette
://article.gmane.org/gmane.linux.documentation/5679 [2] http://lists.infradead.org/pipermail/linux-arm-kernel/2012-December/137878.html Tero Kristo contributed helpful bug fixes to this patch. Signed-off-by: Mike Turquette Tested-by: Heiko Stuebner Reviewed-by: Heiko Stuebner --- Changes since v3

[PATCH v4 2/5] clk: of: helper for determining number of parent clocks

2013-08-21 Thread Mike Turquette
Walks the "clocks" array of parent clock phandles and returns the number. Signed-off-by: Mike Turquette Tested-by: Heiko Stuebner Reviewed-by: Heiko Stuebner --- No change since v3 drivers/clk/clk.c| 6 ++ include/linux/clk-provider.h | 1 + 2 files changed, 7

[PATCH v4 1/5] clk: divider: replace bitfield width with mask

2013-08-21 Thread Mike Turquette
internally but the two registration functions still accept the width to maintain compatibility with existing users. Also updated in this patch is the clk-private.h divider macro and two Freescale clock divider implementations that are based on struct clk_divider. Signed-off-by: Mike Turquette

Re: [PATCH v3 0/5] clk: dt: bindings for mux, divider & gate clocks

2013-08-21 Thread Mike Turquette
Quoting Stephen Boyd (2013-07-18 14:04:44) > On 06/20/13 23:14, Mike Turquette wrote: > > This series introduces binding definitions for common register-mapped > > clock multiplexer, divider and gate IP blocks along with the > > corresponding setup functions for matching D

Re: [PATCH v3 0/5] clk: dt: bindings for mux, divider gate clocks

2013-08-21 Thread Mike Turquette
Quoting Stephen Boyd (2013-07-18 14:04:44) On 06/20/13 23:14, Mike Turquette wrote: This series introduces binding definitions for common register-mapped clock multiplexer, divider and gate IP blocks along with the corresponding setup functions for matching DT data. The bindings

[PATCH v4 1/5] clk: divider: replace bitfield width with mask

2013-08-21 Thread Mike Turquette
internally but the two registration functions still accept the width to maintain compatibility with existing users. Also updated in this patch is the clk-private.h divider macro and two Freescale clock divider implementations that are based on struct clk_divider. Signed-off-by: Mike Turquette

[PATCH v4 5/5] clk: dt: binding for basic gate clock

2013-08-21 Thread Mike Turquette
://article.gmane.org/gmane.linux.documentation/5679 [2] http://lists.infradead.org/pipermail/linux-arm-kernel/2012-December/137878.html Tero Kristo contributed helpful bug fixes to this patch. Signed-off-by: Mike Turquette mturque...@linaro.org Tested-by: Heiko Stuebner he...@sntech.de Reviewed-by: Heiko

[PATCH v4 2/5] clk: of: helper for determining number of parent clocks

2013-08-21 Thread Mike Turquette
Walks the clocks array of parent clock phandles and returns the number. Signed-off-by: Mike Turquette mturque...@linaro.org Tested-by: Heiko Stuebner he...@sntech.de Reviewed-by: Heiko Stuebner he...@sntech.de --- No change since v3 drivers/clk/clk.c| 6 ++ include/linux/clk

[PATCH v4 4/5] clk: dt: binding for basic divider clock

2013-08-21 Thread Mike Turquette
Devicetree binding for the basic clock divider, plus the setup function to register the clock. Based on the existing fixed-clock binding. Tero Kristo contributed helpful bug fixes to this patch. Signed-off-by: Mike Turquette mturque...@linaro.org Tested-by: Heiko Stuebner he...@sntech.de

[PATCH v4 0/5] clk: dt: bindings for mux, divider gate clocks

2013-08-21 Thread Mike Turquette
from of clock setup function early if of_iomap fails * removed unecessary explict cast Mike Turquette (5): clk: divider: replace bitfield width with mask clk: of: helper for determining number of parent clocks clk: dt: binding for basic multiplexer clock clk: dt: binding for basic divider

[PATCH v4 3/5] clk: dt: binding for basic multiplexer clock

2013-08-21 Thread Mike Turquette
style. Tero Kristo contributed helpful bug fixes to this patch. Signed-off-by: Mike Turquette mturque...@linaro.org Tested-by: Heiko Stuebner he...@sntech.de Reviewed-by: Heiko Stuebner he...@sntech.de --- Changes since v3: * replaced underscores with dashes in DT property names * bail from of clock

Re: [PATCH 1/3] ARM: imx6q: refactor some ldb related clocks

2013-08-20 Thread Mike Turquette
Quoting Fabio Estevam (2013-08-20 08:40:52) > On Tue, Aug 20, 2013 at 5:38 AM, Liu Ying wrote: > > > diff --git a/Documentation/devicetree/bindings/clock/imx6q-clock.txt > > b/Documentation/devicetree/bindings/clock/imx6q-clock.txt > > index 5a90a72..90e923e 100644 > > ---

Re: [PATCH 1/3] ARM: imx6q: refactor some ldb related clocks

2013-08-20 Thread Mike Turquette
Quoting Fabio Estevam (2013-08-20 08:40:52) On Tue, Aug 20, 2013 at 5:38 AM, Liu Ying ying@freescale.com wrote: diff --git a/Documentation/devicetree/bindings/clock/imx6q-clock.txt b/Documentation/devicetree/bindings/clock/imx6q-clock.txt index 5a90a72..90e923e 100644 ---

Re: [PATCH] ARM: at91/dt: split sam9x5 peripheral definitions

2013-08-19 Thread Mike Turquette
d the > > definition of unavailable clocks or definition of clocks with the same > > id (which may result > > in bad clk registration). > > If we keep all the definitions in one .dtsi file (even the one which are > > not really available), > > I may need to add a new

Re: [PATCH] ARM: at91/dt: split sam9x5 peripheral definitions

2013-08-19 Thread Mike Turquette
(and system) clk node to specify the availabilty of the clock (something similar to 'status=disabled' in device nodes). This is indeed a pretty good argument. I do think that we have to ask Mike Turquette to see if he already has encountered such a case. It is correct to place chip

Re: [PATCH RFC 2/2] clk: implement clk_unregister

2013-08-16 Thread Mike Turquette
Quoting Sylwester Nawrocki (2013-08-06 08:51:57) > +/* > + * Empty clk_ops for unregistered clocks. These are used temporarily > + * after clk_unregister() was called on a clock and until last clock > + * consumer calls clk_put() and the struct clk object is freed. > + */ > +static int

Re: [PATCH RFC 2/2] clk: implement clk_unregister

2013-08-16 Thread Mike Turquette
Quoting Sylwester Nawrocki (2013-08-06 08:51:57) +/* + * Empty clk_ops for unregistered clocks. These are used temporarily + * after clk_unregister() was called on a clock and until last clock + * consumer calls clk_put() and the struct clk object is freed. + */ +static int

[PATCH] clk: export fixed-factor, gate & mux registration

2013-08-15 Thread Mike Turquette
These registration calls may be used by loadable modules. Export them. Signed-off-by: Mike Turquette --- drivers/clk/clk-fixed-factor.c | 2 ++ drivers/clk/clk-gate.c | 1 + drivers/clk/clk-mux.c | 2 ++ 3 files changed, 5 insertions(+) diff --git a/drivers/clk/clk-fixed

[PATCH] clk: export fixed-factor, gate mux registration

2013-08-15 Thread Mike Turquette
These registration calls may be used by loadable modules. Export them. Signed-off-by: Mike Turquette mturque...@linaro.org --- drivers/clk/clk-fixed-factor.c | 2 ++ drivers/clk/clk-gate.c | 1 + drivers/clk/clk-mux.c | 2 ++ 3 files changed, 5 insertions(+) diff --git

[GIT PULL] clk: fixes for 3.11-rc6

2013-08-13 Thread Mike Turquette
The following changes since commit d4e4ab86bcba5a72779c43dc1459f71fea3d89c8: Linux 3.11-rc5 (2013-08-11 18:04:20 -0700) are available in the git repository at: git://git.linaro.org/people/mturquette/linux.git tags/clk-fixes-for-linus for you to fetch changes up to

Re: [PATCH v1 09/14] clk: msm: Add support for MSM8960's global clock controller (GCC)

2013-08-13 Thread Mike Turquette
Quoting Stephen Boyd (2013-08-12 22:03:34) > On 08/08, Mark Rutland wrote: > > Hi Stephen, > > > > On Thu, Jul 25, 2013 at 01:43:37AM +0100, Stephen Boyd wrote: > > > Fill in the data and wire up the global clock controller to the > > > MSM clock driver. This should allow most non-multimedia

Re: [PATCH v1 09/14] clk: msm: Add support for MSM8960's global clock controller (GCC)

2013-08-13 Thread Mike Turquette
Quoting Stephen Boyd (2013-08-12 22:03:34) On 08/08, Mark Rutland wrote: Hi Stephen, On Thu, Jul 25, 2013 at 01:43:37AM +0100, Stephen Boyd wrote: Fill in the data and wire up the global clock controller to the MSM clock driver. This should allow most non-multimedia device drivers

[GIT PULL] clk: fixes for 3.11-rc6

2013-08-13 Thread Mike Turquette
The following changes since commit d4e4ab86bcba5a72779c43dc1459f71fea3d89c8: Linux 3.11-rc5 (2013-08-11 18:04:20 -0700) are available in the git repository at: git://git.linaro.org/people/mturquette/linux.git tags/clk-fixes-for-linus for you to fetch changes up to

Re: [PATCH 14/18] clk: samsung: s3c64xx: Add aliases for DMA clocks

2013-08-12 Thread Mike Turquette
Quoting Tomasz Figa (2013-08-11 10:59:26) > This patch adds clkdev aliases for clocks used by PL08x DMA driver. > > Signed-off-by: Tomasz Figa Acked-by: Mike Turquette > --- > drivers/clk/samsung/clk-s3c64xx.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --g

Re: [PATCH 16/18] clk: samsung: s3c64xx: Remove clock aliases of old DMA driver

2013-08-12 Thread Mike Turquette
Quoting Tomasz Figa (2013-08-11 10:59:28) > Since the old DMA driver got removed, these aliases are no longer > necessary. > > Signed-off-by: Tomasz Figa Acked-by: Mike Turquette > --- > drivers/clk/samsung/clk-s3c64xx.c | 2 -- > 1 file changed, 2 deletions(-) > &g

Re: [PATCH 16/18] clk: samsung: s3c64xx: Remove clock aliases of old DMA driver

2013-08-12 Thread Mike Turquette
Quoting Tomasz Figa (2013-08-11 10:59:28) Since the old DMA driver got removed, these aliases are no longer necessary. Signed-off-by: Tomasz Figa tomasz.f...@gmail.com Acked-by: Mike Turquette mturque...@linaro.org --- drivers/clk/samsung/clk-s3c64xx.c | 2 -- 1 file changed, 2

Re: [PATCH 14/18] clk: samsung: s3c64xx: Add aliases for DMA clocks

2013-08-12 Thread Mike Turquette
Quoting Tomasz Figa (2013-08-11 10:59:26) This patch adds clkdev aliases for clocks used by PL08x DMA driver. Signed-off-by: Tomasz Figa tomasz.f...@gmail.com Acked-by: Mike Turquette mturque...@linaro.org --- drivers/clk/samsung/clk-s3c64xx.c | 2 ++ 1 file changed, 2 insertions

Re: [PATCH v1 04/14] clk: Add set_rate_and_parent() op

2013-08-08 Thread Mike Turquette
Quoting Stephen Boyd (2013-07-25 09:45:42) > On 07/25, Tomasz Figa wrote: > > On Wednesday 24 of July 2013 17:43:32 Stephen Boyd wrote: > > > Some of Qualcomm's clocks can change their parent and rate at the > > > same time with a single register write. Add support for this > > > hardware to the

Re: [PATCH v6 0/5] clk: implement remuxing during set_rate

2013-08-08 Thread Mike Turquette
Quoting James Hogan (2013-07-29 04:24:57) > This patchset adds support for automatic selection of the best parent > for a clock mux, i.e. the one which can provide the closest clock rate > to that requested. It can be disabled by a new CLK_SET_RATE_NO_REPARENT > flag (which is set for all uses of

Re: [PATCH v6 0/5] clk: implement remuxing during set_rate

2013-08-08 Thread Mike Turquette
Quoting James Hogan (2013-07-29 04:24:57) This patchset adds support for automatic selection of the best parent for a clock mux, i.e. the one which can provide the closest clock rate to that requested. It can be disabled by a new CLK_SET_RATE_NO_REPARENT flag (which is set for all uses of

Re: [PATCH v1 04/14] clk: Add set_rate_and_parent() op

2013-08-08 Thread Mike Turquette
Quoting Stephen Boyd (2013-07-25 09:45:42) On 07/25, Tomasz Figa wrote: On Wednesday 24 of July 2013 17:43:32 Stephen Boyd wrote: Some of Qualcomm's clocks can change their parent and rate at the same time with a single register write. Add support for this hardware to the common clock

Re: [PATCH 2/3] mfd: sec: Add clock cell for s2mps11

2013-08-07 Thread Mike Turquette
Quoting Yadwinder Singh Brar (2013-07-07 04:44:21) > This patch adds clock to list of mfd cells for s2mps11 and DT documentation > for clock part. > > Signed-off-by: Yadwinder Singh Brar Reviewed-by: Mike Turquette > --- > Documentation/devicetree/bindings/mfd/

Re: [PATCH 1/6] clk: Tegra: Add CPU0 clock driver

2013-08-07 Thread Mike Turquette
Quoting Viresh Kumar (2013-08-07 07:46:43) > This patch adds CPU0's clk driver for Tegra. It will be used by the generic > cpufreq-cpu0 driver to get/set cpu clk. > > Most of the platform specific bits are picked from tegra-cpufreq.c. > > Signed-off-by: Viresh Kumar Hi Viresh, It is nice to

Re: [PATCH 1/6] clk: Tegra: Add CPU0 clock driver

2013-08-07 Thread Mike Turquette
Quoting Viresh Kumar (2013-08-07 07:46:43) This patch adds CPU0's clk driver for Tegra. It will be used by the generic cpufreq-cpu0 driver to get/set cpu clk. Most of the platform specific bits are picked from tegra-cpufreq.c. Signed-off-by: Viresh Kumar viresh.ku...@linaro.org Hi Viresh,

Re: [PATCH 2/3] mfd: sec: Add clock cell for s2mps11

2013-08-07 Thread Mike Turquette
Quoting Yadwinder Singh Brar (2013-07-07 04:44:21) This patch adds clock to list of mfd cells for s2mps11 and DT documentation for clock part. Signed-off-by: Yadwinder Singh Brar yadi.b...@samsung.com Reviewed-by: Mike Turquette mturque...@linaro.org --- Documentation/devicetree/bindings

Re: [PATCH 1/3] clk: s2mps11: Add support for s2mps11

2013-08-05 Thread Mike Turquette
Quoting Yadwinder Singh Brar (2013-07-07 04:44:20) > This patch adds support to register three(AP/CP/BT) buffered 32.768 KHz > outputs of mfd-s2mps11 with common clock framework. > > Signed-off-by: Yadwinder Singh Brar Yadwinder, Looks good to me with the exception of a binding description

Re: [PATCH 1/3] clk: s2mps11: Add support for s2mps11

2013-08-05 Thread Mike Turquette
Quoting Yadwinder Singh Brar (2013-07-07 04:44:20) This patch adds support to register three(AP/CP/BT) buffered 32.768 KHz outputs of mfd-s2mps11 with common clock framework. Signed-off-by: Yadwinder Singh Brar yadi.b...@samsung.com Yadwinder, Looks good to me with the exception of a

Re: [PATCH v1 02/14] clk: Add of_init_clk_data() to parse common clock bindings

2013-08-02 Thread Mike Turquette
Quoting Stephen Boyd (2013-07-25 09:36:56) > On 07/25, Tomasz Figa wrote: > > On Wednesday 24 of July 2013 17:43:30 Stephen Boyd wrote: > > > Consolidate DT parsing for the common bits of a clock binding in > > > one place to simplify clock drivers. This also has the added > > > benefit of

Re: [Ksummit-2013-discuss] [ATTEND] [ARM ATTEND] kernel data bloat and how to avoid it

2013-08-02 Thread Mike Turquette
Quoting Tony Lindgren (2013-08-02 00:53:53) > People are unnecessarily defining registers in kernel for similar devices > over and over again for each new SoC at the arch level and now more and > more at the driver level. > > One example of that are device tree based drivers that don't describe >

Re: [Ksummit-2013-discuss] [ATTEND] [ARM ATTEND] kernel data bloat and how to avoid it

2013-08-02 Thread Mike Turquette
Quoting Tony Lindgren (2013-08-02 00:53:53) People are unnecessarily defining registers in kernel for similar devices over and over again for each new SoC at the arch level and now more and more at the driver level. One example of that are device tree based drivers that don't describe the

Re: [PATCH v1 02/14] clk: Add of_init_clk_data() to parse common clock bindings

2013-08-02 Thread Mike Turquette
Quoting Stephen Boyd (2013-07-25 09:36:56) On 07/25, Tomasz Figa wrote: On Wednesday 24 of July 2013 17:43:30 Stephen Boyd wrote: Consolidate DT parsing for the common bits of a clock binding in one place to simplify clock drivers. This also has the added benefit of standardizing how

Re: [PATCH v4 6/8] wlcore: sdio: add wilink clock providers

2013-07-30 Thread Mike Turquette
Quoting Luciano Coelho (2013-07-30 06:04:34) > +static const struct of_device_id wlcore_sdio_of_clk_match_table[] = { > + { .compatible = "ti,wilink-clock" }, > +}; > + > static struct wl12xx_platform_data *wlcore_get_pdata_from_of(struct device > *dev) > { > struct

Re: RE: [PATCH v8 05/12] clk: exynos5250: add gate clock descriptions of System MMU

2013-07-30 Thread Mike Turquette
Quoting Cho KyongHo (2013-07-27 02:08:11) > > -Original Message- > > From: Mike Turquette [mailto:mturque...@linaro.org] > > Sent: Saturday, July 27, 2013 5:01 AM > > > > Quoting Cho KyongHo (2013-07-26 04:27:54) > > > This adds gate clocks

Re: RE: [PATCH v8 05/12] clk: exynos5250: add gate clock descriptions of System MMU

2013-07-30 Thread Mike Turquette
Quoting Cho KyongHo (2013-07-27 02:08:11) -Original Message- From: Mike Turquette [mailto:mturque...@linaro.org] Sent: Saturday, July 27, 2013 5:01 AM Quoting Cho KyongHo (2013-07-26 04:27:54) This adds gate clocks of all System MMUs and their master IPs

Re: [PATCH v4 6/8] wlcore: sdio: add wilink clock providers

2013-07-30 Thread Mike Turquette
Quoting Luciano Coelho (2013-07-30 06:04:34) +static const struct of_device_id wlcore_sdio_of_clk_match_table[] = { + { .compatible = ti,wilink-clock }, +}; + static struct wl12xx_platform_data *wlcore_get_pdata_from_of(struct device *dev) { struct wl12xx_platform_data

<    4   5   6   7   8   9   10   11   12   13   >