Re: [PATCH v13 3/6] clk: Make clk API return per-user struct clk instances

2015-02-01 Thread Mike Turquette
Quoting Tomeu Vizoso (2015-01-23 03:03:30) > Moves clock state to struct clk_core, but takes care to change as little API > as > possible. > > struct clk_hw still has a pointer to a struct clk, which is the > implementation's per-user clk instance, for backwards compatibility. > > The struct

Re: Clock Regression in next-20150130 caused by cb75a8fcd14e

2015-02-01 Thread Mike Turquette
Quoting Tony Lindgren (2015-01-30 17:04:44) Hi all, Looks like commit cb75a8fcd14e (clk: Add rate constraints to clocks) causes a regression on at least omaps where the serial console either does not show anything, or just prints garbage. Reverting cb75a8fcd14e makes things work again on

Re: [PATCH v13 4/6] clk: Add rate constraints to clocks

2015-02-01 Thread Mike Turquette
Quoting Tomeu Vizoso (2015-01-31 10:36:22) On 31 January 2015 at 02:31, Stephen Boyd sb...@codeaurora.org wrote: On 01/29, Stephen Boyd wrote: On 01/29/15 05:31, Geert Uytterhoeven wrote: Hi Tomeu, Mike, On Fri, Jan 23, 2015 at 12:03 PM, Tomeu Vizoso tomeu.viz...@collabora.com

Re: [PATCH v13 3/6] clk: Make clk API return per-user struct clk instances

2015-02-01 Thread Mike Turquette
Quoting Tomeu Vizoso (2015-01-23 03:03:30) Moves clock state to struct clk_core, but takes care to change as little API as possible. struct clk_hw still has a pointer to a struct clk, which is the implementation's per-user clk instance, for backwards compatibility. The struct clk that

Re: [PATCH 3/3] clk: remove clk-private.h

2015-01-30 Thread Mike Turquette
Quoting Stephen Boyd (2015-01-30 15:48:46) > On 01/30/15 13:25, Michael Turquette wrote: > > Private clock framework data structures should be private, surprisingly. > > > > Now that all platforms and drivers have been updated to remove static > > initializations of struct clk and struct clk_core

Re: [PATCH v2] MAINTAINERS: Add entry for Maxim PMICs on Samsung boards

2015-01-30 Thread Mike Turquette
> Cc: Samuel Ortiz > Cc: Lee Jones > Cc: Liam Girdwood > Cc: Mark Brown > Cc: Mike Turquette Acked-by: Michael Turquette > Cc: Stephen Boyd > Cc: Alessandro Zummo > Acked-by: Mark Brown > Acked-by: Lee Jones > > --- > > Changes since v1: > 1.

Re: [PATCH v2] MAINTAINERS: Add entry for Maxim PMICs on Samsung boards

2015-01-30 Thread Mike Turquette
...@samsung.com Cc: Samuel Ortiz sa...@linux.intel.com Cc: Lee Jones lee.jo...@linaro.org Cc: Liam Girdwood lgirdw...@gmail.com Cc: Mark Brown broo...@kernel.org Cc: Mike Turquette mturque...@linaro.org Acked-by: Michael Turquette mturque...@linaro.org Cc: Stephen Boyd sb...@codeaurora.org Cc

Re: [PATCH 3/3] clk: remove clk-private.h

2015-01-30 Thread Mike Turquette
Quoting Stephen Boyd (2015-01-30 15:48:46) On 01/30/15 13:25, Michael Turquette wrote: Private clock framework data structures should be private, surprisingly. Now that all platforms and drivers have been updated to remove static initializations of struct clk and struct clk_core objects

Re: [PATCH v13 0/6] Per-user clock constraints

2015-01-29 Thread Mike Turquette
On Wed, Jan 28, 2015 at 10:41 PM, Tomeu Vizoso wrote: > On 01/29/2015 03:26 AM, Mike Turquette wrote: >> Quoting Tomeu Vizoso (2015-01-27 22:59:59) >>> On 01/27/2015 01:55 AM, Stephen Boyd wrote: >>>> On 01/23/15 03:03, Tomeu Vizoso wrote: >>&g

Re: [PATCH v13 0/6] Per-user clock constraints

2015-01-29 Thread Mike Turquette
On Wed, Jan 28, 2015 at 10:41 PM, Tomeu Vizoso tomeu.viz...@collabora.com wrote: On 01/29/2015 03:26 AM, Mike Turquette wrote: Quoting Tomeu Vizoso (2015-01-27 22:59:59) On 01/27/2015 01:55 AM, Stephen Boyd wrote: On 01/23/15 03:03, Tomeu Vizoso wrote: Hi, in this v13 I have: * added

Re: [PATCH V2] clk: mxs: Fix invalid 32-bit access to frac registers

2015-01-27 Thread Mike Turquette
Quoting Marek Vasut (2015-01-21 15:39:01) > On Wednesday, January 21, 2015 at 05:16:03 PM, Zhi Li wrote: > > On Sun, Dec 28, 2014 at 4:26 AM, Stefan Wahren > > wrote: > > > According to i.MX23 and i.MX28 reference manual the fractional > > > clock control registers must be addressed by byte

Re: [PATCH 4/4] clk: dt: st: Introduce clock domain documentation

2015-01-27 Thread Mike Turquette
Quoting Lee Jones (2015-01-26 03:14:00) > Signed-off-by: Lee Jones > --- > .../devicetree/bindings/clock/st/st,clk-domain.txt | 34 > ++ > 1 file changed, 34 insertions(+) > create mode 100644 > Documentation/devicetree/bindings/clock/st/st,clk-domain.txt > > diff --git

Re: [PATCH v2] clk: zynq: Force CPU_2X clock to be ungated

