Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1466073 > unrolled thread

Re: [PATCH] amba: Support clk parents and rates assigned in DT

Started byJorge Ramirez <jorge.ramirez-ortiz@linaro.org>
First post2016-08-19 09:00 +0200
Last post2016-08-19 10:00 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH] amba: Support clk parents and rates assigned in DT Jorge Ramirez <jorge.ramirez-ortiz@linaro.org> - 2016-08-19 09:00 +0200
    Re: [PATCH] amba: Support clk parents and rates assigned in DT Russell King - ARM Linux <linux@armlinux.org.uk> - 2016-08-19 10:00 +0200

#1466073 — Re: [PATCH] amba: Support clk parents and rates assigned in DT

FromJorge Ramirez <jorge.ramirez-ortiz@linaro.org>
Date2016-08-19 09:00 +0200
SubjectRe: [PATCH] amba: Support clk parents and rates assigned in DT
Message-ID<s7LWy-2b5-23@gated-at.bofh.it>
On 07/11/2016 11:08 PM, Stephen Boyd wrote:
> Add the call to of_clk_set_defaults() into the amba probe path so
> that devices on the amba bus can use the assigned rates and
> parents feature of the common clock framework.
>
> Cc: Michael Turquette <mturquette@baylibre.com>
> Cc: Jorge Ramirez Ortiz <jorge.ramirez-ortiz@linaro.org>
> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
> ---
>   drivers/amba/bus.c | 5 +++++
>   1 file changed, 5 insertions(+)
>
> diff --git a/drivers/amba/bus.c b/drivers/amba/bus.c
> index a5b5c87e2114..a56fa2a1e9aa 100644
> --- a/drivers/amba/bus.c
> +++ b/drivers/amba/bus.c
> @@ -19,6 +19,7 @@
>   #include <linux/amba/bus.h>
>   #include <linux/sizes.h>
>   #include <linux/limits.h>
> +#include <linux/clk/clk-conf.h>
>   
>   #include <asm/irq.h>
>   
> @@ -237,6 +238,10 @@ static int amba_probe(struct device *dev)
>   	int ret;
>   
>   	do {
> +		ret = of_clk_set_defaults(dev->of_node, false);
> +		if (ret < 0)
> +			break;
> +
>   		ret = dev_pm_domain_attach(dev, true);
>   		if (ret == -EPROBE_DEFER)
>   			break;

Stephen/Russell,

what is the status of this patch? has it been merged?

thanks

Jorge

[toc] | [next] | [standalone]


#1466209

FromRussell King - ARM Linux <linux@armlinux.org.uk>
Date2016-08-19 10:00 +0200
Message-ID<s7MSC-2Nt-29@gated-at.bofh.it>
In reply to#1466073
On Fri, Aug 19, 2016 at 08:52:35AM +0200, Jorge Ramirez wrote:
> On 07/11/2016 11:08 PM, Stephen Boyd wrote:
> >Add the call to of_clk_set_defaults() into the amba probe path so
> >that devices on the amba bus can use the assigned rates and
> >parents feature of the common clock framework.
> >
> >Cc: Michael Turquette <mturquette@baylibre.com>
> >Cc: Jorge Ramirez Ortiz <jorge.ramirez-ortiz@linaro.org>
> >Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
> >---
> >  drivers/amba/bus.c | 5 +++++
> >  1 file changed, 5 insertions(+)
> >
> >diff --git a/drivers/amba/bus.c b/drivers/amba/bus.c
> >index a5b5c87e2114..a56fa2a1e9aa 100644
> >--- a/drivers/amba/bus.c
> >+++ b/drivers/amba/bus.c
> >@@ -19,6 +19,7 @@
> >  #include <linux/amba/bus.h>
> >  #include <linux/sizes.h>
> >  #include <linux/limits.h>
> >+#include <linux/clk/clk-conf.h>
> >  #include <asm/irq.h>
> >@@ -237,6 +238,10 @@ static int amba_probe(struct device *dev)
> >  	int ret;
> >  	do {
> >+		ret = of_clk_set_defaults(dev->of_node, false);
> >+		if (ret < 0)
> >+			break;
> >+
> >  		ret = dev_pm_domain_attach(dev, true);
> >  		if (ret == -EPROBE_DEFER)
> >  			break;
> 
> Stephen/Russell,
> 
> what is the status of this patch? has it been merged?

I assume by that comment that you don't follow linux-next.  Please
follow and test linux-next, so you can check for any regressions
that may occur for your platforms in the next merge window, thanks.

You'll find the above patch in linux-next already.

-- 
RMK's Patch system: http://www.armlinux.org.uk/developer/patches/
FTTC broadband for 0.8mile line: currently at 9.6Mbps down 400kbps up
according to speedtest.net.

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web