Re: [PATCH v6 3/8] ARM: sunxi: Move the clock protection to machine hooks

2014-05-12 Thread Mike Turquette
Quoting Arnd Bergmann (2014-04-23 06:31:06) On Wednesday 23 April 2014 15:17:20 Maxime Ripard wrote: +#include linux/clk.h #include linux/init.h #include linux/of_platform.h @@ -19,9 +20,17 @@ static void __init sun4i_dt_init(void) { + struct clk

Re: [PATCH v3 1/8] clk: sunxi: Implement A31 USB clock

2014-05-12 Thread Mike Turquette
-by: Hans de Goede hdego...@redhat.com Acked-by: Mike Turquette mturque...@linaro.org --- drivers/clk/sunxi/clk-sunxi.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/clk/sunxi/clk-sunxi.c b/drivers/clk/sunxi/clk-sunxi.c index bd7dc733c1ca..d9bab75f128b 100644 --- a/drivers

Re: [PATCH v2] mfd: vexpress: Convert custom func API to regmap

2014-05-01 Thread Mike Turquette
Quoting Pawel Moll (2014-04-30 09:01:26) > Signed-off-by: Pawel Moll > Acked-by: Mark Brown > Acked-by: Lee Jones Acked-by: Mike Turquette -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org

Re: [PATCH 05/10] clk: versatile: Split config options for sp810 and vexpress_osc

2014-05-01 Thread Mike Turquette
s. > > Cc: Mike Turquette > Signed-off-by: Pawel Moll Acked-by: Mike Turquette > --- > drivers/clk/Kconfig| 9 + > drivers/clk/versatile/Kconfig | 26 ++ > drivers/clk/versatile/Makefile | 5 +++-- > 3 files changed, 30 inser

Re: [PATCH 05/10] clk: versatile: Split config options for sp810 and vexpress_osc

2014-05-01 Thread Mike Turquette
Quoting Pawel Moll (2014-04-28 10:57:52) Move the Kconfig entry for Versatile ( Express) clock drivers into a separate file and add individual options for sp810 and vexpress_osc drivers, as they are optional in some configurations and may have separate dependencies. Cc: Mike Turquette

Re: [PATCH v2] mfd: vexpress: Convert custom func API to regmap

2014-05-01 Thread Mike Turquette
Quoting Pawel Moll (2014-04-30 09:01:26) Signed-off-by: Pawel Moll pawel.m...@arm.com Acked-by: Mark Brown broo...@linaro.org Acked-by: Lee Jones lee.jo...@linaro.org Acked-by: Mike Turquette mturque...@linaro.org -- To unsubscribe from this list: send the line unsubscribe linux-kernel

Re: [PATCH] clk: socfpga: fix clock driver for 3.15

2014-04-30 Thread Mike Turquette
Quoting Dinh Nguyen (2014-04-24 15:47:49) > Hi Mike, > > On Thu, 2014-04-24 at 17:21 +0200, ZY - pavel wrote: > > Hi! > > > > > commit [1771b10d6 clk: respect the clock dependencies in of_clk_init] > > > exposed a flaw in the socfpga clock driver and prevents the platform > > > from booting on

Re: [PATCH v3 00/11] ARM: at91: rework main and slow clk implementation

2014-04-30 Thread Mike Turquette
merge this whole series through my tree and then the > arm-soc tree. If it is okay for you, can you give your acknowledgement > before that I build a pull-request for the arm-soc guys? Patches #1-4: Acked-by: Mike Turquette Regards, Mike > > Thanks a lot, bye, > > > Changes s

Re: [PATCH v3 00/11] ARM: at91: rework main and slow clk implementation

2014-04-30 Thread Mike Turquette
guys? Patches #1-4: Acked-by: Mike Turquette mturque...@linaro.org Regards, Mike Thanks a lot, bye, Changes since v2: - add missing compatible in pmc.c - fix sam9261 slow clock definition - move xtal nodes out of /clocks node - fix DT bindings documentation - fix main RC

Re: [PATCH] clk: socfpga: fix clock driver for 3.15

2014-04-30 Thread Mike Turquette
Quoting Dinh Nguyen (2014-04-24 15:47:49) Hi Mike, On Thu, 2014-04-24 at 17:21 +0200, ZY - pavel wrote: Hi! commit [1771b10d6 clk: respect the clock dependencies in of_clk_init] exposed a flaw in the socfpga clock driver and prevents the platform from booting on 3.15-rc1.

Re: [PATCH v2 RESEND 0/5] clk: bcm21664: add common clock support

2014-04-25 Thread Mike Turquette
Quoting Alex Elder (2014-04-21 14:26:22) > This is series has two parts. The first two patches are changes > to the existing Broadcom Kona family clock code to prepare for the > addition of support for another SoC, bcm21664. > > The remaining three define the binding and code for bcm21664, and >

Re: [PATCH v4 RESEND 0/7] clk: bcm281xx: updates

2014-04-25 Thread Mike Turquette
Quoting Alex Elder (2014-04-21 14:11:36) > This series includes updates for the bcm281xx clock code. It is > dependent on the following patch, which has been taken into the > clk-fixes tree: > clk: bcm281xx: don't use unnamed structs or unions > https://lkml.org/lkml/2014/4/7/322 Thanks

Re: [GIT PULL] clk: socfpga: Clock fix for v3.15

2014-04-25 Thread Mike Turquette
Quoting dingu...@altera.com (2014-04-25 08:22:02) > Hi Mike, > > Please consider pulling this patch for 3.15 fixes. > > Thanks, > > The following changes since commit c9eaa447e77efe77b7fa4c953bd62de8297fd6c5: > > Linux 3.15-rc1 (2014-04-13 14:18:35 -0700) > > are available in the git