2015-01-27 Thread Mike Turquette
Quoting Soren Brinkmann (2015-01-27 11:05:27) > The CPU_2X clock does not have a classical in-kernel user, but is, > amongst other things, required for OCM and debug access. Make sure this > clock is not mistakenly disabled during boot up by enabling it in the > platform's clock driver. > > Cc:

Re: [PATCH] clk: ti: Drop use of clk-private.h

2015-01-27 Thread Mike Turquette
Quoting Paul Walmsley (2015-01-23 02:35:07) > On Thu, 22 Jan 2015, Stephen Boyd wrote: > > > These modules don't need to include clk-private.h. Replace the > > include with clk.h because these modules are clock consumers and > > also include clk-provider.h in clk/ti.h because struct > >

Re: [PATCH] clk: ux500: Drop use of clk-private.h

2015-01-27 Thread Mike Turquette
Quoting Ulf Hansson (2015-01-22 23:36:28) > On 22 January 2015 at 20:34, Stephen Boyd wrote: > > These drivers don't need to include clk-private.h. Remove the > > include. > > > > Cc: Ulf Hansson > > Cc: Linus Walleij > > Signed-off-by: Stephen Boyd > > Acked-by: Ulf Hansson > > I suppose

Re: [PATCH] clk: Export phase functions

2015-01-27 Thread Mike Turquette
Quoting Stephen Boyd (2015-01-20 15:33:42) > On 01/20/2015 01:23 PM, Maxime Ripard wrote: > > The phase setter and getter were not exported until now, which was causing > > build breakages when callers were compiled as module. Export these two > > functions. > > > > Reported-by: Arnd Bergmann > >

Re: [PATCH v3 7/8] clk: qcom: Add MSM8960/APQ8064 LPASS clock controller (LCC) driver

2015-01-27 Thread Mike Turquette
Quoting Stephen Boyd (2015-01-19 18:05:34) > Add an LCC driver for MSM8960/APQ8064 that supports the i2s, > slimbus, and pcm clocks. > > Change-Id: I2549b821f7bf467c1bd80d4827a1a7621e725659 Removed above line while applying. Regards, Mike > Signed-off-by: Stephen Boyd > --- >

Re: [PATCH v3 0/8] qcom audio clock control drivers

2015-01-27 Thread Mike Turquette
Quoting Ken Westfield (2015-01-22 13:41:22) > On Mon, Jan 19, 2015 at 06:05:27PM -0800, Stephen Boyd wrote: > > This patchset adds support for the low power audio subsystem (LPASS) > > clock controller hardware. I split out the #define patch for IPQ so that > > it can go through the clock tree and

Re: [PATCH v3 6/8] clk: qcom: Add IPQ806X LPASS clock controller (LCC) driver

