linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ARM: at91: at91sam9x5: add clocks for usb device
@ 2014-07-11 10:22 Bo Shen
  2014-07-11 10:47 ` Alexandre Belloni
  0 siblings, 1 reply; 5+ messages in thread
From: Bo Shen @ 2014-07-11 10:22 UTC (permalink / raw)
  To: linux-arm-kernel

Add clocks for usb device, or else switch to CCF, the gadget
won't work.

Reported-by: Ji?? Prchal <jiri.prchal@aksignal.cz>
Signed-off-by: Bo Shen <voice.shen@atmel.com>
---
 arch/arm/boot/dts/at91sam9x5.dtsi | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm/boot/dts/at91sam9x5.dtsi b/arch/arm/boot/dts/at91sam9x5.dtsi
index d6133f4..2ebc421 100644
--- a/arch/arm/boot/dts/at91sam9x5.dtsi
+++ b/arch/arm/boot/dts/at91sam9x5.dtsi
@@ -1045,6 +1045,8 @@
 				reg = <0x00500000 0x80000
 				       0xf803c000 0x400>;
 				interrupts = <23 IRQ_TYPE_LEVEL_HIGH 0>;
+				clocks = <&usb>, <&udphs_clk>;
+				clock-names = "hclk", "pclk";
 				status = "disabled";
 
 				ep0 {
-- 
1.8.5.2

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

* [PATCH] ARM: at91: at91sam9x5: add clocks for usb device
  2014-07-11 10:22 Bo Shen
@ 2014-07-11 10:47 ` Alexandre Belloni
  2014-07-11 10:55   ` Jiří Prchal
  0 siblings, 1 reply; 5+ messages in thread
From: Alexandre Belloni @ 2014-07-11 10:47 UTC (permalink / raw)
  To: linux-arm-kernel

On 11/07/2014 at 18:22:55 +0800, Bo Shen wrote :
> Add clocks for usb device, or else switch to CCF, the gadget
> won't work.
> 
> Reported-by: Ji?? Prchal <jiri.prchal@aksignal.cz>
> Signed-off-by: Bo Shen <voice.shen@atmel.com>
Acked-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>

> ---
>  arch/arm/boot/dts/at91sam9x5.dtsi | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/at91sam9x5.dtsi b/arch/arm/boot/dts/at91sam9x5.dtsi
> index d6133f4..2ebc421 100644
> --- a/arch/arm/boot/dts/at91sam9x5.dtsi
> +++ b/arch/arm/boot/dts/at91sam9x5.dtsi
> @@ -1045,6 +1045,8 @@
>  				reg = <0x00500000 0x80000
>  				       0xf803c000 0x400>;
>  				interrupts = <23 IRQ_TYPE_LEVEL_HIGH 0>;
> +				clocks = <&usb>, <&udphs_clk>;
> +				clock-names = "hclk", "pclk";
>  				status = "disabled";
>  
>  				ep0 {
> -- 
> 1.8.5.2
> 
> 
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

-- 
Alexandre Belloni, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

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

* [PATCH] ARM: at91: at91sam9x5: add clocks for usb device
  2014-07-11 10:47 ` Alexandre Belloni
@ 2014-07-11 10:55   ` Jiří Prchal
  0 siblings, 0 replies; 5+ messages in thread
From: Jiří Prchal @ 2014-07-11 10:55 UTC (permalink / raw)
  To: linux-arm-kernel

Thanks, it works now.

Dne 11.7.2014 12:47, Alexandre Belloni napsal(a):
> On 11/07/2014 at 18:22:55 +0800, Bo Shen wrote :
>> Add clocks for usb device, or else switch to CCF, the gadget
>> won't work.
>>
>> Reported-by: Ji?? Prchal <jiri.prchal@aksignal.cz>
>> Signed-off-by: Bo Shen <voice.shen@atmel.com>
> Acked-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Tested-by: Jiri Prchal <jiri.prchal@aksignal.cz>
>
>> ---
>>   arch/arm/boot/dts/at91sam9x5.dtsi | 2 ++
>>   1 file changed, 2 insertions(+)
>>
>> diff --git a/arch/arm/boot/dts/at91sam9x5.dtsi b/arch/arm/boot/dts/at91sam9x5.dtsi
>> index d6133f4..2ebc421 100644
>> --- a/arch/arm/boot/dts/at91sam9x5.dtsi
>> +++ b/arch/arm/boot/dts/at91sam9x5.dtsi
>> @@ -1045,6 +1045,8 @@
>>   				reg = <0x00500000 0x80000
>>   				       0xf803c000 0x400>;
>>   				interrupts = <23 IRQ_TYPE_LEVEL_HIGH 0>;
>> +				clocks = <&usb>, <&udphs_clk>;
>> +				clock-names = "hclk", "pclk";
>>   				status = "disabled";
>>
>>   				ep0 {
>> --
>> 1.8.5.2
>>
>>
>> _______________________________________________
>> linux-arm-kernel mailing list
>> linux-arm-kernel at lists.infradead.org
>> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
>

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

* [PATCH] ARM: at91: at91sam9x5: add clocks for usb device
@ 2014-07-11 16:34 Nicolas Ferre
  2014-07-12 16:15 ` Olof Johansson
  0 siblings, 1 reply; 5+ messages in thread
