linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] clk: spear600: Fix adc clock device name
@ 2015-03-19 13:34 Stefan Roese
  2015-04-11  0:58 ` Michael Turquette
  0 siblings, 1 reply; 5+ messages in thread
From: Stefan Roese @ 2015-03-19 13:34 UTC (permalink / raw)
  To: linux-arm-kernel

The device name for the adc clock is incorrect. This results in the
IIO ADC driver to fail while probing for the clock. This patch
fixes the name and the ADC driver is now started correctly.

Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Viresh Kumar <viresh.linux@gmail.com>
Cc: Mike Turquette <mturquette@linaro.org>
Cc: spear-devel at list.st.com
---
 drivers/clk/spear/spear6xx_clock.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/clk/spear/spear6xx_clock.c b/drivers/clk/spear/spear6xx_clock.c
index 4f649c9..3e43244 100644
--- a/drivers/clk/spear/spear6xx_clock.c
+++ b/drivers/clk/spear/spear6xx_clock.c
@@ -316,7 +316,7 @@ void __init spear6xx_clk_init(void __iomem *misc_base)
 	/* clock derived from apb clk */
 	clk = clk_register_gate(NULL, "adc_clk", "apb_clk", 0, PERIP1_CLK_ENB,
 			ADC_CLK_ENB, 0, &_lock);
-	clk_register_clkdev(clk, NULL, "adc");
+	clk_register_clkdev(clk, NULL, "d8200000.adc");
 
 	clk = clk_register_fixed_factor(NULL, "gpio0_clk", "apb_clk", 0, 1, 1);
 	clk_register_clkdev(clk, NULL, "f0100000.gpio");
-- 
2.3.3

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [PATCH] clk: spear600: Fix adc clock device name
  2015-03-19 13:34 [PATCH] clk: spear600: Fix adc clock device name Stefan Roese
@ 2015-04-11  0:58 ` Michael Turquette
  0 siblings, 0 replies; 5+ messages in thread
From: Michael Turquette @ 2015-04-11  0:58 UTC (permalink / raw)
  To: linux-arm-kernel

Quoting Stefan Roese (2015-03-19 06:34:03)
> The device name for the adc clock is incorrect. This results in the
> IIO ADC driver to fail while probing for the clock. This patch
> fixes the name and the ADC driver is now started correctly.
> 
> Signed-off-by: Stefan Roese <sr@denx.de>
> Cc: Viresh Kumar <viresh.linux@gmail.com>
> Cc: Mike Turquette <mturquette@linaro.org>
> Cc: spear-devel at list.st.com

Applied to clk-next.

Thanks,
Mike

> ---
>  drivers/clk/spear/spear6xx_clock.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/clk/spear/spear6xx_clock.c b/drivers/clk/spear/spear6xx_clock.c
> index 4f649c9..3e43244 100644
> --- a/drivers/clk/spear/spear6xx_clock.c
> +++ b/drivers/clk/spear/spear6xx_clock.c
> @@ -316,7 +316,7 @@ void __init spear6xx_clk_init(void __iomem *misc_base)
>         /* clock derived from apb clk */
>         clk = clk_register_gate(NULL, "adc_clk", "apb_clk", 0, PERIP1_CLK_ENB,
>                         ADC_CLK_ENB, 0, &_lock);
> -       clk_register_clkdev(clk, NULL, "adc");
> +       clk_register_clkdev(clk, NULL, "d8200000.adc");
>  
>         clk = clk_register_fixed_factor(NULL, "gpio0_clk", "apb_clk", 0, 1, 1);
>         clk_register_clkdev(clk, NULL, "f0100000.gpio");
> -- 
> 2.3.3
> 

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH] clk: spear600: Fix adc clock device name
  2015-09-02 11:02 ` Viresh Kumar
@ 2015-09-02 11:03   ` Viresh Kumar
  0 siblings, 0 replies; 5+ messages in thread
From: Viresh Kumar @ 2015-09-02 11:03 UTC (permalink / raw)
  To: linux-arm-kernel

On 02-09-15, 16:32, Viresh Kumar wrote:
> On 02-09-15, 12:41, Stefan Roese wrote:
> > The device name for the adc clock is incorrect. This results in the
> > IIO ADC driver to fail while probing for the clock. This patch
> > fixes the name and the ADC driver is now started correctly.
> > 
> > Signed-off-by: Stefan Roese <sr@denx.de>
> > Cc: Vipul Kumar Samar <vipulkumar.samar@st.com>
> > Cc: Viresh Kumar <viresh.kumar@linaro.org>
> > Cc: Mike Turquette <mturquette@linaro.org>
> > ---
> >  drivers/clk/spear/spear6xx_clock.c | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> > 
> > diff --git a/drivers/clk/spear/spear6xx_clock.c b/drivers/clk/spear/spear6xx_clock.c
> > index 4f649c9..3e43244 100644
> > --- a/drivers/clk/spear/spear6xx_clock.c
> > +++ b/drivers/clk/spear/spear6xx_clock.c
> > @@ -316,7 +316,7 @@ void __init spear6xx_clk_init(void __iomem *misc_base)
> >  	/* clock derived from apb clk */
> >  	clk = clk_register_gate(NULL, "adc_clk", "apb_clk", 0, PERIP1_CLK_ENB,
> >  			ADC_CLK_ENB, 0, &_lock);
> > -	clk_register_clkdev(clk, NULL, "adc");
> > +	clk_register_clkdev(clk, NULL, "d8200000.adc");
> >  
> >  	clk = clk_register_fixed_factor(NULL, "gpio0_clk", "apb_clk", 0, 1, 1);
> >  	clk_register_clkdev(clk, NULL, "f0100000.gpio");
> 
> Sigh. Its fixed for all other boards, but this.
> 
> Acked-by: Viresh Kumar <viresh.kumar@linaro.org>