2015-01-27 Thread Mike Turquette
Quoting Stephen Boyd (2015-01-19 18:05:33) > From: Rajendra Nayak > > Add an LCC driver for IPQ806x that supports the i2s, S/PDIF, and > pcm clocks. > > Signed-off-by: Rajendra Nayak > Signed-off-by: Kumar Gala > Signed-off-by: Josh Cartwright > [sb...@codeaurora.org: Reworded commit text,

Re: [PATCH] clk: Fix debugfs clk removal before inited

2015-01-27 Thread Mike Turquette
Quoting Stephen Boyd (2015-01-19 11:44:35) > On 01/19/2015 01:57 AM, Srinivas Kandagatla wrote: > > Some of the clks can be registered & unregistered before the clk related > > debugfs > > entries are initialized at late_initcall. In the unregister path checking > > for only > > dentry before

Re: [git pull] clk/shmobile updates for v3.20

2015-01-27 Thread Mike Turquette
Quoting Geert Uytterhoeven (2015-01-19 08:29:45) > Hi Mike, > > The following changes since commit 97bf6af1f928216fd6c5a66e8a57bfa95a659672: > > Linux 3.19-rc1 (2014-12-20 17:08:50 -0800) > > are available in the git repository at: > >

Re: [PATCH] clk: Fix debugfs clk removal before inited

2015-01-27 Thread Mike Turquette
Quoting Stephen Boyd (2015-01-19 11:44:35) On 01/19/2015 01:57 AM, Srinivas Kandagatla wrote: Some of the clks can be registered unregistered before the clk related debugfs entries are initialized at late_initcall. In the unregister path checking for only dentry before

Re: [PATCH] clk: ux500: Drop use of clk-private.h

2015-01-27 Thread Mike Turquette
Quoting Ulf Hansson (2015-01-22 23:36:28) On 22 January 2015 at 20:34, Stephen Boyd sb...@codeaurora.org wrote: These drivers don't need to include clk-private.h. Remove the include. Cc: Ulf Hansson ulf.hans...@linaro.org Cc: Linus Walleij linus.wall...@linaro.org Signed-off-by:

Re: [PATCH v3 6/8] clk: qcom: Add IPQ806X LPASS clock controller (LCC) driver

2015-01-27 Thread Mike Turquette
Quoting Stephen Boyd (2015-01-19 18:05:33) From: Rajendra Nayak rna...@codeaurora.org Add an LCC driver for IPQ806x that supports the i2s, S/PDIF, and pcm clocks. Signed-off-by: Rajendra Nayak rna...@codeaurora.org Signed-off-by: Kumar Gala ga...@codeaurora.org Signed-off-by: Josh

Re: [PATCH] clk: ti: Drop use of clk-private.h

2015-01-27 Thread Mike Turquette
Quoting Paul Walmsley (2015-01-23 02:35:07) On Thu, 22 Jan 2015, Stephen Boyd wrote: These modules don't need to include clk-private.h. Replace the include with clk.h because these modules are clock consumers and also include clk-provider.h in clk/ti.h because struct clk_hw_omap has a

Re: [PATCH v3 7/8] clk: qcom: Add MSM8960/APQ8064 LPASS clock controller (LCC) driver

2015-01-27 Thread Mike Turquette
Quoting Stephen Boyd (2015-01-19 18:05:34) Add an LCC driver for MSM8960/APQ8064 that supports the i2s, slimbus, and pcm clocks. Change-Id: I2549b821f7bf467c1bd80d4827a1a7621e725659 Removed above line while applying. Regards, Mike Signed-off-by: Stephen Boyd sb...@codeaurora.org ---

Re: [PATCH v3 0/8] qcom audio clock control drivers

2015-01-27 Thread Mike Turquette
Quoting Ken Westfield (2015-01-22 13:41:22) On Mon, Jan 19, 2015 at 06:05:27PM -0800, Stephen Boyd wrote: This patchset adds support for the low power audio subsystem (LPASS) clock controller hardware. I split out the #define patch for IPQ so that it can go through the clock tree and the

Re: [PATCH v2] clk: zynq: Force CPU_2X clock to be ungated

2015-01-27 Thread Mike Turquette
Quoting Soren Brinkmann (2015-01-27 11:05:27) The CPU_2X clock does not have a classical in-kernel user, but is, amongst other things, required for OCM and debug access. Make sure this clock is not mistakenly disabled during boot up by enabling it in the platform's clock driver. Cc:

Re: [PATCH V2] clk: mxs: Fix invalid 32-bit access to frac registers

2015-01-27 Thread Mike Turquette
Quoting Marek Vasut (2015-01-21 15:39:01) On Wednesday, January 21, 2015 at 05:16:03 PM, Zhi Li wrote: On Sun, Dec 28, 2014 at 4:26 AM, Stefan Wahren stefan.wah...@i2se.com wrote: According to i.MX23 and i.MX28 reference manual the fractional clock control registers must be addressed

Re: [PATCH 4/4] clk: dt: st: Introduce clock domain documentation

2015-01-27 Thread Mike Turquette
Quoting Lee Jones (2015-01-26 03:14:00) Signed-off-by: Lee Jones lee.jo...@linaro.org --- .../devicetree/bindings/clock/st/st,clk-domain.txt | 34 ++ 1 file changed, 34 insertions(+) create mode 100644 Documentation/devicetree/bindings/clock/st/st,clk-domain.txt

Re: [git pull] clk/shmobile updates for v3.20

2015-01-27 Thread Mike Turquette
Quoting Geert Uytterhoeven (2015-01-19 08:29:45) Hi Mike, The following changes since commit 97bf6af1f928216fd6c5a66e8a57bfa95a659672: Linux 3.19-rc1 (2014-12-20 17:08:50 -0800) are available in the git repository at:

Re: [PATCH] clk: Export phase functions

2015-01-27 Thread Mike Turquette
Quoting Stephen Boyd (2015-01-20 15:33:42) On 01/20/2015 01:23 PM, Maxime Ripard wrote: The phase setter and getter were not exported until now, which was causing build breakages when callers were compiled as module. Export these two functions. Reported-by: Arnd Bergmann a...@arndb.de

Re: [PATCH v2] clk: Introduce clk_has_parent()

2015-01-24 Thread Mike Turquette
ific use-case for this is atomic > > > > > modesetting in the DRM framework where setting a mode is divided into > > > > > a > > > > > check phase where a given configuration is validated before applying > > > > > changes to the hardware. > &

Re: [PATCH v2] clk: Introduce clk_has_parent()

2015-01-24 Thread Mike Turquette
...@arm.linux.org.uk Cc: Mike Turquette mturque...@linaro.org Cc: Stephen Boyd sb...@codeaurora.org Signed-off-by: Thierry Reding tred...@nvidia.com --- Reviewed-by: Stephen Boyd sb...@codeaurora.org This will slightly conflict with Tomeu's patches for per-user

Re: [PATCH v2] ARM: clk: add clk-asm9260 driver

2015-01-20 Thread Mike Turquette
Quoting Oleksij Rempel (2015-01-20 01:23:02) > Provide CLK support for Alphascale ASM9260 SoC. > > Signed-off-by: Oleksij Rempel Applied to clk-next. Regards, Mike > --- > drivers/clk/Makefile | 1 + > drivers/clk/clk-asm9260.c | 348 >

Re: [PATCH 01/36] clk: Introduce clk_try_parent()

2015-01-20 Thread Mike Turquette
changes to the hardware. Can you describe why this was needed for your atomic modesetting work? What problem did you hit in the driver that required this new check? Thanks, Mike > > Cc: Russell King > Cc: Mike Turquette > Cc: Stephen Boyd > Signed-off-by: T

Re: [PATCH 1/2] clk: exynos5420: Add IDs for clocks used in DISP1 power domain

2015-01-20 Thread Mike Turquette
Quoting Sylwester Nawrocki (2015-01-20 06:04:00) > Hi, > > On 20/01/15 11:35, Javier Martinez Canillas wrote: > > When a power domain is powered off on Exynos5420 SoC, the input clocks of > > the devices attached to this power domain are re-parented to oscclk and > > restored to the original

Re: [PATCH 1/4] clk: st: STiH410: Fix pdiv and fdiv divisor when setting rate

2015-01-20 Thread Mike Turquette
Quoting Peter Griffin (2015-01-20 07:32:41) > Debugging eMMC on upstream kernels it has been noticed that when the > targetpack configures MMC0 clock to 200Mhz (required to switch to > HS200) then everything works OK. However if the kernel sets the > clock rate using clk_set_rate, then the eMMC

Re: [PATCH v3 1/1] mfd: intel_quark_i2c_gpio: Add Intel Quark X1000 I2C-GPIO MFD Driver

2015-01-20 Thread Mike Turquette
Quoting Lee Jones (2015-01-20 04:47:46) > On Thu, 11 Dec 2014, Raymond Tan wrote: > > + CLK_IS_ROOT, INTEL_QUARK_I2C_CLK_HZ); > > + > > + quark_mfd->i2c_clk_lookup = i2c_clk_lookup; > > + quark_mfd->i2c_clk = i2c_clk; > > + > > + retval = clk_register_clkdevs(i2c_clk,

RE: [PATCH v3 1/1] mfd: intel_quark_i2c_gpio: Add Intel Quark X1000 I2C-GPIO MFD Driver

2015-01-20 Thread Mike Turquette
Quoting Tan, Raymond (2014-12-21 18:33:42) > Hi Mike, > > Thanks for your reply. I've answered the questions as below. > > Warm Regards, > > Raymond Tan > > > -Original Message- > > From: Mike Turquette [mailto:mturque...@linaro.org] > &g

RE: [PATCH v3 1/1] mfd: intel_quark_i2c_gpio: Add Intel Quark X1000 I2C-GPIO MFD Driver

2015-01-20 Thread Mike Turquette
Quoting Tan, Raymond (2014-12-21 18:33:42) Hi Mike, Thanks for your reply. I've answered the questions as below. Warm Regards, Raymond Tan -Original Message- From: Mike Turquette [mailto:mturque...@linaro.org] Sent: Friday, December 12, 2014 6:26 AM To: Tan, Raymond

Re: [PATCH v3 1/1] mfd: intel_quark_i2c_gpio: Add Intel Quark X1000 I2C-GPIO MFD Driver

2015-01-20 Thread Mike Turquette
Quoting Lee Jones (2015-01-20 04:47:46) On Thu, 11 Dec 2014, Raymond Tan wrote: + CLK_IS_ROOT, INTEL_QUARK_I2C_CLK_HZ); + + quark_mfd-i2c_clk_lookup = i2c_clk_lookup; + quark_mfd-i2c_clk = i2c_clk; + + retval = clk_register_clkdevs(i2c_clk, i2c_clk_lookup, +

Re: [PATCH v2] ARM: clk: add clk-asm9260 driver

2015-01-20 Thread Mike Turquette
Quoting Oleksij Rempel (2015-01-20 01:23:02) Provide CLK support for Alphascale ASM9260 SoC. Signed-off-by: Oleksij Rempel li...@rempel-privat.de Applied to clk-next. Regards, Mike --- drivers/clk/Makefile | 1 + drivers/clk/clk-asm9260.c

Re: [PATCH 1/4] clk: st: STiH410: Fix pdiv and fdiv divisor when setting rate

2015-01-20 Thread Mike Turquette
Quoting Peter Griffin (2015-01-20 07:32:41) Debugging eMMC on upstream kernels it has been noticed that when the targetpack configures MMC0 clock to 200Mhz (required to switch to HS200) then everything works OK. However if the kernel sets the clock rate using clk_set_rate, then the eMMC card

Re: [PATCH 1/2] clk: exynos5420: Add IDs for clocks used in DISP1 power domain

2015-01-20 Thread Mike Turquette
Quoting Sylwester Nawrocki (2015-01-20 06:04:00) Hi, On 20/01/15 11:35, Javier Martinez Canillas wrote: When a power domain is powered off on Exynos5420 SoC, the input clocks of the devices attached to this power domain are re-parented to oscclk and restored to the original parent after

Re: [PATCH 01/36] clk: Introduce clk_try_parent()

2015-01-20 Thread Mike Turquette
describe why this was needed for your atomic modesetting work? What problem did you hit in the driver that required this new check? Thanks, Mike Cc: Russell King li...@arm.linux.org.uk Cc: Mike Turquette mturque...@linaro.org Cc: Stephen Boyd sb...@codeaurora.org Signed-off-by: Thierry

Re: [PATCH] ARM: clk: add clk-asm9260 driver

2015-01-19 Thread Mike Turquette
Quoting Oleksij Rempel (2015-01-15 01:45:32) > Am 15.01.2015 um 00:02 schrieb Mike Turquette: > > Quoting Oleksij Rempel (2015-01-08 00:59:27) > >> diff --git a/drivers/clk/clk-asm9260.c b/drivers/clk/clk-asm9260.c > >> new file mode 100644 > >> index 000..6

Re: [PATCH 0/2] Minimal FAPLL clock support for dm816x

2015-01-19 Thread Mike Turquette
Quoting Mike Turquette (2015-01-14 14:06:49) > Quoting Tony Lindgren (2015-01-13 14:51:26) > > Hi all, > > > > Here's a minimal support for the FAPLL (Flying Adder PLL) on dm816x > > which is a omap variant. > > Tony, > > Patches look fine to me. I

Re: [PATCH v3 2/4] clk: mediatek: Add initial common clock support for Mediatek SoCs.

2015-01-19 Thread Mike Turquette
Quoting James Liao (2015-01-07 18:55:01) > Hi Matthias, > > On Wed, 2015-01-07 at 18:22 +0100, Matthias Brugger wrote: > > 2015-01-07 4:25 GMT+01:00 James Liao : > > > + > > > +static void cg_set_mask(struct mtk_clk_gate *cg, u32 mask) > > > > Please add mtk_ prefix to all functions generic for

Re: [PATCH 2/2] cpufreq: add cpufreq driver for Mediatek MT8173 SoC

2015-01-19 Thread Mike Turquette
Quoting pi-cheng.chen (2015-01-09 01:54:51) > diff --git a/drivers/cpufreq/mt8173-cpufreq.c > b/drivers/cpufreq/mt8173-cpufreq.c > new file mode 100644 > index 000..b578c10 > --- /dev/null > +++ b/drivers/cpufreq/mt8173-cpufreq.c > @@ -0,0 +1,459 @@ Hello Pi-Cheng, > +#include >

Re: [PATCH 2/2] cpufreq: add cpufreq driver for Mediatek MT8173 SoC

2015-01-19 Thread Mike Turquette
Quoting pi-cheng.chen (2015-01-09 01:54:51) diff --git a/drivers/cpufreq/mt8173-cpufreq.c b/drivers/cpufreq/mt8173-cpufreq.c new file mode 100644 index 000..b578c10 --- /dev/null +++ b/drivers/cpufreq/mt8173-cpufreq.c @@ -0,0 +1,459 @@ Hello Pi-Cheng, snip +#include linux/module.h

Re: [PATCH 0/2] Minimal FAPLL clock support for dm816x

2015-01-19 Thread Mike Turquette
Quoting Mike Turquette (2015-01-14 14:06:49) Quoting Tony Lindgren (2015-01-13 14:51:26) Hi all, Here's a minimal support for the FAPLL (Flying Adder PLL) on dm816x which is a omap variant. Tony, Patches look fine to me. I'll give it a few days for Paul or Tero to comment

Re: [PATCH v3 2/4] clk: mediatek: Add initial common clock support for Mediatek SoCs.

2015-01-19 Thread Mike Turquette
Quoting James Liao (2015-01-07 18:55:01) Hi Matthias, On Wed, 2015-01-07 at 18:22 +0100, Matthias Brugger wrote: 2015-01-07 4:25 GMT+01:00 James Liao jamesjj.l...@mediatek.com: + +static void cg_set_mask(struct mtk_clk_gate *cg, u32 mask) Please add mtk_ prefix to all functions

Re: [PATCH] ARM: clk: add clk-asm9260 driver

2015-01-19 Thread Mike Turquette
Quoting Oleksij Rempel (2015-01-15 01:45:32) Am 15.01.2015 um 00:02 schrieb Mike Turquette: Quoting Oleksij Rempel (2015-01-08 00:59:27) diff --git a/drivers/clk/clk-asm9260.c b/drivers/clk/clk-asm9260.c new file mode 100644 index 000..6b1c220 --- /dev/null +++ b/drivers/clk/clk

Re: [RFC 0/3] mmc: Add dynamic frequency scaling

2015-01-17 Thread Mike Turquette
Quoting Ulf Hansson (2015-01-15 02:04:04) > On 15 January 2015 at 10:20, Krzysztof Kozlowski > wrote: > > On czw, 2015-01-15 at 09:20 +0100, Ulf Hansson wrote: > >> + Mike, Stephen (Clock maintainers) > >> > >> On 12 January 2015 at 10:23, Krzysztof Kozlowski > >> wrote: > >> > Hi, > >> > > >> >

[GIT PULL] clk: fixes for 3.19

2015-01-17 Thread Mike Turquette
The following changes since commit 97bf6af1f928216fd6c5a66e8a57bfa95a659672: Linux 3.19-rc1 (2014-12-20 17:08:50 -0800) are available in the git repository at: https://git.linaro.org/people/mike.turquette/linux.git tags/clk-fixes-for-linus for you to fetch changes up to

Re: [PATCH] clk: Fix __GFP_FS allocation with irqs disabled

2015-01-17 Thread Mike Turquette
Quoting Stephen Boyd (2014-12-22 11:26:42) > On 12/22/2014 10:38 AM, Stephen Boyd wrote: > > On 12/22/2014 03:45 AM, Krzysztof Kozlowski wrote: > > > >> diff --git a/drivers/clk/clk.c b/drivers/clk/clk.c > >> index f4963b7d4e17..35079302a650 100644 > >> --- a/drivers/clk/clk.c > >> +++

Re: [PATCH] clk-gate: fix bit # check in clk_register_gate()

2015-01-17 Thread Mike Turquette
Quoting Sergei Shtylyov (2014-12-24 06:43:27) > In case CLK_GATE_HIWORD_MASK flag is passed to clk_register_gate(), the bit # > should be no higher than 15, however the corresponding check is obviously off- > by-one. > > Fixes: 045779942c04 ("clk: gate: add CLK_GATE_HIWORD_MASK") > Signed-off-by:

Re: [PATCH] clk: fix possible null pointer dereference

2015-01-17 Thread Mike Turquette
Quoting Stephen Boyd (2015-01-05 11:34:32) > On 01/05/2015 08:04 AM, Stanimir Varbanov wrote: > > The commit 646cafc6 (clk: Change clk_ops->determine_rate to > > return a clk_hw as the best parent) opens a possibility for > > null pointer dereference, fix this. > > > > Signed-off-by: Stanimir

[GIT PULL] clk: fixes for 3.19

2015-01-17 Thread Mike Turquette
The following changes since commit 97bf6af1f928216fd6c5a66e8a57bfa95a659672: Linux 3.19-rc1 (2014-12-20 17:08:50 -0800) are available in the git repository at: https://git.linaro.org/people/mike.turquette/linux.git tags/clk-fixes-for-linus for you to fetch changes up to

Re: [PATCH] clk-gate: fix bit # check in clk_register_gate()

2015-01-17 Thread Mike Turquette
Quoting Sergei Shtylyov (2014-12-24 06:43:27) In case CLK_GATE_HIWORD_MASK flag is passed to clk_register_gate(), the bit # should be no higher than 15, however the corresponding check is obviously off- by-one. Fixes: 045779942c04 (clk: gate: add CLK_GATE_HIWORD_MASK) Signed-off-by: Sergei

Re: [PATCH] clk: Fix __GFP_FS allocation with irqs disabled

2015-01-17 Thread Mike Turquette
Quoting Stephen Boyd (2014-12-22 11:26:42) On 12/22/2014 10:38 AM, Stephen Boyd wrote: On 12/22/2014 03:45 AM, Krzysztof Kozlowski wrote: diff --git a/drivers/clk/clk.c b/drivers/clk/clk.c index f4963b7d4e17..35079302a650 100644 --- a/drivers/clk/clk.c +++ b/drivers/clk/clk.c @@

Re: [RFC 0/3] mmc: Add dynamic frequency scaling

2015-01-17 Thread Mike Turquette
Quoting Ulf Hansson (2015-01-15 02:04:04) On 15 January 2015 at 10:20, Krzysztof Kozlowski k.kozlow...@samsung.com wrote: On czw, 2015-01-15 at 09:20 +0100, Ulf Hansson wrote: + Mike, Stephen (Clock maintainers) On 12 January 2015 at 10:23, Krzysztof Kozlowski k.kozlow...@samsung.com

Re: [PATCH] clk: fix possible null pointer dereference

2015-01-17 Thread Mike Turquette
Quoting Stephen Boyd (2015-01-05 11:34:32) On 01/05/2015 08:04 AM, Stanimir Varbanov wrote: The commit 646cafc6 (clk: Change clk_ops-determine_rate to return a clk_hw as the best parent) opens a possibility for null pointer dereference, fix this. Signed-off-by: Stanimir Varbanov

Re: [PATCH] ARM: clk: add clk-asm9260 driver

2015-01-14 Thread Mike Turquette
Quoting Oleksij Rempel (2015-01-08 00:59:27) > diff --git a/drivers/clk/clk-asm9260.c b/drivers/clk/clk-asm9260.c > new file mode 100644 > index 000..6b1c220 > --- /dev/null > +++ b/drivers/clk/clk-asm9260.c > +static const char *clk_names[] = { > + [REFCLK]= "oscillator", > +

Re: [PATCH 2/2] clk: exynos-audss: Fix memory leak on driver unbind or probe failure

2015-01-14 Thread Mike Turquette
Quoting Stephen Boyd (2015-01-08 13:23:13) > On 01/05/2015 01:52 AM, Krzysztof Kozlowski wrote: > > The memory allocated by basic clock divider/gate/mux (struct clk_gate, > > clk_divider and clk_mux) was leaking. During driver unbind or probe > > failure the driver only unregistered the clocks. >

Re: [RFC PATCH 0/2] clk: rockchip: leave npll for DCLK_VOP0(HDMI) only

2015-01-14 Thread Mike Turquette
Quoting Heiko Stübner (2015-01-08 14:30:01) > Hi Kever, > > Am Montag, 17. November 2014, 22:55:36 schrieb Kever Yang: > > To support all kinds of frequency requirement for HDMI on rk3288, > > we need a PLL that can change rate at run time. > > > > There are some discussion before at [0], I

Re: [PATCH 0/2] Minimal FAPLL clock support for dm816x

2015-01-14 Thread Mike Turquette
Quoting Tony Lindgren (2015-01-13 14:51:26) > Hi all, > > Here's a minimal support for the FAPLL (Flying Adder PLL) on dm816x > which is a omap variant. Tony, Patches look fine to me. I'll give it a few days for Paul or Tero to comment if they have any concerns. Also, "flying adder pll" is a

Re: MAINTAINERS: clk framework git tree moved to kernel.org

2015-01-14 Thread Mike Turquette
INTAINERS b/MAINTAINERS >> index 46d652f..9244992 100644 >> --- a/MAINTAINERS >> +++ b/MAINTAINERS >> @@ -2493,7 +2493,7 @@ COMMON CLK FRAMEWORK >> M: Mike Turquette >> M: Stephen Boyd >> L: linux-kernel@vger.kernel.org >> -T: git git://g

Re: [PATCH 0/2] Minimal FAPLL clock support for dm816x

2015-01-14 Thread Mike Turquette
Quoting Tony Lindgren (2015-01-13 14:51:26) Hi all, Here's a minimal support for the FAPLL (Flying Adder PLL) on dm816x which is a omap variant. Tony, Patches look fine to me. I'll give it a few days for Paul or Tero to comment if they have any concerns. Also, flying adder pll is a pretty

Re: [PATCH 2/2] clk: exynos-audss: Fix memory leak on driver unbind or probe failure

2015-01-14 Thread Mike Turquette
Quoting Stephen Boyd (2015-01-08 13:23:13) On 01/05/2015 01:52 AM, Krzysztof Kozlowski wrote: The memory allocated by basic clock divider/gate/mux (struct clk_gate, clk_divider and clk_mux) was leaking. During driver unbind or probe failure the driver only unregistered the clocks. Use

Re: [PATCH] ARM: clk: add clk-asm9260 driver

2015-01-14 Thread Mike Turquette
Quoting Oleksij Rempel (2015-01-08 00:59:27) diff --git a/drivers/clk/clk-asm9260.c b/drivers/clk/clk-asm9260.c new file mode 100644 index 000..6b1c220 --- /dev/null +++ b/drivers/clk/clk-asm9260.c snip +static const char *clk_names[] = { + [REFCLK]= oscillator, +

Re: [RFC PATCH 0/2] clk: rockchip: leave npll for DCLK_VOP0(HDMI) only

2015-01-14 Thread Mike Turquette
Quoting Heiko Stübner (2015-01-08 14:30:01) Hi Kever, Am Montag, 17. November 2014, 22:55:36 schrieb Kever Yang: To support all kinds of frequency requirement for HDMI on rk3288, we need a PLL that can change rate at run time. There are some discussion before at [0], I think we can

Re: MAINTAINERS: clk framework git tree moved to kernel.org

2015-01-14 Thread Mike Turquette
--- a/MAINTAINERS +++ b/MAINTAINERS @@ -2493,7 +2493,7 @@ COMMON CLK FRAMEWORK M: Mike Turquette mturque...@linaro.org M: Stephen Boyd sb...@codeaurora.org L: linux-kernel@vger.kernel.org -T: git git://git.linaro.org/people/mturquette/linux.git +T: git git

Re: [PATCH 3/3] clk: berlin: bg2q: remove non-exist "smemc" gate clock

2015-01-13 Thread Mike Turquette
Quoting Sebastian Hesselbarth (2015-01-13 04:17:30) > On 01/13/2015 01:28 AM, Mike Turquette wrote: > > Quoting Sebastian Hesselbarth (2015-01-10 05:08:22) > >> This is clk subsystem, so either Mike takes it through his fixes branch > >> including my > >>

Re: [RFC 08/15] clk: add restrack support

2015-01-13 Thread Mike Turquette
+Stephen Boyd Quoting Andrzej Hajda (2014-12-10 07:48:26) > Clocks supports different methods of lookup. > The patch adds restrack support only to DT based clocks. > > Signed-off-by: Andrzej Hajda > --- > drivers/clk/clk.c| 6 > drivers/clk/clkdev.c | 74 >

Re: [RFC 07/15] clk: add DT parsing function

2015-01-13 Thread Mike Turquette
+Stephen Boyd Quoting Andrzej Hajda (2014-12-10 07:48:25) > The patch adds function for parsing Device Tree to get > clock specifier. The function could be ultimately used > by clock core. > > Signed-off-by: Andrzej Hajda > --- > drivers/clk/clkdev.c | 23 +++ > 1 file

Re: [PATCH v2] clk: at91: keep slow clk enabled to prevent system hang

2015-01-13 Thread Mike Turquette
Quoting Boris Brezillon (2015-01-13 06:44:06) > All slow clk users are not properly claiming it (get + prepare + enable) > before using it. > If all users properly claiming this clock release it, the clock is > disabled, but faulty users still depends on it, and the system hangs. > > This fix

Re: [RFC 08/15] clk: add restrack support

2015-01-13 Thread Mike Turquette
+Stephen Boyd Quoting Andrzej Hajda (2014-12-10 07:48:26) Clocks supports different methods of lookup. The patch adds restrack support only to DT based clocks. Signed-off-by: Andrzej Hajda a.ha...@samsung.com --- drivers/clk/clk.c| 6 drivers/clk/clkdev.c | 74

Re: [RFC 07/15] clk: add DT parsing function

2015-01-13 Thread Mike Turquette
+Stephen Boyd Quoting Andrzej Hajda (2014-12-10 07:48:25) The patch adds function for parsing Device Tree to get clock specifier. The function could be ultimately used by clock core. Signed-off-by: Andrzej Hajda a.ha...@samsung.com --- drivers/clk/clkdev.c | 23 +++

Re: [PATCH v2] clk: at91: keep slow clk enabled to prevent system hang

2015-01-13 Thread Mike Turquette
Quoting Boris Brezillon (2015-01-13 06:44:06) All slow clk users are not properly claiming it (get + prepare + enable) before using it. If all users properly claiming this clock release it, the clock is disabled, but faulty users still depends on it, and the system hangs. This fix prevents

Re: [PATCH 3/3] clk: berlin: bg2q: remove non-exist smemc gate clock

2015-01-13 Thread Mike Turquette
Quoting Sebastian Hesselbarth (2015-01-13 04:17:30) On 01/13/2015 01:28 AM, Mike Turquette wrote: Quoting Sebastian Hesselbarth (2015-01-10 05:08:22) This is clk subsystem, so either Mike takes it through his fixes branch including my Acked-by: Sebastian Hesselbarth sebastian.hesselba

Re: [PATCH 3/3] clk: berlin: bg2q: remove non-exist "smemc" gate clock

2015-01-12 Thread Mike Turquette
Quoting Sebastian Hesselbarth (2015-01-10 05:08:22) > On 09.01.2015 13:13, Jisheng Zhang wrote: > > On Wed, 7 Jan 2015 06:30:55 -0800 > > Sebastian Hesselbarth wrote: > >> On 07.01.2015 15:22, Jisheng Zhang wrote: > >>> On Wed, 7 Jan 2015 06:11:58 -0800 > >>> Sebastian Hesselbarth wrote: >

Re: [PATCH v2] clk: TI CDCE706 clock synthesizer driver

2015-01-12 Thread Mike Turquette
Quoting Max Filippov (2015-01-11 23:20:46) > The driver allows using CDCE706 in its default configuration recorded in > EEPROM and adjusting of synthesized clocks by consumers. > > Signed-off-by: Max Filippov Applied. Regards, Mike > --- > Changes v1->v2: > - add example usage to devicetree

Re: [PATCH 4/4] clk: pxa: add missing pxa27x clocks for Irda and sa1100-rtc

2015-01-12 Thread Mike Turquette
Quoting Robert Jarzmik (2014-12-27 05:55:28) > Add 2 clocks which were erronously forgotten by the clock framework > port, namely : > - sa1100-rtc > - irda for pxa2xx-ir:UARTCLK > > Signed-off-by: Robert Jarzmik Acked-by: Michael Turquette > --- > drivers/clk/pxa/clk-pxa27x.c | 29

Re: [PATCH 3/4] arm: pxa: move gpio11 clock to board files

2015-01-12 Thread Mike Turquette
Quoting Robert Jarzmik (2014-12-27 05:55:27) > The pxa25x gpio11 clock output was previously selected on its pin by the > clock enabling, toggling the pin function. > > As we transition to common clock framework, the pin function is moved to > board file for the 2 users, ie. lubbock and eseries.

Re: [PATCH 2/4] arm: pxa: Transition pxa25x and pxa27x to clk framework

2015-01-12 Thread Mike Turquette
Quoting Robert Jarzmik (2014-12-27 05:55:26) > Transition the PXA25x and PXA27x CPUs to the clock framework. > This transition still enables legacy platforms to run without device > tree as before, ie relying on platform data encoded in board specific > files. > > The transition breaks the

Re: [PATCH 1/4] arm: pxa: change clocks init sequence

2015-01-12 Thread Mike Turquette
Quoting Robert Jarzmik (2014-12-27 05:55:25) > Since pxa clocks were ported to the clock framework, an ordering issue > appears between clocks and clocksource initialization. As a consequence, > the pxa timer clock cannot be acquired in pxa_timer, and is disabled by > clock framework because it is

Re: [PATCH 6/6] ARM: at91: move at91rm9200_idle() to clk/at91/pmc.c

2015-01-12 Thread Mike Turquette
Quoting Alexandre Belloni (2015-01-12 13:23:45) > Move at91rm9200_idle() along with at91sam9_idle() in clk/at91/pmc.c. > > Signed-off-by: Alexandre Belloni > --- > Cc: Mike Turquette Acked-by: Michael Turquette > > Mike, Boris, > I guess that one can go through the a

Re: [PATCH 6/6] ARM: at91: move at91rm9200_idle() to clk/at91/pmc.c

2015-01-12 Thread Mike Turquette
Quoting Alexandre Belloni (2015-01-12 13:23:45) Move at91rm9200_idle() along with at91sam9_idle() in clk/at91/pmc.c. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- Cc: Mike Turquette mturque...@linaro.org Acked-by: Michael Turquette mturque...@linaro.org Mike

Re: [PATCH 3/4] arm: pxa: move gpio11 clock to board files

2015-01-12 Thread Mike Turquette
Quoting Robert Jarzmik (2014-12-27 05:55:27) The pxa25x gpio11 clock output was previously selected on its pin by the clock enabling, toggling the pin function. As we transition to common clock framework, the pin function is moved to board file for the 2 users, ie. lubbock and eseries.

Re: [PATCH 4/4] clk: pxa: add missing pxa27x clocks for Irda and sa1100-rtc

2015-01-12 Thread Mike Turquette
Quoting Robert Jarzmik (2014-12-27 05:55:28) Add 2 clocks which were erronously forgotten by the clock framework port, namely : - sa1100-rtc - irda for pxa2xx-ir:UARTCLK Signed-off-by: Robert Jarzmik robert.jarz...@free.fr Acked-by: Michael Turquette mturque...@linaro.org ---

Re: [PATCH 3/3] clk: berlin: bg2q: remove non-exist smemc gate clock

2015-01-12 Thread Mike Turquette
Quoting Sebastian Hesselbarth (2015-01-10 05:08:22) On 09.01.2015 13:13, Jisheng Zhang wrote: On Wed, 7 Jan 2015 06:30:55 -0800 Sebastian Hesselbarth sebastian.hesselba...@gmail.com wrote: On 07.01.2015 15:22, Jisheng Zhang wrote: On Wed, 7 Jan 2015 06:11:58 -0800 Sebastian Hesselbarth

Re: [PATCH 1/4] arm: pxa: change clocks init sequence

2015-01-12 Thread Mike Turquette
Quoting Robert Jarzmik (2014-12-27 05:55:25) Since pxa clocks were ported to the clock framework, an ordering issue appears between clocks and clocksource initialization. As a consequence, the pxa timer clock cannot be acquired in pxa_timer, and is disabled by clock framework because it is

Re: [PATCH v2] clk: TI CDCE706 clock synthesizer driver

2015-01-12 Thread Mike Turquette
Quoting Max Filippov (2015-01-11 23:20:46) The driver allows using CDCE706 in its default configuration recorded in EEPROM and adjusting of synthesized clocks by consumers. Signed-off-by: Max Filippov jcmvb...@gmail.com Applied. Regards, Mike --- Changes v1-v2: - add example usage to

Re: [PATCH 2/4] arm: pxa: Transition pxa25x and pxa27x to clk framework

2015-01-12 Thread Mike Turquette
Quoting Robert Jarzmik (2014-12-27 05:55:26) Transition the PXA25x and PXA27x CPUs to the clock framework. This transition still enables legacy platforms to run without device tree as before, ie relying on platform data encoded in board specific files. The transition breaks the previous

Re: [PATCH v2] Add TI CDCE925 I2C controlled clock synthesizer driver

2015-01-11 Thread Mike Turquette
On Thu, Jan 8, 2015 at 11:01 PM, Mike Looijmans wrote: > Just a ping to inform if you've had had time to look at this? Its in the queue for review this week. A lot to catch up on after the holidays. Thanks for the ping. Regards, Mike > > Mike. > > On 12/04/2014 08:26 AM, Mike Looijmans wrote:

Re: [PATCH v2] Add TI CDCE925 I2C controlled clock synthesizer driver

2015-01-11 Thread Mike Turquette
On Thu, Jan 8, 2015 at 11:01 PM, Mike Looijmans mike.looijm...@topic.nl wrote: Just a ping to inform if you've had had time to look at this? Its in the queue for review this week. A lot to catch up on after the holidays. Thanks for the ping. Regards, Mike Mike. On 12/04/2014 08:26 AM, Mike

[GIT PULL] clk: changes for 3.19

2014-12-20 Thread Mike Turquette
The following changes since commit 206c5f60a3d902bc4b56dab2de3e88de5eb06108: Linux 3.18-rc4 (2014-11-09 14:55:29 -0800) are available in the git repository at: https://git.linaro.org/people/mike.turquette/linux.git tags/clk-for-linus-3.19 for you to fetch changes up to

[GIT PULL] clk: changes for 3.19

2014-12-20 Thread Mike Turquette
The following changes since commit 206c5f60a3d902bc4b56dab2de3e88de5eb06108: Linux 3.18-rc4 (2014-11-09 14:55:29 -0800) are available in the git repository at: https://git.linaro.org/people/mike.turquette/linux.git tags/clk-for-linus-3.19 for you to fetch changes up to

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