linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] ARM: at91/PMC: some fixes for clock functionalies
@ 2013-06-24  9:08 Nicolas Ferre
  2013-06-24  9:08 ` [PATCH 1/3] ARM: at91/PMC: sama5d3 family doesn't have a PLLB Nicolas Ferre
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Nicolas Ferre @ 2013-06-24  9:08 UTC (permalink / raw)
  To: Jean-Christophe PLAGNIOL-VILLARD, Ludovic Desroches, Josh Wu, Bo Shen
  Cc: linux-arm-kernel, linux-kernel, Nicolas Ferre

It seems that some errors where made when affecting some functionalies to SoCs.

Please review this quickly as I do want to send these fixes for next merge
window with will open soon.

Best regards,

Nicolas Ferre (3):
  ARM: at91/PMC: sama5d3 family doesn't have a PLLB
  ARM: at91/PMC: at91sam9n12 family have a PLLB
  ARM: at91/PMC: at91sam9n12 family has USB HS feature

 arch/arm/mach-at91/clock.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

-- 
1.8.2.2


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

* [PATCH 1/3] ARM: at91/PMC: sama5d3 family doesn't have a PLLB
  2013-06-24  9:08 [PATCH 0/3] ARM: at91/PMC: some fixes for clock functionalies Nicolas Ferre
@ 2013-06-24  9:08 ` Nicolas Ferre
  2013-06-24  9:08 ` [PATCH 2/3] ARM: at91/PMC: at91sam9n12 family " Nicolas Ferre
  2013-06-24  9:08 ` [PATCH 3/3] ARM: at91/PMC: at91sam9n12 family has USB HS feature Nicolas Ferre
  2 siblings, 0 replies; 7+ messages in thread
From: Nicolas Ferre @ 2013-06-24  9:08 UTC (permalink / raw)
  To: Jean-Christophe PLAGNIOL-VILLARD, Ludovic Desroches, Josh Wu, Bo Shen
  Cc: linux-arm-kernel, linux-kernel, Nicolas Ferre

Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
---
 arch/arm/mach-at91/clock.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/arch/arm/mach-at91/clock.c b/arch/arm/mach-at91/clock.c
index da84188..085a79d 100644
--- a/arch/arm/mach-at91/clock.c
+++ b/arch/arm/mach-at91/clock.c
@@ -75,7 +75,8 @@ EXPORT_SYMBOL_GPL(at91_pmc_base);
 #define cpu_has_pllb()		(!(cpu_is_at91sam9rl() \
 				|| cpu_is_at91sam9g45() \
 				|| cpu_is_at91sam9x5() \
-				|| cpu_is_at91sam9n12()))
+				|| cpu_is_at91sam9n12() \
+				|| cpu_is_sama5d3()))
 
 #define cpu_has_upll()		(cpu_is_at91sam9g45() \
 				|| cpu_is_at91sam9x5() \
-- 
1.8.2.2


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

* [PATCH 2/3] ARM: at91/PMC: at91sam9n12 family have a PLLB
  2013-06-24  9:08 [PATCH 0/3] ARM: at91/PMC: some fixes for clock functionalies Nicolas Ferre
  2013-06-24  9:08 ` [PATCH 1/3] ARM: at91/PMC: sama5d3 family doesn't have a PLLB Nicolas Ferre
@ 2013-06-24  9:08 ` Nicolas Ferre
  2013-06-24 10:44   ` Bo Shen
  2013-06-24  9:08 ` [PATCH 3/3] ARM: at91/PMC: at91sam9n12 family has USB HS feature Nicolas Ferre
  2 siblings, 1 reply; 7+ messages in thread
From: Nicolas Ferre @ 2013-06-24  9:08 UTC (permalink / raw)
  To: Jean-Christophe PLAGNIOL-VILLARD, Ludovic Desroches, Josh Wu, Bo Shen
  Cc: linux-arm-kernel, linux-kernel, Nicolas Ferre

Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
---
 arch/arm/mach-at91/clock.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/arch/arm/mach-at91/clock.c b/arch/arm/mach-at91/clock.c