Sending to Mike's updated email id.

-- 
viresh

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH] clk: spear600: Fix adc clock device name
  2015-09-02 10:41 Stefan Roese
@ 2015-09-02 11:02 ` Viresh Kumar
  2015-09-02 11:03   ` Viresh Kumar
  0 siblings, 1 reply; 5+ messages in thread
From: Viresh Kumar @ 2015-09-02 11:02 UTC (permalink / raw)
  To: linux-arm-kernel

On 02-09-15, 12:41, Stefan Roese wrote:
> The device name for the adc clock is incorrect. This results in the
> IIO ADC driver to fail while probing for the clock. This patch
> fixes the name and the ADC driver is now started correctly.
> 
> Signed-off-by: Stefan Roese <sr@denx.de>
> Cc: Vipul Kumar Samar <vipulkumar.samar@st.com>
> Cc: Viresh Kumar <viresh.kumar@linaro.org>
> Cc: Mike Turquette <mturquette@linaro.org>
> ---
>  drivers/clk/spear/spear6xx_clock.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/clk/spear/spear6xx_clock.c b/drivers/clk/spear/spear6xx_clock.c
> index 4f649c9..3e43244 100644
> --- a/drivers/clk/spear/spear6xx_clock.c
> +++ b/drivers/clk/spear/spear6xx_clock.c
> @@ -316,7 +316,7 @@ void __init spear6xx_clk_init(void __iomem *misc_base)
>  	/* clock derived from apb clk */
>  	clk = clk_register_gate(NULL, "adc_clk", "apb_clk", 0, PERIP1_CLK_ENB,
>  			ADC_CLK_ENB, 0, &_lock);
> -	clk_register_clkdev(clk, NULL, "adc");
> +	clk_register_clkdev(clk, NULL, "d8200000.adc");
>  
>  	clk = clk_register_fixed_factor(NULL, "gpio0_clk", "apb_clk", 0, 1, 1);
>  	clk_register_clkdev(clk, NULL, "f0100000.gpio");

Sigh. Its fixed for all other boards, but this.

Acked-by: Viresh Kumar <viresh.kumar@linaro.org>

-- 
viresh

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH] clk: spear600: Fix adc clock device name
@ 2015-09-02 10:41 Stefan Roese
  2015-09-02 11:02 ` Viresh Kumar
  0 siblings, 1 reply; 5+ messages in thread
From: Stefan Roese @ 2015-09-02 10:41 UTC (permalink / raw)
  To: linux-arm-kernel

The device name for the adc clock is incorrect. This results in the
IIO ADC driver to fail while probing for the clock. This patch
fixes the name and the ADC driver is now started correctly.

Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Vipul Kumar Samar <vipulkumar.samar@st.com>
Cc: Viresh Kumar <viresh.kumar@linaro.org>
Cc: Mike Turquette <mturquette@linaro.org>
---
 drivers/clk/spear/spear6xx_clock.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/clk/spear/spear6xx_clock.c b/drivers/clk/spear/spear6xx_clock.c
index 4f649c9..3e43244 100644
--- a/drivers/clk/spear/spear6xx_clock.c
+++ b/drivers/clk/spear/spear6xx_clock.c
@@ -316,7 +316,7 @@ void __init spear6xx_clk_init(void __iomem *misc_base)
 	/* clock derived from apb clk */
 	clk = clk_register_gate(NULL, "adc_clk", "apb_clk", 0, PERIP1_CLK_ENB,
 			ADC_CLK_ENB, 0, &_lock);
-	clk_register_clkdev(clk, NULL, "adc");
+	clk_register_clkdev(clk, NULL, "d8200000.adc");
 
 	clk = clk_register_fixed_factor(NULL, "gpio0_clk", "apb_clk", 0, 1, 1);
 	clk_register_clkdev(clk, NULL, "f0100000.gpio");
-- 
2.5.1

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-09-02 11:03 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-19 13:34 [PATCH] clk: spear600: Fix adc clock device name Stefan Roese
2015-04-11  0:58 ` Michael Turquette
2015-09-02 10:41 Stefan Roese
2015-09-02 11:02 ` Viresh Kumar
2015-09-02 11:03   ` Viresh Kumar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).