Message ID | 1405074175-22444-1-git-send-email-voice.shen@atmel.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
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@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/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@lists.infradead.org >> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel >
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 {
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(+)