linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [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: linux-arm-kernel

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

^ 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
  2015-03-02  9:32 ` [PATCH v2 0/2] ARM: at91: dt: at91sam9n12ek: enable udp device Bo Shen
  2 siblings, 0 replies; 5+ messages in thread
From: Bo Shen @ 2015-02-10  1:55 UTC (permalink / raw)
  To: linux-arm-kernel

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 at 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 at 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
  2015-03-02  9:32 ` [PATCH v2 0/2] ARM: at91: dt: at91sam9n12ek: enable udp device Bo Shen
  2 siblings, 0 replies; 5+ messages in thread
From: Bo Shen @ 2015-02-10  1:55 UTC (permalink / raw)
  To: linux-arm-kernel

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 at f0000000 {
@@ -120,6 +127,13 @@
 				};
 			};
 
+			usb1: gadget at f803c000 {
+				pinctrl-names = "default";
+				pinctrl-0 = <&pinctrl_usb1_vbus_sense>;
+				atmel,vbus-gpio = <&pioB 16 GPIO_ACTIVE_HIGH>;
+				status = "okay";
+			};
+
 			watchdog at fffffe40 {
 				status = "okay";
 			};
-- 
2.3.0.rc0

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

* [PATCH v2 0/2] ARM: at91: dt: at91sam9n12ek: enable udp device
  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
@ 2015-03-02  9:32 ` Bo Shen
  2015-03-04 13:07   ` Nicolas Ferre
  2 siblings, 1 reply; 5+ messages in thread
From: Bo Shen @ 2015-03-02  9:32 UTC (permalink / raw)
  To: linux-arm-kernel

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

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

* [PATCH v2 0/2] ARM: at91: dt: at91sam9n12ek: enable udp device
  2015-03-02  9:32 ` [PATCH v2 0/2] ARM: at91: dt: at91sam9n12ek: enable udp device Bo Shen
@ 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: linux-arm-kernel

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@atmel.com>

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

^ 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
2015-03-02  9:32 ` [PATCH v2 0/2] ARM: at91: dt: at91sam9n12ek: enable udp device Bo Shen
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).