Re: [PATCH 1/3] clk: divider: Fix best div calculation for power-of-two and table dividers

2014-04-25 Thread Mike Turquette
Quoting Maxime COQUELIN (2014-01-29 08:24:06) > The divider returned by clk_divider_bestdiv() is likely to be invalid in case > of power-of-two and table dividers when CLK_SET_RATE_PARENT flag isn't set. > > Signed-off-by: Maxime Coquelin I've taken this into clk-fixes for 3.15-rcX. Thanks,

Re: [PATCH 1/3] clk: divider: Fix best div calculation for power-of-two and table dividers

2014-04-25 Thread Mike Turquette
Quoting Maxime COQUELIN (2014-01-29 08:24:06) The divider returned by clk_divider_bestdiv() is likely to be invalid in case of power-of-two and table dividers when CLK_SET_RATE_PARENT flag isn't set. Signed-off-by: Maxime Coquelin maxime.coque...@st.com I've taken this into clk-fixes for

Re: [GIT PULL] clk: socfpga: Clock fix for v3.15

2014-04-25 Thread Mike Turquette
Quoting dingu...@altera.com (2014-04-25 08:22:02) Hi Mike, Please consider pulling this patch for 3.15 fixes. Thanks, The following changes since commit c9eaa447e77efe77b7fa4c953bd62de8297fd6c5: Linux 3.15-rc1 (2014-04-13 14:18:35 -0700) are available in the git repository at:

Re: [PATCH v4 RESEND 0/7] clk: bcm281xx: updates

2014-04-25 Thread Mike Turquette
Quoting Alex Elder (2014-04-21 14:11:36) This series includes updates for the bcm281xx clock code. It is dependent on the following patch, which has been taken into the clk-fixes tree: clk: bcm281xx: don't use unnamed structs or unions https://lkml.org/lkml/2014/4/7/322 Thanks for

Re: [PATCH v2 RESEND 0/5] clk: bcm21664: add common clock support

2014-04-25 Thread Mike Turquette
Quoting Alex Elder (2014-04-21 14:26:22) This is series has two parts. The first two patches are changes to the existing Broadcom Kona family clock code to prepare for the addition of support for another SoC, bcm21664. The remaining three define the binding and code for bcm21664, and

Re: [PATCH 2/3] clk: divider: Add round to closest divider

2014-04-24 Thread Mike Turquette
Quoting Maxime COQUELIN (2014-01-29 08:24:07) > In some cases, we want to be able to round the divider to the closest one, > instead than rounding up. > > This patch adds a new CLK_DIVIDER_ROUND_CLOSEST flag to specify the divider > has to round to closest div, keeping rounding up as de default

Re: [PATCH 2/3] clk: divider: Add round to closest divider

2014-04-24 Thread Mike Turquette
Quoting Maxime COQUELIN (2014-01-29 08:24:07) In some cases, we want to be able to round the divider to the closest one, instead than rounding up. This patch adds a new CLK_DIVIDER_ROUND_CLOSEST flag to specify the divider has to round to closest div, keeping rounding up as de default

[GIT PULL] clk: changes for 3.15

2014-04-04 Thread Mike Turquette
emory leak in of_at91_clk_master_setup() Maxime Ripard (2): clk: sunxi: Add support for PLL6 on the A31 clk: sunxi: Add new clock compatibles Michal Simek (1): clk: zynq: Use clk_readl/clk_writel helper function Mike Turquette (13): Merge tag 'socfpga-clk-for-3.1

[GIT PULL] clk: changes for 3.15

2014-04-04 Thread Mike Turquette
in of_at91_clk_master_setup() Maxime Ripard (2): clk: sunxi: Add support for PLL6 on the A31 clk: sunxi: Add new clock compatibles Michal Simek (1): clk: zynq: Use clk_readl/clk_writel helper function Mike Turquette (13): Merge tag 'socfpga-clk-for-3.15' of git

Re: [PATCH v7 2/3] clk: exynos5410: register clocks using common clock framework

2014-04-02 Thread Mike Turquette
Quoting Tarek Dakhran (2014-02-23 19:43:54) > +External clock: > + > +There is clock that is generated outside the SoC. It is expected > +that it is defined using standard clock bindings with following > +clock-output-name: > + - "fin_pll" - PLL input clock - required. > +Example 2: Required

Re: [PATCH v7 2/3] clk: exynos5410: register clocks using common clock framework

2014-04-02 Thread Mike Turquette
Quoting Tarek Dakhran (2014-02-23 19:43:54) +External clock: + +There is clock that is generated outside the SoC. It is expected +that it is defined using standard clock bindings with following +clock-output-name: + - fin_pll - PLL input clock - required. snip +Example 2: Required

Re: [PATCH v0 01/15] drivers: clk: st: Support for DIVMUX and PreDiv Clocks

2014-03-25 Thread Mike Turquette
Quoting Gabriel Fernandez (2014-03-25 01:28:41) > Hi Mike, > > I want that you take theses patches directly. Sure, I've taken patches #1-10 into clk-next. Regards, Mike > > Many thanks > > > Best regards > > Gabriel. > > > On 03/25/2014 06:27 AM, Mi

Re: [RFC PATCH v2 2/2] clk: Add handling of clk parent and rate assigned from DT

