All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] dtb: at91: sam9n12ek: ohci: add port and vbus property
@ 2014-08-27  9:52 ` Bo Shen
  0 siblings, 0 replies; 6+ messages in thread
From: Bo Shen @ 2014-08-27  9:52 UTC (permalink / raw)
  To: linux-arm-kernel

Add the port number and vbus property for ohci port, or else if
bootloader won't configure the vbus pin, the 5v supply is not
power on, so can not work with usb devices.

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

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

diff --git a/arch/arm/boot/dts/at91sam9n12ek.dts b/arch/arm/boot/dts/at91sam9n12ek.dts
index 83d7237..13bb24e 100644
--- a/arch/arm/boot/dts/at91sam9n12ek.dts
+++ b/arch/arm/boot/dts/at91sam9n12ek.dts
@@ -136,6 +136,8 @@
 		};
 
 		usb0: ohci at 00500000 {
+			num-ports = <1>;
+			atmel,vbus-gpio = <&pioB 7 GPIO_ACTIVE_LOW>;
 			status = "okay";
 		};
 	};
-- 
1.8.5.2

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

* [PATCH] dtb: at91: sam9n12ek: ohci: add port and vbus property
@ 2014-08-27  9:52 ` Bo Shen
  0 siblings, 0 replies; 6+ messages in thread
From: Bo Shen @ 2014-08-27  9:52 UTC (permalink / raw)
  To: nicolas.ferre; +Cc: devicetree, Bo Shen, linux-kernel, linux-arm-kernel

Add the port number and vbus property for ohci port, or else if
bootloader won't configure the vbus pin, the 5v supply is not
power on, so can not work with usb devices.

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

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

diff --git a/arch/arm/boot/dts/at91sam9n12ek.dts b/arch/arm/boot/dts/at91sam9n12ek.dts
index 83d7237..13bb24e 100644
--- a/arch/arm/boot/dts/at91sam9n12ek.dts
+++ b/arch/arm/boot/dts/at91sam9n12ek.dts
@@ -136,6 +136,8 @@
 		};
 
 		usb0: ohci@00500000 {
+			num-ports = <1>;
+			atmel,vbus-gpio = <&pioB 7 GPIO_ACTIVE_LOW>;
 			status = "okay";
 		};
 	};
-- 
1.8.5.2

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

* [PATCH] dtb: at91: sam9n12ek: ohci: add port and vbus property
@ 2014-08-27  9:52 ` Bo Shen
  0 siblings, 0 replies; 6+ messages in thread
From: Bo Shen @ 2014-08-27  9:52 UTC (permalink / raw)
  To: nicolas.ferre; +Cc: linux-arm-kernel, linux-kernel, devicetree, Bo Shen

Add the port number and vbus property for ohci port, or else if
bootloader won't configure the vbus pin, the 5v supply is not
power on, so can not work with usb devices.

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

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

diff --git a/arch/arm/boot/dts/at91sam9n12ek.dts b/arch/arm/boot/dts/at91sam9n12ek.dts
index 83d7237..13bb24e 100644
--- a/arch/arm/boot/dts/at91sam9n12ek.dts
+++ b/arch/arm/boot/dts/at91sam9n12ek.dts
@@ -136,6 +136,8 @@
 		};
 
 		usb0: ohci@00500000 {
+			num-ports = <1>;
+			atmel,vbus-gpio = <&pioB 7 GPIO_ACTIVE_LOW>;
 			status = "okay";
 		};
 	};
-- 
1.8.5.2


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

* [PATCH] dtb: at91: sam9n12ek: ohci: add port and vbus property
@ 2014-09-01  9:42   ` Nicolas Ferre
  0 siblings, 0 replies; 6+ messages in thread
From: Nicolas Ferre @ 2014-09-01  9:42 UTC (permalink / raw)
  To: linux-arm-kernel

On 27/08/2014 11:52, Bo Shen :
> Add the port number and vbus property for ohci port, or else if
> bootloader won't configure the vbus pin, the 5v supply is not
> power on, so can not work with usb devices.
> 
> Signed-off-by: Bo Shen <voice.shen@atmel.com>

Ok, thanks:

Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>