index 085a79d..978de42 100644
--- a/arch/arm/mach-at91/clock.c
+++ b/arch/arm/mach-at91/clock.c
@@ -75,7 +75,6 @@ EXPORT_SYMBOL_GPL(at91_pmc_base);
 #define cpu_has_pllb()		(!(cpu_is_at91sam9rl() \
 				|| cpu_is_at91sam9g45() \
 				|| cpu_is_at91sam9x5() \
-				|| cpu_is_at91sam9n12() \
 				|| cpu_is_sama5d3()))
 
 #define cpu_has_upll()		(cpu_is_at91sam9g45() \
-- 
1.8.2.2


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

* [PATCH 3/3] ARM: at91/PMC: at91sam9n12 family has USB HS feature
  2013-06-24  9:08 [PATCH 0/3] ARM: at91/PMC: some fixes for clock functionalies Nicolas Ferre
  2013-06-24  9:08 ` [PATCH 1/3] ARM: at91/PMC: sama5d3 family doesn't have a PLLB Nicolas Ferre
  2013-06-24  9:08 ` [PATCH 2/3] ARM: at91/PMC: at91sam9n12 family " Nicolas Ferre
@ 2013-06-24  9:08 ` Nicolas Ferre
  2013-06-24 10:46   ` Bo Shen
  2 siblings, 1 reply; 7+ messages in thread
From: Nicolas Ferre @ 2013-06-24  9:08 UTC (permalink / raw)
  To: Jean-Christophe PLAGNIOL-VILLARD, Ludovic Desroches, Josh Wu, Bo Shen
  Cc: linux-arm-kernel, linux-kernel, Nicolas Ferre

Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
---
 arch/arm/mach-at91/clock.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/mach-at91/clock.c b/arch/arm/mach-at91/clock.c
index 978de42..1b9bbba 100644
--- a/arch/arm/mach-at91/clock.c
+++ b/arch/arm/mach-at91/clock.c
@@ -88,6 +88,7 @@ EXPORT_SYMBOL_GPL(at91_pmc_base);
 #define cpu_has_udpfs()		(!(cpu_is_at91sam9rl() \
 				|| cpu_is_at91sam9g45() \
 				|| cpu_is_at91sam9x5() \
+				|| cpu_is_at91sam9n12() \
 				|| cpu_is_sama5d3()))
 
 #define cpu_has_plladiv2()	(cpu_is_at91sam9g45() \
-- 
1.8.2.2


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

* Re: [PATCH 2/3] ARM: at91/PMC: at91sam9n12 family have a PLLB
  2013-06-24  9:08 ` [PATCH 2/3] ARM: at91/PMC: at91sam9n12 family " Nicolas Ferre
@ 2013-06-24 10:44   ` Bo Shen
  0 siblings, 0 replies; 7+ messages in thread
From: Bo Shen @ 2013-06-24 10:44 UTC (permalink / raw)
  To: Nicolas Ferre
  Cc: Jean-Christophe PLAGNIOL-VILLARD, Ludovic Desroches, Josh Wu,
	linux-arm-kernel, linux-kernel

On 06/24/2013 05:08 PM, Nicolas Ferre wrote:
> Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>

Acked-by: Bo Shen <voice.shen@atmel.com>

> ---
>   arch/arm/mach-at91/clock.c | 1 -
>   1 file changed, 1 deletion(-)
>
> diff --git a/arch/arm/mach-at91/clock.c b/arch/arm/mach-at91/clock.c
> index 085a79d..978de42 100644
> --- a/arch/arm/mach-at91/clock.c
> +++ b/arch/arm/mach-at91/clock.c
> @@ -75,7 +75,6 @@ EXPORT_SYMBOL_GPL(at91_pmc_base);
>   #define cpu_has_pllb()		(!(cpu_is_at91sam9rl() \
>   				|| cpu_is_at91sam9g45() \
>   				|| cpu_is_at91sam9x5() \
> -				|| cpu_is_at91sam9n12() \
>   				|| cpu_is_sama5d3()))
>
>   #define cpu_has_upll()		(cpu_is_at91sam9g45() \
>


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