2014-03-25 Thread Mike Turquette
Quoting Sylwester Nawrocki (2014-03-25 04:19:42) > On 03/03/14 19:22, Sylwester Nawrocki wrote: > > This function adds a notifier callback run before a driver is bound > > to a device. It will configure any parent clocks and clock frequencies > > according to values of 'clock-parents' and

Re: [RFC PATCH v2 2/2] clk: Add handling of clk parent and rate assigned from DT

2014-03-25 Thread Mike Turquette
Quoting Sylwester Nawrocki (2014-03-25 04:19:42) On 03/03/14 19:22, Sylwester Nawrocki wrote: This function adds a notifier callback run before a driver is bound to a device. It will configure any parent clocks and clock frequencies according to values of 'clock-parents' and 'clock-rates'

Re: [PATCH v0 01/15] drivers: clk: st: Support for DIVMUX and PreDiv Clocks

2014-03-25 Thread Mike Turquette
Quoting Gabriel Fernandez (2014-03-25 01:28:41) Hi Mike, I want that you take theses patches directly. Sure, I've taken patches #1-10 into clk-next. Regards, Mike Many thanks Best regards Gabriel. On 03/25/2014 06:27 AM, Mike Turquette wrote: Quoting Gabriel FERNANDEZ

Re: [PATCH v0 01/15] drivers: clk: st: Support for DIVMUX and PreDiv Clocks