> ---
> 
>  arch/arm/boot/dts/at91sam9n12ek.dts | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/at91sam9n12ek.dts b/arch/arm/boot/dts/at91sam9n12ek.dts
> index 83d7237..13bb24e 100644
> --- a/arch/arm/boot/dts/at91sam9n12ek.dts
> +++ b/arch/arm/boot/dts/at91sam9n12ek.dts
> @@ -136,6 +136,8 @@
>  		};
>  
>  		usb0: ohci at 00500000 {
> +			num-ports = <1>;
> +			atmel,vbus-gpio = <&pioB 7 GPIO_ACTIVE_LOW>;
>  			status = "okay";
>  		};
>  	};
> 


-- 
Nicolas Ferre

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

* Re: [PATCH] dtb: at91: sam9n12ek: ohci: add port and vbus property
@ 2014-09-01  9:42   ` Nicolas Ferre
  0 siblings, 0 replies; 6+ messages in thread
From: Nicolas Ferre @ 2014-09-01  9:42 UTC (permalink / raw)
  To: Bo Shen
  Cc: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA,
	devicetree-u79uwXL29TY76Z2rM5mHXA

On 27/08/2014 11:52, Bo Shen :
> Add the port number and vbus property for ohci port, or else if
> bootloader won't configure the vbus pin, the 5v supply is not
> power on, so can not work with usb devices.
> 
> Signed-off-by: Bo Shen <voice.shen-AIFe0yeh4nAAvxtiuMwx3w@public.gmane.org>

Ok, thanks:

Acked-by: Nicolas Ferre <nicolas.ferre-AIFe0yeh4nAAvxtiuMwx3w@public.gmane.org>

> ---
> 
>  arch/arm/boot/dts/at91sam9n12ek.dts | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/at91sam9n12ek.dts b/arch/arm/boot/dts/at91sam9n12ek.dts
> index 83d7237..13bb24e 100644
> --- a/arch/arm/boot/dts/at91sam9n12ek.dts
> +++ b/arch/arm/boot/dts/at91sam9n12ek.dts
> @@ -136,6 +136,8 @@
>  		};
>  
>  		usb0: ohci@00500000 {
> +			num-ports = <1>;
> +			atmel,vbus-gpio = <&pioB 7 GPIO_ACTIVE_LOW>;
>  			status = "okay";
>  		};
>  	};
> 


-- 
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] 6+ messages in thread

* Re: [PATCH] dtb: at91: sam9n12ek: ohci: add port and vbus property
@ 2014-09-01  9:42   ` Nicolas Ferre
  0 siblings, 0 replies; 6+ messages in thread
From: Nicolas Ferre @ 2014-09-01  9:42 UTC (permalink / raw)
  To: Bo Shen; +Cc: linux-arm-kernel, linux-kernel, devicetree

On 27/08/2014 11:52, Bo Shen :
> Add the port number and vbus property for ohci port, or else if
> bootloader won't configure the vbus pin, the 5v supply is not
> power on, so can not work with usb devices.
> 
> Signed-off-by: Bo Shen <voice.shen@atmel.com>

Ok, thanks:

Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>

> ---
> 
>  arch/arm/boot/dts/at91sam9n12ek.dts | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/at91sam9n12ek.dts b/arch/arm/boot/dts/at91sam9n12ek.dts
> index 83d7237..13bb24e 100644
> --- a/arch/arm/boot/dts/at91sam9n12ek.dts
> +++ b/arch/arm/boot/dts/at91sam9n12ek.dts
> @@ -136,6 +136,8 @@
>  		};
>  
>  		usb0: ohci@00500000 {
> +			num-ports = <1>;
> +			atmel,vbus-gpio = <&pioB 7 GPIO_ACTIVE_LOW>;
>  			status = "okay";
>  		};
>  	};
> 


-- 
Nicolas Ferre

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

end of thread, other threads:[~2014-09-01  9:42 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-27  9:52 [PATCH] dtb: at91: sam9n12ek: ohci: add port and vbus property Bo Shen
2014-08-27  9:52 ` Bo Shen
2014-08-27  9:52 ` Bo Shen
2014-09-01  9:42 ` Nicolas Ferre
2014-09-01  9:42   ` Nicolas Ferre
2014-09-01  9:42   ` Nicolas Ferre

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.