* Re: [PATCH 3/3] ARM: at91/PMC: at91sam9n12 family has USB HS feature
  2013-06-24  9:08 ` [PATCH 3/3] ARM: at91/PMC: at91sam9n12 family has USB HS feature Nicolas Ferre
@ 2013-06-24 10:46   ` Bo Shen
  2013-06-24 10:59     ` Nicolas Ferre
  0 siblings, 1 reply; 7+ messages in thread
From: Bo Shen @ 2013-06-24 10:46 UTC (permalink / raw)
  To: Nicolas Ferre
  Cc: Jean-Christophe PLAGNIOL-VILLARD, Ludovic Desroches, Josh Wu,
	linux-arm-kernel, linux-kernel

Hi Nicolas,

On 06/24/2013 05:08 PM, Nicolas Ferre wrote:
> Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
> ---
>   arch/arm/mach-at91/clock.c | 1 +
>   1 file changed, 1 insertion(+)
>
> diff --git a/arch/arm/mach-at91/clock.c b/arch/arm/mach-at91/clock.c
> index 978de42..1b9bbba 100644
> --- a/arch/arm/mach-at91/clock.c
> +++ b/arch/arm/mach-at91/clock.c
> @@ -88,6 +88,7 @@ EXPORT_SYMBOL_GPL(at91_pmc_base);
>   #define cpu_has_udpfs()		(!(cpu_is_at91sam9rl() \
>   				|| cpu_is_at91sam9g45() \
>   				|| cpu_is_at91sam9x5() \
> +				|| cpu_is_at91sam9n12() \
>   				|| cpu_is_sama5d3()))

The at91sam9n12 don't have USB HS device port feature. It only has USB 
FS device port feature.

>   #define cpu_has_plladiv2()	(cpu_is_at91sam9g45() \
>

Best Regards,
Bo Shen

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

* Re: [PATCH 3/3] ARM: at91/PMC: at91sam9n12 family has USB HS feature
  2013-06-24 10:46   ` Bo Shen
@ 2013-06-24 10:59     ` Nicolas Ferre
  0 siblings, 0 replies; 7+ messages in thread
From: Nicolas Ferre @ 2013-06-24 10:59 UTC (permalink / raw)
  To: Bo Shen
  Cc: Jean-Christophe PLAGNIOL-VILLARD, Ludovic Desroches, Josh Wu,
	linux-arm-kernel, linux-kernel

On 24/06/2013 12:46, Bo Shen :
> Hi Nicolas,
>
> On 06/24/2013 05:08 PM, Nicolas Ferre wrote:
>> Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
>> ---
>>   arch/arm/mach-at91/clock.c | 1 +
>>   1 file changed, 1 insertion(+)
>>
>> diff --git a/arch/arm/mach-at91/clock.c b/arch/arm/mach-at91/clock.c
>> index 978de42..1b9bbba 100644
>> --- a/arch/arm/mach-at91/clock.c
>> +++ b/arch/arm/mach-at91/clock.c
>> @@ -88,6 +88,7 @@ EXPORT_SYMBOL_GPL(at91_pmc_base);
>>   #define cpu_has_udpfs()        (!(cpu_is_at91sam9rl() \
>>                   || cpu_is_at91sam9g45() \
>>                   || cpu_is_at91sam9x5() \
>> +                || cpu_is_at91sam9n12() \
>>                   || cpu_is_sama5d3()))
>
> The at91sam9n12 don't have USB HS device port feature. It only has USB
> FS device port feature.

OMG! sure ;-)

So I remove this patch from my series (sorry for the noise ;-))

>
>>   #define cpu_has_plladiv2()    (cpu_is_at91sam9g45() \
>>
>
> Best Regards,
> Bo Shen

Thanks! bye.
-- 
Nicolas Ferre

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

end of thread, other threads:[~2013-06-24 10:59 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-06-24  9:08 [PATCH 0/3] ARM: at91/PMC: some fixes for clock functionalies Nicolas Ferre
2013-06-24  9:08 ` [PATCH 1/3] ARM: at91/PMC: sama5d3 family doesn't have a PLLB Nicolas Ferre
2013-06-24  9:08 ` [PATCH 2/3] ARM: at91/PMC: at91sam9n12 family " Nicolas Ferre
2013-06-24 10:44   ` Bo Shen
2013-06-24  9:08 ` [PATCH 3/3] ARM: at91/PMC: at91sam9n12 family has USB HS feature Nicolas Ferre
2013-06-24 10:46   ` Bo Shen
2013-06-24 10:59     ` Nicolas Ferre

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).