2014-03-24 Thread Mike Turquette
Quoting Gabriel FERNANDEZ (2014-02-27 07:24:14) > +/** > + * DOC: Clock mux with a programmable divider on each of its three inputs. > + * The mux has an input setting which effectively gates its output. > + * > + * Traits of this clock: > + * prepare - clk_(un)prepare only ensures parent is

Re: [PATCH 1/2] clk: s2mps11: Fix possible NULL pointer dereference

2014-03-24 Thread Mike Turquette
Quoting Krzysztof Kozlowski (2014-03-21 05:18:17) > If parent device does not have of_node set the s2mps11_clk_parse_dt() > returned NULL. This NULL was later passed to of_clk_add_provider() which > dereferenced it in pr_debug() call. > > Signed-off-by: Krzysztof Kozlowski I've taken both of

Re: [RFC PATCH v2 0/2] clk: Support for DT assigned clock parents and rates

2014-03-24 Thread Mike Turquette
Quoting Maxime Coquelin (2014-03-21 07:09:26) > Hi Mike, > > On 03/21/2014 02:45 AM, Mike Turquette wrote: > > Quoting Sylwester Nawrocki (2014-03-20 05:42:33) > >> Hi Maxime, > >> > >> On 06/03/14 14:45, Maxime Coquelin wrote: > >>> Hi Sylw

Re: [PATCH v5 1/7] clk: sunxi: Remove calls to clk_put

2014-03-24 Thread Mike Turquette
Quoting Maxime Ripard (2014-03-13 08:14:13) > Callers of clk_put must disable the clock first. This also means that as long > as the clock is enabled the driver should hold a reference to that clock. > Hence, the call to clk_put here are bogus and should be removed. > > Signed-off-by: Maxime

Re: [PATCH v5 1/7] clk: sunxi: Remove calls to clk_put

2014-03-24 Thread Mike Turquette
Quoting Maxime Ripard (2014-03-13 08:14:13) Callers of clk_put must disable the clock first. This also means that as long as the clock is enabled the driver should hold a reference to that clock. Hence, the call to clk_put here are bogus and should be removed. Signed-off-by: Maxime Ripard

Re: [RFC PATCH v2 0/2] clk: Support for DT assigned clock parents and rates

2014-03-24 Thread Mike Turquette
Quoting Maxime Coquelin (2014-03-21 07:09:26) Hi Mike, On 03/21/2014 02:45 AM, Mike Turquette wrote: Quoting Sylwester Nawrocki (2014-03-20 05:42:33) Hi Maxime, On 06/03/14 14:45, Maxime Coquelin wrote: Hi Sylwester, I like the principle of your implementation, but I have

Re: [PATCH 1/2] clk: s2mps11: Fix possible NULL pointer dereference

2014-03-24 Thread Mike Turquette
Quoting Krzysztof Kozlowski (2014-03-21 05:18:17) If parent device does not have of_node set the s2mps11_clk_parse_dt() returned NULL. This NULL was later passed to of_clk_add_provider() which dereferenced it in pr_debug() call. Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com

Re: [PATCH v0 01/15] drivers: clk: st: Support for DIVMUX and PreDiv Clocks

2014-03-24 Thread Mike Turquette
Quoting Gabriel FERNANDEZ (2014-02-27 07:24:14) +/** + * DOC: Clock mux with a programmable divider on each of its three inputs. + * The mux has an input setting which effectively gates its output. + * + * Traits of this clock: + * prepare - clk_(un)prepare only ensures parent is

Re: [RFC PATCH v2 0/2] clk: Support for DT assigned clock parents and rates

2014-03-20 Thread Mike Turquette
Quoting Sylwester Nawrocki (2014-03-20 05:42:33) > Hi Maxime, > > On 06/03/14 14:45, Maxime Coquelin wrote: > > Hi Sylwester, > > > > I like the principle of your implementation, but I have two questions: > > 1 - How can we manage PM with this solution, as the parent/rate will > >

Re: [PATCH] clk: turn rate change failed warning into pr_debug

2014-03-20 Thread Mike Turquette
ity of the caller to handle > > this. Do not spam the log with a message. > > > > Signed-off-by: Sascha Hauer > > Cc: Mike Turquette > > Cc: linux-arm-ker...@lists.infradead.org > > Cc: linux-kernel@vger.kernel.org > > --- > > drivers/clk/clk.c | 2 +- >

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

2014-03-20 Thread Mike Turquette
ing due to changes introducing > > > > > linux/mfd/samsung/s2mps14.h. > > > > > > > > > > The changes look OK to me so maybe Lee can take it with my Ack? > > > > > > > > > > Acked-by: Mike Turquette > > > > > > > > >

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

2014-03-20 Thread Mike Turquette
-by: Tomasz Figa t.f...@samsung.com This does not apply cleanly to to clk tree trip, nor does it compile after manually merging due to changes introducing linux/mfd/samsung/s2mps14.h. The changes look OK to me so maybe Lee can take it with my Ack? Acked-by: Mike

Re: [PATCH] clk: turn rate change failed warning into pr_debug

2014-03-20 Thread Mike Turquette
the log with a message. Signed-off-by: Sascha Hauer s.ha...@pengutronix.de Cc: Mike Turquette mturque...@linaro.org Cc: linux-arm-ker...@lists.infradead.org Cc: linux-kernel@vger.kernel.org --- drivers/clk/clk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [RFC PATCH v2 0/2] clk: Support for DT assigned clock parents and rates

2014-03-20 Thread Mike Turquette
Quoting Sylwester Nawrocki (2014-03-20 05:42:33) Hi Maxime, On 06/03/14 14:45, Maxime Coquelin wrote: Hi Sylwester, I like the principle of your implementation, but I have two questions: 1 - How can we manage PM with this solution, as the parent/rate will be set only

Re: [RFC PATCH 3/6] PM / Voltagedomain: introduce voltage domain driver support

2014-03-19 Thread Mike Turquette
Quoting Nishanth Menon (2014-03-10 12:25:43) > On 03/10/2014 01:01 PM, Mark Brown wrote: > > On Mon, Mar 10, 2014 at 12:41:05PM -0500, Nishanth Menon wrote: > > > >> The only other options are: > >> a) Abstract it at a higher level at "user drivers", since they are > >> aware of the sequencing

Re: [RFC PATCH 3/6] PM / Voltagedomain: introduce voltage domain driver support

2014-03-19 Thread Mike Turquette
Quoting Nishanth Menon (2014-03-10 12:25:43) On 03/10/2014 01:01 PM, Mark Brown wrote: On Mon, Mar 10, 2014 at 12:41:05PM -0500, Nishanth Menon wrote: The only other options are: a) Abstract it at a higher level at user drivers, since they are aware of the sequencing needs - but this

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

2014-03-18 Thread Mike Turquette
On Tue, Mar 18, 2014 at 6:09 PM, Mike Turquette wrote: > Quoting Krzysztof Kozlowski (2014-03-17 02:19:16) >> This patch adds support for S2MPS14 PMIC clocks (BT and AP) to the >> s2mps11 clock driver. >> >> Signed-off-by: Krzysztof Kozlowski >> Reviewed-by:

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

2014-03-18 Thread Mike Turquette
Quoting Krzysztof Kozlowski (2014-03-17 02:19:16) > This patch adds support for S2MPS14 PMIC clocks (BT and AP) to the > s2mps11 clock driver. > > Signed-off-by: Krzysztof Kozlowski > Reviewed-by: Yadwinder Singh Brar > Reviewed-by: Tomasz Figa Taken into clk-next. Regards, Mike > --- >

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

2014-03-18 Thread Mike Turquette
o to clk tree trip, nor does it compile after manually merging due to changes introducing linux/mfd/samsung/s2mps14.h. The changes look OK to me so maybe Lee can take it with my Ack? Acked-by: Mike Turquette Regards, Mike > --- > drivers/clk/Kconfig |8 +++--- > drive

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

2014-03-18 Thread Mike Turquette
...@samsung.com This does not apply cleanly to to clk tree trip, nor does it compile after manually merging due to changes introducing linux/mfd/samsung/s2mps14.h. The changes look OK to me so maybe Lee can take it with my Ack? Acked-by: Mike Turquette mturque...@linaro.org Regards, Mike --- drivers

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

2014-03-18 Thread Mike Turquette
Quoting Krzysztof Kozlowski (2014-03-17 02:19:16) This patch adds support for S2MPS14 PMIC clocks (BT and AP) to the s2mps11 clock driver. Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com Reviewed-by: Yadwinder Singh Brar yadi.b...@samsung.com Reviewed-by: Tomasz Figa

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

2014-03-18 Thread Mike Turquette
On Tue, Mar 18, 2014 at 6:09 PM, Mike Turquette mturque...@linaro.org wrote: Quoting Krzysztof Kozlowski (2014-03-17 02:19:16) This patch adds support for S2MPS14 PMIC clocks (BT and AP) to the s2mps11 clock driver. Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com Reviewed

[GIT PULL] clk: fixes for 3.14, part 2

2014-03-07 Thread Mike Turquette
The following changes since commit 0414855fdc4a40da05221fc6062cccbc0c30f169: Linux 3.14-rc5 (2014-03-02 18:56:16 -0800) are available in the git repository at: git://git.linaro.org/people/mike.turquette/linux.git tags/clk-fixes-for-linus for you to fetch changes up to

[GIT PULL] clk: fixes for 3.14, part 2

2014-03-07 Thread Mike Turquette
The following changes since commit 0414855fdc4a40da05221fc6062cccbc0c30f169: Linux 3.14-rc5 (2014-03-02 18:56:16 -0800) are available in the git repository at: git://git.linaro.org/people/mike.turquette/linux.git tags/clk-fixes-for-linus for you to fetch changes up to

[GIT PULL] clk: fixes for 3.14

2014-03-02 Thread Mike Turquette
in MSTP clock DT bindings Linus Walleij (1): clk: nomadik: fix multiplatform problem Mark Zhang (1): clk: tegra: fix host1x clock on Tegra124 Masanari Iida (1): clk:at91: Fix memory leak in of_at91_clk_master_setup() Mike Turquette (4): Merge tag 'mvebu-clk-fixes-3.14' of git

[GIT PULL] clk: fixes for 3.14

2014-03-02 Thread Mike Turquette
in MSTP clock DT bindings Linus Walleij (1): clk: nomadik: fix multiplatform problem Mark Zhang (1): clk: tegra: fix host1x clock on Tegra124 Masanari Iida (1): clk:at91: Fix memory leak in of_at91_clk_master_setup() Mike Turquette (4): Merge tag 'mvebu-clk-fixes-3.14' of git

Re: [RFC PATCH 1/6] PM / Voltagedomain: Add generic clk notifier handler for regulator based dynamic voltage scaling

2014-02-26 Thread Mike Turquette
Quoting Nishanth Menon (2014-02-26 18:34:55) > +/** > + * pm_runtime_get_rate() - Returns the device operational frequency > + * @dev: Device to handle > + * @rate: Returns rate in Hz. > + * > + * Returns appropriate error value in case of error conditions, else > + * returns 0 and rate

Re: [PATCH] clk:at91: Fix memory leak in of_at91_clk_master_setup()

2014-02-26 Thread Mike Turquette
Quoting Boris BREZILLON (2014-02-15 09:08:12) > Hi Mike, > > Could you take this patch for the next 3.14 release ? Taken in for the next batch of fixes. Regards, Mike > > Best Regards, > > Boris > > On 11/02/2014 14:18, Boris BREZILLON wrote: > > On 11/02/2014 14:15, Masanari Iida wrote: >

Re: [PATCH v2 2/4] clk: at91: propagate rate change on system clks

2014-02-26 Thread Mike Turquette
Quoting Jean-Jacques Hiblot (2014-02-05 00:37:36) > From: Boris BREZILLON > > System clks are just gates, and thus do not provide any rate operations. > Authorize clk rate change to be propagated to system clk parents. > > Signed-off-by: Boris BREZILLON > --- > drivers/clk/at91/clk-system.c |

Re: [PATCH 3/3] ARM: S3C24XX: select COMMON_CLK_SAMSUNG for S3C24XX

2014-02-26 Thread Mike Turquette
Quoting Pankaj Dubey (2014-02-25 21:24:07) > CC: Ben Dooks > CC: Kukjin Kim > CC: Russell King > Signed-off-by: Pankaj Dubey > --- > arch/arm/mach-s3c24xx/Kconfig |3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/arch/arm/mach-s3c24xx/Kconfig b/arch/arm/mach-s3c24xx/Kconfig >

Re: [PATCH V2 0/2] Add support for clocks in S5M8767

2014-02-26 Thread Mike Turquette
Quoting Tushar Behera (2014-02-18 22:24:34) > S5M8767 chip has 3 crystal oscillators which are operated in the same > as the crystal oscillators in S2MPS11. Extend s2mps11-clk driver to > support clocks in S5M8767. > > The patches are rebased on top of next-20130218. These changes look good to

Re: [PATCH v8 06/14] CLK: TI: OMAP3: Get rid of unused USB Host dummy clocks

2014-02-26 Thread Mike Turquette
Quoting Roger Quadros (2014-02-25 01:32:19) > Hi Mike, > > On 02/25/2014 10:43 AM, Mike Turquette wrote: > > Quoting Roger Quadros (2014-02-20 03:40:01) > >> The OMAP USB Host MFD driver no longer expects these non-existing > >> clocks from the OMAP3 platform, s

Re: [PATCH v8 06/14] CLK: TI: OMAP3: Get rid of unused USB Host dummy clocks

2014-02-26 Thread Mike Turquette
Quoting Roger Quadros (2014-02-25 01:32:19) Hi Mike, On 02/25/2014 10:43 AM, Mike Turquette wrote: Quoting Roger Quadros (2014-02-20 03:40:01) The OMAP USB Host MFD driver no longer expects these non-existing clocks from the OMAP3 platform, so get rid of them. Looks good to me

Re: [PATCH V2 0/2] Add support for clocks in S5M8767

2014-02-26 Thread Mike Turquette
Quoting Tushar Behera (2014-02-18 22:24:34) S5M8767 chip has 3 crystal oscillators which are operated in the same as the crystal oscillators in S2MPS11. Extend s2mps11-clk driver to support clocks in S5M8767. The patches are rebased on top of next-20130218. These changes look good to me.

Re: [PATCH 3/3] ARM: S3C24XX: select COMMON_CLK_SAMSUNG for S3C24XX

2014-02-26 Thread Mike Turquette
Quoting Pankaj Dubey (2014-02-25 21:24:07) CC: Ben Dooks ben-li...@fluff.org CC: Kukjin Kim kgene@samsung.com CC: Russell King li...@arm.linux.org.uk Signed-off-by: Pankaj Dubey pankaj.du...@samsung.com --- arch/arm/mach-s3c24xx/Kconfig |3 +++ 1 file changed, 3 insertions(+)

Re: [PATCH v2 2/4] clk: at91: propagate rate change on system clks

2014-02-26 Thread Mike Turquette
Quoting Jean-Jacques Hiblot (2014-02-05 00:37:36) From: Boris BREZILLON b.brezil...@overkiz.com System clks are just gates, and thus do not provide any rate operations. Authorize clk rate change to be propagated to system clk parents. Signed-off-by: Boris BREZILLON b.brezil...@overkiz.com

Re: [PATCH] clk:at91: Fix memory leak in of_at91_clk_master_setup()

2014-02-26 Thread Mike Turquette
Quoting Boris BREZILLON (2014-02-15 09:08:12) Hi Mike, Could you take this patch for the next 3.14 release ? Taken in for the next batch of fixes. Regards, Mike Best Regards, Boris On 11/02/2014 14:18, Boris BREZILLON wrote: On 11/02/2014 14:15, Masanari Iida wrote: cppcheck

Re: [RFC PATCH 1/6] PM / Voltagedomain: Add generic clk notifier handler for regulator based dynamic voltage scaling

2014-02-26 Thread Mike Turquette
Quoting Nishanth Menon (2014-02-26 18:34:55) +/** + * pm_runtime_get_rate() - Returns the device operational frequency + * @dev: Device to handle + * @rate: Returns rate in Hz. + * + * Returns appropriate error value in case of error conditions, else + * returns 0 and rate is

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

2014-02-25 Thread Mike Turquette
On Tue, Feb 25, 2014 at 11:15 PM, Stephen Rothwell wrote: > Hi Mike, > > Today's linux-next merge of the clk tree got a conflict in > arch/arm/boot/dts/keystone-clocks.dtsi between commit 0cfc9ccec2a8 ("ARM: > dts: keystone: preparatory patch to support K2L and K2E SOCs") from the > keystone

Re: [PATCH] clk: zynq: Use clk_readl/clk_writel helper function

2014-02-25 Thread Mike Turquette
Quoting Michal Simek (2014-02-20 00:55:46) > Do not use readl/writel directly because the whole > clk subsystem is using clk_readl/clk_writel functions. > > Signed-off-by: Michal Simek > Acked-by: Soren Brinkmann Taken into clk-next. Regards, Mike > --- > > drivers/clk/zynq/clkc.c | 4

Re: [PATCH v8 06/14] CLK: TI: OMAP3: Get rid of unused USB Host dummy clocks

2014-02-25 Thread Mike Turquette
Quoting Roger Quadros (2014-02-20 03:40:01) > The OMAP USB Host MFD driver no longer expects these non-existing > clocks from the OMAP3 platform, so get rid of them. Looks good to me. Regards, Mike > > CC: Tero Kristo > CC: Mike Turquette > Signed-off-by: Roger Quadros

Re: [PATCH 1/2] clk: ti: am335x: remove unecessary cpu0 clk node

2014-02-25 Thread Mike Turquette
Quoting Nishanth Menon (2014-01-29 10:19:16) > cpu0 clock node has no functionality, since cpufreq-cpu0 is already > capable of picking up the clock from dts. > > Signed-off-by: Nishanth Menon Taken into clk-next! Regards, Mike > --- > drivers/clk/ti/clk-33xx.c |1 - > 1 file changed, 1

Re: [PATCH 1/2] clk: ti: am335x: remove unecessary cpu0 clk node

2014-02-25 Thread Mike Turquette
Quoting Nishanth Menon (2014-01-29 10:19:16) cpu0 clock node has no functionality, since cpufreq-cpu0 is already capable of picking up the clock from dts. Signed-off-by: Nishanth Menon n...@ti.com Taken into clk-next! Regards, Mike --- drivers/clk/ti/clk-33xx.c |1 - 1 file

Re: [PATCH v8 06/14] CLK: TI: OMAP3: Get rid of unused USB Host dummy clocks

2014-02-25 Thread Mike Turquette
Quoting Roger Quadros (2014-02-20 03:40:01) The OMAP USB Host MFD driver no longer expects these non-existing clocks from the OMAP3 platform, so get rid of them. Looks good to me. Regards, Mike CC: Tero Kristo t-kri...@ti.com CC: Mike Turquette mturque...@linaro.org Signed-off-by: Roger

Re: [PATCH] clk: zynq: Use clk_readl/clk_writel helper function

2014-02-25 Thread Mike Turquette
Quoting Michal Simek (2014-02-20 00:55:46) Do not use readl/writel directly because the whole clk subsystem is using clk_readl/clk_writel functions. Signed-off-by: Michal Simek michal.si...@xilinx.com Acked-by: Soren Brinkmann soren.brinkm...@xilinx.com Taken into clk-next. Regards, Mike

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

2014-02-25 Thread Mike Turquette
On Tue, Feb 25, 2014 at 11:15 PM, Stephen Rothwell s...@canb.auug.org.au wrote: Hi Mike, Today's linux-next merge of the clk tree got a conflict in arch/arm/boot/dts/keystone-clocks.dtsi between commit 0cfc9ccec2a8 (ARM: dts: keystone: preparatory patch to support K2L and K2E SOCs) from the

Re: [RFC PATCH 1/6] PM / Voltagedomain: Add generic clk notifier handler for regulator based dynamic voltage scaling

2014-02-24 Thread Mike Turquette
Quoting Nishanth Menon (2014-02-18 12:32:18) > From: Mike Turquette > > This patch provides helper functions for drivers that wish to scale > voltage through the clock rate-change notifiers. The approach taken > is that the user-driver(cpufreq/devfreq) do not care about the >

Re: [PATCH v2] clk: respect the clock dependencies in of_clk_init

2014-02-24 Thread Mike Turquette
Quoting Gregory CLEMENT (2014-02-24 09:49:27) > On 23/02/2014 19:46, Tomasz Figa wrote: > > On 10.02.2014 18:42, Gregory CLEMENT wrote: > >> + > >> +for (i = 0; i < num_parents; i++) { > >> +if (of_parse_phandle_with_args(np, "clocks", "#clock-cells", > >> i, > >> +

Re: [PATCH v2] clk: respect the clock dependencies in of_clk_init

2014-02-24 Thread Mike Turquette
Quoting Gregory CLEMENT (2014-02-24 09:49:27) On 23/02/2014 19:46, Tomasz Figa wrote: On 10.02.2014 18:42, Gregory CLEMENT wrote: + +for (i = 0; i num_parents; i++) { +if (of_parse_phandle_with_args(np, clocks, #clock-cells, i, +

Re: [RFC PATCH 1/6] PM / Voltagedomain: Add generic clk notifier handler for regulator based dynamic voltage scaling

2014-02-24 Thread Mike Turquette
Quoting Nishanth Menon (2014-02-18 12:32:18) From: Mike Turquette mturque...@linaro.org This patch provides helper functions for drivers that wish to scale voltage through the clock rate-change notifiers. The approach taken is that the user-driver(cpufreq/devfreq) do not care about

Re: [PATCH v2 2/3] clk: bcm281xx: don't disable unused peripheral clocks

2014-02-23 Thread Mike Turquette
gh arm-soc for 3.15 as we originally agreed > for 3.14. Patches 1 and 3 are the original two you acked for 3.14 > but had to be dropped late in the merge window. Acked-by: Mike Turquette > > Thanks, > Matt > > > --- > > drivers/clk/bcm/clk-kona-setup.c |2 +- >

Re: [PATCH v2] clk: respect the clock dependencies in of_clk_init

2014-02-23 Thread Mike Turquette
Quoting Tomasz Figa (2014-02-23 10:46:35) > Hi Gregory, > > On 10.02.2014 18:42, Gregory CLEMENT wrote: > > Until now the clock providers were initialized in the order found in > > the device tree. This led to have the dependencies between the clocks > > not respected: children clocks could be

Re: [PATCH v2] clk: respect the clock dependencies in of_clk_init

2014-02-23 Thread Mike Turquette
Quoting Tomasz Figa (2014-02-23 10:46:35) Hi Gregory, On 10.02.2014 18:42, Gregory CLEMENT wrote: Until now the clock providers were initialized in the order found in the device tree. This led to have the dependencies between the clocks not respected: children clocks could be initialized

Re: [PATCH v2 2/3] clk: bcm281xx: don't disable unused peripheral clocks

2014-02-23 Thread Mike Turquette
agreed for 3.14. Patches 1 and 3 are the original two you acked for 3.14 but had to be dropped late in the merge window. Acked-by: Mike Turquette mturque...@linaro.org Thanks, Matt --- drivers/clk/bcm/clk-kona-setup.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

Re: [PATCH v4 1/8] clk: sunxi: Add Allwinner A20/A31 GMAC clock unit

2014-02-18 Thread Mike Turquette
Quoting Chen-Yu Tsai (2014-02-10 02:35:47) > The Allwinner A20/A31 clock module controls the transmit clock source > and interface type of the GMAC ethernet controller. Model this as > a single clock for GMAC drivers to use. > > Signed-off-by: Chen-Yu Tsai Looks good to me. Regards, Mike >

Re: [PATCH v4 1/8] clk: sunxi: Add Allwinner A20/A31 GMAC clock unit

2014-02-18 Thread Mike Turquette
Quoting Chen-Yu Tsai (2014-02-10 02:35:47) The Allwinner A20/A31 clock module controls the transmit clock source and interface type of the GMAC ethernet controller. Model this as a single clock for GMAC drivers to use. Signed-off-by: Chen-Yu Tsai w...@csie.org Looks good to me. Regards,

Re: [PATCH v4 1/5] clk: sunxi: Add support for PLL6 on the A31

2014-02-05 Thread Mike Turquette
Quoting Maxime Ripard (2014-02-05 05:05:03) > The A31 has a slightly different PLL6 clock. Add support for this new clock in > our driver. > > Signed-off-by: Maxime Ripard Looks good to me. Regards, Mike > --- > Documentation/devicetree/bindings/clock/sunxi.txt | 1 + >

Re: [PATCH 0/4] clk: mvebu: fix clk init order

2014-02-05 Thread Mike Turquette
ebu: kirkwood: maintain clock init order > > drivers/clk/mvebu/armada-370.c | 21 ++--- > drivers/clk/mvebu/armada-xp.c | 20 +--- > drivers/clk/mvebu/dove.c | 19 +-- > drivers/clk/mvebu/kirkwood.c | 34 ++++---

Re: [PATCH 0/4] clk: mvebu: fix clk init order

2014-02-05 Thread Mike Turquette
/clk/mvebu/armada-xp.c | 20 +--- drivers/clk/mvebu/dove.c | 19 +-- drivers/clk/mvebu/kirkwood.c | 34 -- 4 files changed, 44 insertions(+), 50 deletions(-) --- Cc: Mike Turquette mturque...@linaro.org Cc: Jason Cooper

Re: [PATCH v4 1/5] clk: sunxi: Add support for PLL6 on the A31

2014-02-05 Thread Mike Turquette
Quoting Maxime Ripard (2014-02-05 05:05:03) The A31 has a slightly different PLL6 clock. Add support for this new clock in our driver. Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com Looks good to me. Regards, Mike --- Documentation/devicetree/bindings/clock/sunxi.txt | 1

Re: [PATCH] clk: Fix notifier documentation

2014-01-31 Thread Mike Turquette
On Fri, Jan 31, 2014 at 5:49 PM, Sören Brinkmann wrote: > ping? Hi Soren, I'm a bit slow to review patches during the merge window. Thanks for the doc update. I'll take it in after -rc1 drops. Regards, Mik > > On Wed, Jan 22, 2014 at 11:48:37AM -0800, Soren Brinkmann wrote: >> Contradicting

Re: [PATCH 27/73] drivers/clk: don't use module_init in clk-nomadik.c which is non-modular

2014-01-31 Thread Mike Turquette
f the priority categorized subgroups. As __initcall gets > mapped onto device_initcall, our use of device_initcall > directly in this change means that the runtime impact is > zero -- it will remain at level 6 in initcall ordering. > > Cc: Mike Turquette > Cc: linux-arm-ker...@lists.infr

Re: [PATCH 27/73] drivers/clk: don't use module_init in clk-nomadik.c which is non-modular

2014-01-31 Thread Mike Turquette
mapped onto device_initcall, our use of device_initcall directly in this change means that the runtime impact is zero -- it will remain at level 6 in initcall ordering. Cc: Mike Turquette mturque...@linaro.org Cc: linux-arm-ker...@lists.infradead.org Signed-off-by: Paul Gortmaker paul.gortma

Re: [PATCH] clk: Fix notifier documentation

2014-01-31 Thread Mike Turquette
On Fri, Jan 31, 2014 at 5:49 PM, Sören Brinkmann soren.brinkm...@xilinx.com wrote: ping? Hi Soren, I'm a bit slow to review patches during the merge window. Thanks for the doc update. I'll take it in after -rc1 drops. Regards, Mik On Wed, Jan 22, 2014 at 11:48:37AM -0800, Soren Brinkmann

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

2014-01-30 Thread Mike Turquette
On Wed, Jan 29, 2014 at 9:33 PM, Kevin Hilman wrote: > On Wed, Jan 29, 2014 at 4:19 PM, Stephen Rothwell > wrote: >> Hi all, >> >> Today's linux-next merge of the arm-soc tree got a conflict in >> drivers/clk/Makefile between commit fd3fdaf09f26 ("clk: sort Makefile") >> from Linus' tree and

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

2014-01-30 Thread Mike Turquette
On Wed, Jan 29, 2014 at 9:33 PM, Kevin Hilman khil...@linaro.org wrote: On Wed, Jan 29, 2014 at 4:19 PM, Stephen Rothwell s...@canb.auug.org.au wrote: Hi all, Today's linux-next merge of the arm-soc tree got a conflict in drivers/clk/Makefile between commit fd3fdaf09f26 (clk: sort Makefile)

Re: [GIT PULL] clk: changes for 3.14, part 2

2014-01-28 Thread Mike Turquette
On Tue, Jan 28, 2014 at 6:44 PM, Linus Torvalds wrote: > On Mon, Jan 27, 2014 at 1:43 PM, Mike Turquette wrote: >> >> git://git.linaro.org/people/mike.turquette/linux.git >> tags/clk-for-linus-3.14-part2 > > Dammit, this is pure shit, and after having to deal w

Re: [GIT PULL] clk: changes for 3.14, part 2

2014-01-28 Thread Mike Turquette
On Tue, Jan 28, 2014 at 6:44 PM, Linus Torvalds torva...@linux-foundation.org wrote: On Mon, Jan 27, 2014 at 1:43 PM, Mike Turquette mturque...@linaro.org wrote: git://git.linaro.org/people/mike.turquette/linux.git tags/clk-for-linus-3.14-part2 Dammit, this is pure shit, and after having

Re: [PATCH 0/2] Enable clock controllers on MSM

2014-01-27 Thread Mike Turquette
Quoting Kumar Gala (2014-01-23 13:57:58) > > On Jan 23, 2014, at 2:43 PM, Olof Johansson wrote: > > > On Thu, Jan 23, 2014 at 11:59 AM, Kumar Gala wrote: > >> > >> On Jan 23, 2014, at 11:25 AM, Kevin Hilman wrote: > >> > >>> Stephen Boyd writes: > >>> > These patches add the clock

[GIT PULL] clk: changes for 3.14, part 2

2014-01-27 Thread Mike Turquette
R-Car Gen2 clocks support clk: shmobile: Add DIV6 clock support clk: shmobile: Add MSTP clock support Mark Zhang (3): clk: tegra: Correct sbc mux width & parent clk: tegra: Fix vde/2d/3d clock src offset clk: tegra: Set the clock parent of gr2d/gr3d to pll_c2 Mike

Re: [PATCH RESEND TAKE 3] clk: si5351: remove variant from platform_data

2014-01-27 Thread Mike Turquette
> Mike, > > this is the patch I mentioned during ARM summit ;). Still applies to > pre-v3.14-rc1 cleanly. Maybe it is time to take it now? Hi Sebastian, You're right, I overlooked this one. I've taken it in now. Regards, Mike > > Cc: Mike Turquette > Cc: Jason Cooper >

Re: [PATCH RESEND TAKE 3] clk: si5351: remove variant from platform_data

2014-01-27 Thread Mike Turquette
, this is the patch I mentioned during ARM summit ;). Still applies to pre-v3.14-rc1 cleanly. Maybe it is time to take it now? Hi Sebastian, You're right, I overlooked this one. I've taken it in now. Regards, Mike Cc: Mike Turquette mturque...@linaro.org Cc: Jason Cooper ja...@lakedaemon.net Cc: Russell

<    2   3   4   5   6   7   8   9   10   11   >