From: Nicolas Ferre @ 2014-07-11 16:34 UTC (permalink / raw)
  To: linux-arm-kernel

From: Bo Shen <voice.shen@atmel.com>

Add clocks for usb device, or else switch to CCF, the gadget
won't work.

Reported-by: Jiri Prchal <jiri.prchal@aksignal.cz>
Signed-off-by: Bo Shen <voice.shen@atmel.com>
Acked-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Tested-by: Jiri Prchal <jiri.prchal@aksignal.cz>
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
---
Arnd, Olof, Kevin,

This fix is the only one that I have for 3.16-rc currently. Can you please
take it as a patch and queue it? It can go on top of already sent AT91 fixes
for 3.16 or a 3.16-rc4.

Best regards,

 arch/arm/boot/dts/at91sam9x5.dtsi | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm/boot/dts/at91sam9x5.dtsi b/arch/arm/boot/dts/at91sam9x5.dtsi
index d6133f497207..2ebc42140ea6 100644
--- a/arch/arm/boot/dts/at91sam9x5.dtsi
+++ b/arch/arm/boot/dts/at91sam9x5.dtsi
@@ -1045,6 +1045,8 @@
 				reg = <0x00500000 0x80000
 				       0xf803c000 0x400>;
 				interrupts = <23 IRQ_TYPE_LEVEL_HIGH 0>;
+				clocks = <&usb>, <&udphs_clk>;
+				clock-names = "hclk", "pclk";
 				status = "disabled";
 
 				ep0 {
-- 
1.8.2.2

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

* [PATCH] ARM: at91: at91sam9x5: add clocks for usb device
  2014-07-11 16:34 [PATCH] ARM: at91: at91sam9x5: add clocks for usb device Nicolas Ferre
@ 2014-07-12 16:15 ` Olof Johansson
  0 siblings, 0 replies; 5+ messages in thread
From: Olof Johansson @ 2014-07-12 16:15 UTC (permalink / raw)
  To: linux-arm-kernel

On Fri, Jul 11, 2014 at 06:34:56PM +0200, Nicolas Ferre wrote:
> From: Bo Shen <voice.shen@atmel.com>
> 
> Add clocks for usb device, or else switch to CCF, the gadget
> won't work.
> 
> Reported-by: Jiri Prchal <jiri.prchal@aksignal.cz>
> Signed-off-by: Bo Shen <voice.shen@atmel.com>
> Acked-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
> Tested-by: Jiri Prchal <jiri.prchal@aksignal.cz>
> Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
> ---
> Arnd, Olof, Kevin,
> 
> This fix is the only one that I have for 3.16-rc currently. Can you please
> take it as a patch and queue it? It can go on top of already sent AT91 fixes
> for 3.16 or a 3.16-rc4.

Certainly. Appled to fixes now.


-Olof

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

end of thread, other threads:[~2014-07-12 16:15 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-11 16:34 [PATCH] ARM: at91: at91sam9x5: add clocks for usb device Nicolas Ferre
2014-07-12 16:15 ` Olof Johansson
  -- strict thread matches above, loose matches on Subject: below --
2014-07-11 10:22 Bo Shen
2014-07-11 10:47 ` Alexandre Belloni
2014-07-11 10:55   ` Jiří Prchal

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