* [PATCH v2 0/2] ARM: at91: dt: at91sam9n12ek: enable udp device
@ 2015-02-10 1:55 Bo Shen
2015-02-10 1:55 ` [PATCH v2 1/2] ARM: at91: dt: at91sam9n12: add udp device node Bo Shen
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Bo Shen @ 2015-02-10 1:55 UTC (permalink / raw)
To: balbi-l0cyMroinI0, nicolas.ferre-AIFe0yeh4nAAvxtiuMwx3w
Cc: alexandre.belloni-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8,
sylvain.rochet-ETtyaVkrhkNWk0Htik3J/w,
linux-usb-u79uwXL29TY76Z2rM5mHXA,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
linux-kernel-u79uwXL29TY76Z2rM5mHXA,
devicetree-u79uwXL29TY76Z2rM5mHXA, Bo Shen
This patch series enable usb device support on at91sam9n12ek board.
Changes in v2:
- Base on next-20150209 (so, remove the modification of udc driver).
- Add pinctrl for usb1 vbus sense.
Bo Shen (2):
ARM: at91: dt: at91sam9n12: add udp device node
ARM: at91: dt: at91sam9n12ek: enable udp
arch/arm/boot/dts/at91sam9n12.dtsi | 9 +++++++++
arch/arm/boot/dts/at91sam9n12ek.dts | 14 ++++++++++++++
2 files changed, 23 insertions(+)
--
2.3.0.rc0
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH v2 1/2] ARM: at91: dt: at91sam9n12: add udp device node
2015-02-10 1:55 [PATCH v2 0/2] ARM: at91: dt: at91sam9n12ek: enable udp device Bo Shen
@ 2015-02-10 1:55 ` Bo Shen
2015-02-10 1:55 ` [PATCH v2 2/2] ARM: at91: dt: at91sam9n12ek: enable udp Bo Shen
[not found] ` <1423533335-25135-1-git-send-email-voice.shen-AIFe0yeh4nAAvxtiuMwx3w@public.gmane.org>
2 siblings, 0 replies; 5+ messages in thread
From: Bo Shen @ 2015-02-10 1:55 UTC (permalink / raw)
To: balbi, nicolas.ferre
Cc: alexandre.belloni, sylvain.rochet, linux-usb, linux-arm-kernel,
linux-kernel, devicetree, Bo Shen
Add usb device node for at91sam9n12.
Signed-off-by: Bo Shen <voice.shen@atmel.com>
---
Changes in v2: None
arch/arm/boot/dts/at91sam9n12.dtsi | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/arch/arm/boot/dts/at91sam9n12.dtsi b/arch/arm/boot/dts/at91sam9n12.dtsi
index c2666a7..e1b6f0b 100644
--- a/arch/arm/boot/dts/at91sam9n12.dtsi
+++ b/arch/arm/boot/dts/at91sam9n12.dtsi
@@ -913,6 +913,15 @@
clocks = <&pwm_clk>;
status = "disabled";
};
+
+ usb1: gadget@f803c000 {
+ compatible = "atmel,at91sam9260-udc";
+ reg = <0xf803c000 0x4000>;
+ interrupts = <23 IRQ_TYPE_LEVEL_HIGH 2>;
+ clocks = <&udphs_clk>, <&udpck>;
+ clock-names = "pclk", "hclk";
+ status = "disabled";
+ };
};
nand0: nand@40000000 {
--
2.3.0.rc0
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH v2 2/2] ARM: at91: dt: at91sam9n12ek: enable udp
2015-02-10 1:55 [PATCH v2 0/2] ARM: at91: dt: at91sam9n12ek: enable udp device Bo Shen
2015-02-10 1:55 ` [PATCH v2 1/2] ARM: at91: dt: at91sam9n12: add udp device node Bo Shen
@ 2015-02-10 1:55 ` Bo Shen
[not found] ` <1423533335-25135-1-git-send-email-voice.shen-AIFe0yeh4nAAvxtiuMwx3w@public.gmane.org>
2 siblings, 0 replies; 5+ messages in thread
From: Bo Shen @ 2015-02-10 1:55 UTC (permalink / raw)
To: balbi, nicolas.ferre
Cc: alexandre.belloni, sylvain.rochet, linux-usb, linux-arm-kernel,
linux-kernel, devicetree, Bo Shen
Enable usb device port on at91sam9n12ek board.
Signed-off-by: Bo Shen <voice.shen@atmel.com>
---
Changes in v2:
- Add pinctrl for usb1 vbus sense.
arch/arm/boot/dts/at91sam9n12ek.dts | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/arch/arm/boot/dts/at91sam9n12ek.dts b/arch/arm/boot/dts/at91sam9n12ek.dts
index 9575c0d..6123109 100644
--- a/arch/arm/boot/dts/at91sam9n12ek.dts
+++ b/arch/arm/boot/dts/at91sam9n12ek.dts
@@ -108,6 +108,13 @@
<AT91_PIOB 10 AT91_PERIPH_B AT91_PINCTRL_NONE>;
};
};
+
+ usb1 {
+ pinctrl_usb1_vbus_sense: usb1_vbus_sense {
+ atmel,pins =
+ <AT91_PIOB 16 AT91_PERIPH_GPIO AT91_PINCTRL_DEGLITCH>; /* PB16 gpio usb vbus sense, no pull up and deglitch */
+ };
+ };
};
spi0: spi@f0000000 {
@@ -120,6 +127,13 @@
};
};
+ usb1: gadget@f803c000 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_usb1_vbus_sense>;
+ atmel,vbus-gpio = <&pioB 16 GPIO_ACTIVE_HIGH>;
+ status = "okay";
+ };
+
watchdog@fffffe40 {
status = "okay";
};
--
2.3.0.rc0
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH v2 0/2] ARM: at91: dt: at91sam9n12ek: enable udp device
[not found] ` <1423533335-25135-1-git-send-email-voice.shen-AIFe0yeh4nAAvxtiuMwx3w@public.gmane.org>
@ 2015-03-02 9:32 ` Bo Shen
[not found] ` <54F42E12.4010808-AIFe0yeh4nAAvxtiuMwx3w@public.gmane.org>
0 siblings, 1 reply; 5+ messages in thread
From: Bo Shen @ 2015-03-02 9:32 UTC (permalink / raw)
To: balbi-l0cyMroinI0, nicolas.ferre-AIFe0yeh4nAAvxtiuMwx3w
Cc: alexandre.belloni-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8,
sylvain.rochet-ETtyaVkrhkNWk0Htik3J/w,
linux-usb-u79uwXL29TY76Z2rM5mHXA,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
linux-kernel-u79uwXL29TY76Z2rM5mHXA,
devicetree-u79uwXL29TY76Z2rM5mHXA
Hi Nicolas,
On 02/10/2015 09:55 AM, Bo Shen wrote:
> This patch series enable usb device support on at91sam9n12ek board.
>
> Changes in v2:
> - Base on next-20150209 (so, remove the modification of udc driver).
> - Add pinctrl for usb1 vbus sense.
>
> Bo Shen (2):
> ARM: at91: dt: at91sam9n12: add udp device node
> ARM: at91: dt: at91sam9n12ek: enable udp
Any comments for this patch series? (aka ping?)
> arch/arm/boot/dts/at91sam9n12.dtsi | 9 +++++++++
> arch/arm/boot/dts/at91sam9n12ek.dts | 14 ++++++++++++++
> 2 files changed, 23 insertions(+)
>
Best Regards,
Bo Shen
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH v2 0/2] ARM: at91: dt: at91sam9n12ek: enable udp device
[not found] ` <54F42E12.4010808-AIFe0yeh4nAAvxtiuMwx3w@public.gmane.org>
@ 2015-03-04 13:07 ` Nicolas Ferre
0 siblings, 0 replies; 5+ messages in thread
From: Nicolas Ferre @ 2015-03-04 13:07 UTC (permalink / raw)
To: Bo Shen
Cc: balbi-l0cyMroinI0,
alexandre.belloni-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8,
sylvain.rochet-ETtyaVkrhkNWk0Htik3J/w,
linux-usb-u79uwXL29TY76Z2rM5mHXA,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
linux-kernel-u79uwXL29TY76Z2rM5mHXA,
devicetree-u79uwXL29TY76Z2rM5mHXA
Le 02/03/2015 10:32, Bo Shen a écrit :
> Hi Nicolas,
>
> On 02/10/2015 09:55 AM, Bo Shen wrote:
>> This patch series enable usb device support on at91sam9n12ek board.
>>
>> Changes in v2:
>> - Base on next-20150209 (so, remove the modification of udc driver).
>> - Add pinctrl for usb1 vbus sense.
>>
>> Bo Shen (2):
>> ARM: at91: dt: at91sam9n12: add udp device node
>> ARM: at91: dt: at91sam9n12ek: enable udp
>
> Any comments for this patch series? (aka ping?)
Hi,
For the 2 patches:
Acked-by: Nicolas Ferre <nicolas.ferre-AIFe0yeh4nAAvxtiuMwx3w@public.gmane.org>
And I've just taken these 2 patches on top of the at91-4.1-dt branch.
Thanks for the "heads up" !
Bye,
>> arch/arm/boot/dts/at91sam9n12.dtsi | 9 +++++++++
>> arch/arm/boot/dts/at91sam9n12ek.dts | 14 ++++++++++++++
>> 2 files changed, 23 insertions(+)
>>
>
> Best Regards,
> Bo Shen
>
--
Nicolas Ferre
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2015-03-04 13:07 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-10 1:55 [PATCH v2 0/2] ARM: at91: dt: at91sam9n12ek: enable udp device Bo Shen
2015-02-10 1:55 ` [PATCH v2 1/2] ARM: at91: dt: at91sam9n12: add udp device node Bo Shen
2015-02-10 1:55 ` [PATCH v2 2/2] ARM: at91: dt: at91sam9n12ek: enable udp Bo Shen
[not found] ` <1423533335-25135-1-git-send-email-voice.shen-AIFe0yeh4nAAvxtiuMwx3w@public.gmane.org>
2015-03-02 9:32 ` [PATCH v2 0/2] ARM: at91: dt: at91sam9n12ek: enable udp device Bo Shen
[not found] ` <54F42E12.4010808-AIFe0yeh4nAAvxtiuMwx3w@public.gmane.org>
2015-03-04 13:07 ` 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).